How to get ipa file from Xcode to run an iPhone app in real device?

前端 未结 5 956
小蘑菇
小蘑菇 2020-12-28 08:36

My client asked me to get the review of the app on which I am working. So, I want to get the ipa file and mobile provision file from Xcode 4.2 to share my app to run in real

5条回答
  •  渐次进展
    2020-12-28 09:34

    If you want to test application on device, then you need to create debug profile for it. You need to get it for your device from the provisioning section of developer portal. If you are creating the distribution profile, then you need to put the generated ipa file from build folder to itunes to install it on device.

    Then you can install the application on device. But in that case you will not be able to see the logs.

    So if you want to see the logs in Xcode console, Create a developer provisioning profile for the device & install it on XCode & then run the code on device using Xcode.

    Maybe I think this is the entitlements.plist problem please follow the steps

    In XCode, go to "new file" and select "code signing" in left box. Select the "Entitlements" file type. And change the name to "Entitlements.plist". Give the name in project getinfo entitlements plist please check the image below

    enter image description here

提交回复
热议问题