To solve (on Mac OS X):
- Rename myapp.ipa to myapp.zip
- Unpack
- Go to the created Payload folder
- Right-click myapp.app and click Show Package Contents
- Open the info.plist file in a text editor
Change the MinimumOSVersion value string to (at least this is what I have nested and it works)
<key>MinimumOSVersion</key> <string>6.0</string>
Save the file and exit it
- Right-click the Payload folder and click Compress Payload
- Rename Payload.zip to myapp.ipa (where myapp is the original name of your ipa)
Now you have solved this problem, however at boot you may receive a message stating that the code signing is not confused. I could download OK, but then when I went to the Prelaunch itunesconnect section, he said "Invalid Binary" after 15 minutes.
In this case, also follow these steps:
Create a file called Entitlements.plist in the same folder as your ipa, with the following contents:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>application-identifier</key> <string>XXXXXXXX.com.my.app</string> <key>keychain-access-groups</key> <array> <string>XXXXXXXX.com.my.app</string> </array> </dict> </plist>
Where XXXXXXXX is your command code (?) In your KeyChain Access distribution certificate, and com.my.app is your App ID application.
Then run the following code in the terminal /usr/bin/codesign -f -s "iPhone Distribution: MyName Surname (XXXXXXXX)" "--resource-rules=./Payload/MyApp.app/ResourceRules.plist" --entitlements "Entitlements.plist" "./Payload/MyApp.app"
These steps, of course, must be completed before the last two steps above :)
DOWNLOAD and it should work!
Thyselius
source share