I am currently having problems creating an IPA file using the xcode command-line tool (xcodebuild and xcrun). First I run the following:
xcodebuild schema diagram -sdk iphoneOS6.0 -arch armv7 -configuration config clean build #
where the circuit and configuration are the corresponding circuit and configuration
Then i ran
xcrun -sdk iphoneos PackageApplication -v appPath -o ipaPath -sign codesignature
where appPath and ipaPath are the paths to the application and ipa and the code signature with which I sign ipa. I also tried to implement a training profile
The process creates an ipa file, however, when I try to drag it into itunes, it tells me that it is not a valid IPA. I also tried this process through a special distribution process through Archive in xcode and managed to create a valid IPA, however, since I am trying to automate the process, this is not quite what I want.
Any thoughts why the IPA will be invalid?
thanks
source share