简体   繁体   English

在XCode 6中导出企业部署的存档

[英]Exporting an archive for Enterprise Deployment in XCode 6

I can archive my project in XCode 6 and choose the Enterprise Deployment Option. 我可以在XCode 6中归档我的项目并选择企业部署选项。 In XCode 5 when you go to choose the location of the archive on the file system you get a check box that says "Save for Enterprise" and you get several other options to complete like url. 在XCode 5中,当您在文件系统上选择存档的位置时,会出现一个“Save for Enterprise”复选框,您还可以获得其他几个选项来完成,例如url。 This generates the plist file. 这会生成plist文件。 I dont get that in Xcode 6, just the ipa. 我不知道在Xcode 6中,只有ipa。 Is this because XCode 6 is Beta? 这是因为XCode 6是Beta吗? Or do you no longer get a plist as well as the ipa? 或者你不再像ipa一样得到一个plist?

I couldn't get a plist either so I used a trick. 我不能得到一个plist所以我用了一个技巧。

To distribute my app Over The Air anyway, I used a plist formerly generated with XCode 5 and changed manually the link to my newly generated IPA. 无论如何要分发我的应用程序Over the Air,我使用了以前用XCode 5生成的plist,并手动更改了我新生成的IPA的链接。

Once you managed to do that, there is one last thing to know. 一旦你设法做到这一点,最后要知道的事情。 When you'll open the link to the plist, you'll have the impression that nothing happens because iOS don't close you current window + slide to the downloaded app anymore. 当你打开plist的链接时,你会觉得没有任何反应,因为iOS不会关闭你当前的窗口+滑动到下载的应用程序了。 But it doesn't necessarily mean that nothing happen! 但这并不一定意味着没有任何事情发生! Go to your home screen manually and check. 手动转到主屏幕并检查。

UPDATE UPDATE

If that still doesn't work, try this workaround: change your bundle ID, generate your new App ID and provisioning profile accordingly, regenerate your IPA and redo the above. 如果仍然无效,请尝试以下解决方法:更改您的软件包ID,相应地生成新的App ID和配置文件,重新生成您的IPA并重做上述内容。 For some, it works only the first time for a given bundle ID! 对于某些人来说,它仅适用于给定捆绑ID的第一次!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM