Build .ipa app on Xcode 4.5.2

How to create .ipa file in new Xcode and deploy it on my jailbroken iPhone 4S on iOS 5.1.1?

.app in Xcode is red, so I cannot show it in Finder.

I am not currently registered with the Apple Developer Program.

Thanks!

+4
source share
2 answers

You need to Archive the project, and then select "Export as Xcode Archive" (see Apple Guide ).

Then you need to find the archive in Finder, which you can do by right-clicking the archive in Xcode and selecting "Show in Finder".

To get it on your phone, you can use Installous .

0
source

You cannot use the built-in archive command without a profile / certificate unless you crack the SDK .

I have not tested above since iOS 6 and Xcode 4.2. I cannot imagine that much has changed between 4.2 and 4.5. After making these changes, you can create with a self-signed certificate or nothing at all.

I don’t remember if this allows you to directly use the IPA build in xcode, but if not, it’s trivial to make the build phase to run the shell script. here i did for gemrb :

#increment the version number for the build REV=`git log --pretty=format:'' | wc -l | sed 's/\ //g'` VERSION=`git describe --tags --dirty=-patched` DATE=`date -u +%Y-%m-%d\T%T\Z` /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $REV" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $VERSION" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" #updtate the iTumesMetaData cp ios/iTunesMetadata.plist.in ios/iTunesMetadata.plist /usr/libexec/PlistBuddy -c "Set :softwareVersionExternalIdentifier $REV" "ios/iTunesMetadata.plist" /usr/libexec/PlistBuddy -c "Set :releaseDate $DATE" "ios/iTunesMetadata.plist" #make iOS ipa #purge payload of everything if [ -d `ios/Payload`]; then rm -r ios/Payload; fi mkdir -p ios/Payload WORKING_DIR=`pwd` cp -r "$BUILT_PRODUCTS_DIR"-iphoneos/GemRB.app ios/Payload/GemRB.app cd ios zip -r GemRB-ios-$VERSION.ipa iTunesArtWork iTunesMetadata.plist Payload # copy the optional plugins cd .. cp "$BUILT_PRODUCTS_DIR"/OGGReader.so "$BUILT_PRODUCTS_DIR/$PLUGINS_FOLDER_PATH"/OGGReader.so cp "$BUILT_PRODUCTS_DIR"/PNGImporter.so "$BUILT_PRODUCTS_DIR/$PLUGINS_FOLDER_PATH"/PNGImporter.so 

obviously, it will change some of the path variables and cross out the material of the automatic version if you don't want to.

0
source

All Articles