简体   繁体   English

在iOS设备(iPhone / iPad)上安装应用或从Xcode创建.ipa,而无需代码签名和开发者帐户

[英]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 :- 尝试了一些调整,然后执行以下步骤:-

  1. Updated SDKsettings.plist and set CODE_SIGNING_REQUIRED, ENTITLEMENTS_REQUIRED to value NO .( read at tech blog ) 更新了SDKsettings.plist并将CODE_SIGNING_REQUIRED,ENTITLEMENTS_REQUIRED设置为值NO (请参阅技术博客
  2. Created archive and export method as : "Save for Ad Hoc Deployment" 创建的存档和导出方法为: “保存以用于临时部署”
  3. 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”

  4. Within iTunes, i noticed that app size grew from 2.2 MB to 8.4 MB. 在iTunes中,我注意到应用程序的大小从2.2 MB增加到8.4 MB。

  5. Connected iPhone using USB and performed install then clicked sync/apply. 使用USB连接iPhone并执行安装,然后单击同步/应用。 App gets installed on device but iTunes shows "installing" 应用已安装在设备上,但iTunes显示“正在安装”

  6. 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.

相关问题 如何在更新的操作系统和 Xcode 的 react-native 中创建 IPA 而无需在 IOS 中拥有开发人员帐户? - How to create an IPA without having Developer Account in IOS in react-native in Updated OS and Xcode? 如何在Xcode6中创建没有开发人员帐户凭据的IPA - How to create IPA without Developer Account credentials in Xcode6 如何在没有Apple Developer帐户的情况下在xcode 6中创建ipa? - How to create ipa in xcode 6 without Apple Developer account? 如何在没有开发人员帐户且没有物理连接的情况下在物理设备上安装ios应用程序? - How to install ios app in physical device without developer account and without physical connection? 在没有开发人员帐户的情况下在Visual Studio中创建IPA - Create IPA in Visual Studio without Developer Account 如何从开发者帐户的 App Store 中删除 iPad 设备? - How to remove iPad device from App Store in developer account? Xcode / iOS:如何启用没有开发者帐户的应用程序组? - Xcode/iOS: How to enable App Groups without Developer Account? 如何在没有Apple开发人员帐户的情况下从Xcode项目中导出临时.ipa - How to export ad-hoc .ipa from xcode project without apple developer account 在iPhone上安装适用于iPad的.IPA - Install .IPA built for iPad on iPhone 是否可以从 xcode 将 iphone 应用程序运行到 ipad 物理设备中? - Is this possible to run iphone app into ipad physical device from xcode?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM