Using Spil certificates
In the zip file you received from Spil you will find a folder called “ios_certificates”. Whin this folder you will find the following similar named files:
Installing the distribution certificate.
Double click the ios_distribution.cer
After entering your own Mac password. you will see the certificate added in the application Keychain access:
Also double click the .p12 file and type in your password followed by Spil’s password. You can find the password in the text file we send you.
Once it’s added correctly you should see the private key below the certificate:
Now also double click the files:
SampleApp_adHoc.mobileprovision
SampleApp_Distribution.mobileprovision
General settings:
Open xcode again select the project and go to the “general tab“
Check the bundle identifier: com.spilgames.sample (copy this from the text file your received to prevent mistakes. the bundle is also case sensitive).
Check the version
The build can be 1 and only need to be increased in case you need to deliver the same version but need to deliver a new build.
Set the deployment version to at least 2 major versions smaller. So when iOS 9.0 released, the deployment target needs to be 7.0.
Note: Don’t mind the “no matching provisioning profiles found”, we will fix it later.
Make sure to enable the iCloud key value:
Select the “build settings” tab:
Building for AdHoc
Building for Distribution
You will see that the previous team issue is also sorted:
Export to an .ipa file
Change the target from the simulator to the device:
Select “Archive” from the top “product” menu.
Select the archived build click on the export button on the right side.
Choose either Ad Hoc or iOS app store deployment.
Select the “Use local signing assets” from the drop down list.
Choose export one app for all compatible devices. And follow the last steps.
You should now have exported an .ipa file.
Please rename the filename to make it clear which game, version and type (adhoc of production) it is.