[英]Install app on iOS device (iPhone / iPad) or create .ipa from Xcode without code signing and developer account
I am new to iOS development and self learning. 我是iOS开发和自我学习的新手。 I have created couple of apps and already tested in iOS simulator. 我已经创建了几个应用程序,并且已经在iOS模拟器中进行了测试。 These apps runs perfectly fine without any issues and warnings pre or post build. 这些应用程序运行良好,没有任何问题,也没有在构建前或发布后发出警告。
I wanted to run apps on my iPhone for realtime testing. 我想在iPhone上运行应用程序以进行实时测试。 But cannot extract .ipa package from Xcode as i did not subscribe to developer's account yet (will do later). 但是无法从Xcode提取.ipa软件包,因为我尚未订阅开发者的帐户(稍后会做)。 Tried few tweaks and followed below steps :- 尝试了一些调整,然后执行以下步骤:-
Further steps asked for developers account again. 进一步的步骤要求开发商再次入帐。 So tried to fetch .app /.ipa from xcarchive in two ways : 因此,尝试通过两种方式从xcarchive获取.app /.ipa :
a). 一种)。 Run command line: 运行命令行:
xcodebuild -exportArchive -exportFormat ipa -archivePath /Users/../Library/Developer/Xcode/Archives/..\\app.xcarchive/ -exportPath /Users/../Desktop/app.ipa
b). B)。 Copied .app file underneath the above xcarchive package. 上面的xcarchive软件包下面的已复制.app文件。 Dargged and dropped to iTunes "MyApps" 拖到iTunes“ MyApps”
Within iTunes, i noticed that app size grew from 2.2 MB to 8.4 MB. 在iTunes中,我注意到应用程序的大小从2.2 MB增加到8.4 MB。
Connected iPhone using USB and performed install then clicked sync/apply. 使用USB连接iPhone并执行安装,然后单击同步/应用。 App gets installed on device but iTunes shows "installing" 应用已安装在设备上,但iTunes显示“正在安装”
Disconnected USB, installed App has no icon image. 断开USB连接,已安装的应用程序没有图标图像。 When touched to open the app, it starts installing and never opens up. 触摸打开应用程序时,它将开始安装并且永远不会打开。
Please help suggest pointers so that i can test my app without developer's account . 请帮助提出建议,以便我可以在没有开发人员帐户的情况下测试我的应用程序 。
Please try to download the beta version of XCode 7, so you can do this in an "official" way. 请尝试下载XCode 7的Beta版,以便您可以“官方”方式进行。 Or you can wait until XCode 7 is released to the public. 或者,您可以等待XCode 7公开发布。
When I was starting at development and I didnt have an Apple Developer Membership I used JailCoder . 当我刚开始开发时,我没有Apple Developer Membership,所以我使用了JailCoder 。 With this tool you can fake sign your apps and install it into your device wothout a membership, and most important, DEBUG your apps. 使用此工具,您可以在没有成员资格的情况下对应用进行假签名并将其安装到设备中,最重要的是,对应用进行调试。 You need a jailbroken device 您需要一个越狱的设备
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.