Question

I developed an iOS app using Titanium on a macbook. I need to create the IPA file for allowing other testers to try my app on their devices (via TestFlight). I have no iPhone nor iPad, but accordingly to plenty of articles on the web this is not a problem at all.

BUT, I need a Provisioning Profile and I cannot create one without a device.

So, how can I compile?

Was it helpful?

Solution

In order to compile it to be installable on their devices via TestFlight, you must add their devices to your account and then add those to the provisioning profile. Then you can build the app and upload it to TestFlight.

The way TestFlight works is that when you add testers to your team, it will send you their device UDIDs. Then you will go to the iOS developer portal and add them to your devices list, then you'll (re)create the provisioning profile with those devices added.

EDIT:

I don't know why I was downvoted for a right answer, but in case clear steps are necessary, here it is:

  1. Create TestFlight account
  2. Do "Add Application" so that you have your app entry in the TestFlight system
  3. Invite your testers to your team
  4. Wait for your testers to accept, and add their devices to their TestFlight account
  5. Take the UDIDs for their devices that TestFlight sends you, and go enter those devices into your iOS developer account
  6. Create your provisioning profile using those devices that you just entered
  7. Create your IPA using that provisioning profile
  8. Upload your IPA to TestFlight
  9. Give your testers permission to download the build from the Permissions tab in TestFlight

I think you were making the incorrect assumption that you needed the IPA first, which is not true. TestFlight is first the mechanism to get the UDIDs of your testers devices, before you create the IPA. After that, TestFlight is your mechanism to distribute the app to your testers. I and many other people have done exactly the above steps many times, and you can be assured that you don't have to have the IPA first, you only create it after you have the device UDIDs of your testers.

OTHER TIPS

try this code

ti build -p ios -T dist-adhoc

or

ti build -p ios --deploy-type production --ios-version 9.0 --keychain --target dist-adhoc --output-dir 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top