如何从项目中提取IPA文件,以便在真实设备上运行它来检查功能。
我通过产品文件夹将其解压并压缩,但在iPhone中显示此文件无法运行的错误。
发布于 2017-04-26 14:27:52
要在真实设备上测试应用程序,您必须具有该应用程序的开发和临时配置配置文件。
要了解如何创建证书和配置配置文件,可以查看此链接:App id, certificates and provisioning profile
然后将配置配置文件设置为您的应用程序目标。如果到目前为止一切正常,那么通过在Xcode中选择Product -> archive来创建一个归档文件,并按照以下步骤操作。在此过程中打开管理器窗口时,轻触窗口右侧出现的Export (导出),以提取IPA文件。
发布于 2017-04-26 14:51:30
To test your app on real device you need a developer account,once you got a developer account just go to general on project target and enable automatic signing,it will create automatic provisional profile and certificate for you.i will let you know the steps below.
1)Get developer account with 99 dollars per annum.
2)Import your developer account by selecting Xcode->Preferences->Accounts and add your account by entering account name and password.
3)Now goto general and enable automatic signing,it will register your device and create provisional profile with certificate automatically.
4)Clean build and run your project with your device by connecting to Xcode.
Enjoy..... 发布于 2017-04-26 18:56:13
你需要反转工作。
1.您需要将.ipa扩展名更改为.zip
2.现在您可以观看.app文件,然后从窗口> Device将此文件拖到您的设备上
创建ipa的另一种方法
如果要处理此ipa文件,则需要创建ipa,如下所示:
https://stackoverflow.com/questions/43626323
复制相似问题