Right way to create a TestFlight IPA

You must Login before you can answer or comment on any questions.

The instructions for creating an IPA in the Titanium documentation appear to be rather dated. I would be grateful to anyone who could tell me if the following steps are right

a. Login to the provisioning portal download and install the WWDRC - double click b. In the keychain create a CSR c. Use the CSR in the provisioning portal to request and download the development and distribution certs d. Install those certs in the keychain - double click e. Create an AppID - com.example.myapp f. Create a CSR in the keychain for that app id - name set to com.example.myapp g. Use that CSR to configure the app for Push notifications. Download and install the push certs into the keychain by double clicking on them h. Declare the UUIDs for the devices on which you want to test the app in the provisioning profile i. Create a development provisioning profile using the above AppID, choose the device UUIDs and download that profile. j. Double click on that profile and see it installed into XCode k. In the App Explorer in Ti click on the App and select Install to Device l. Choose the development cert and provisioning profile created above m. Wait for the IPA to be built - in the build/iphone/build/debugios folder n. Drag that IPA into the TestFlightApp upload page

Done this over and over again and it works. However, I cannot get the same process to work with an adhoc distribution profile - TestFlightApp complains of Invalid Profile: developer build entitlements must have get-task-allow set to true.

Also I find that registerForPushNotifications goes into the void and does nothing - no success, no error... - when I use the development app from TestFlight on my iPad. The adhoc distro app I cannot test at all.

For good measure I tried a sample XCode project using the tutorial here - http://maniacdev.com/2011/05/tutorial-ios-push-notification-services-for-beginners/ and found that with the distribution profile I can register for Push but not with the development profile.

I am doing something subtly wrong somewhere but I haven't got a clue what it could be. Any help would be much appreciated.

— asked 1 year ago by Et Kit
0 Comments

2 Answers

You cant use a development profile - you must use an Adhoc distribution profile. http://help.testflightapp.com/customer/portal/articles/535398-invalid-profile-distribution-build-entitlements-must-have-get-task-allow-set-to-false-

You must also make sure you allow push notifications against your Appid. You must also make sure that if you created your adhoc provisioning profile before you added the push notification entitlement, that you change a value in it - resave it and then redownload it. THAT LAST STEP IS VITAL!

You can use your development profile.

I have done it to the maximum of 100 devices.

Just create your development provision profile.

Build to the handset using Ti studio. and upload to testflight.

Things you need to make sure you do.

The app ID in the provision profile must match the app bundle ID exactly (case sensitive)

make sure after your download the provision profile, you double click it and verify its loaded up into xcode properly. After that you should be good to go.

Your Answer

Think you can help? Login to answer this question!