如何在新的 XCode 6 中一起生成 plist 和 ipa 以进行无线分发
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/27059495/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How can I generate plist and ipa together for wireless distribution in new XCode 6
提问by Steve
I have done this numerous times in XCode 5 and generated ipa (along with plist) for Adhoc Distribution for my app. But in the new XCode 6, I am unable to see this option.
我已经在 XCode 5 中多次执行此操作,并为我的应用程序的 Adhoc Distribution 生成了 ipa(以及 plist)。但是在新的 XCode 6 中,我看不到这个选项。
In XCode 5, I saw this screen, which let me put my variables.
在 XCode 5 中,我看到了这个屏幕,它让我可以放置我的变量。
In XCode 6, I press "Export" and ask it do the AdHoc Distribution but it never asks me these things the way it asked in XCode 5. It just generates an ipa.
在 XCode 6 中,我按“导出”并要求它执行 AdHoc 分发,但它从来没有像在 XCode 5 中那样问我这些事情。它只是生成一个 ipa。
Is there anything wrong that I am doing?
我做错了什么吗?
thanks.
谢谢。
回答by l0gg3r
There is no way, Xcode 6 fixed old bugs, and also added new bugs.
You need to do that manually, create a plist file with this template:
没办法,Xcode 6 修复了旧的bug,也增加了新的bug。
您需要手动执行此操作,使用此模板创建一个 plist 文件:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>[INSERT URL HERE]</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>[INSERT BUNDLE ID HERE]</string>
<key>bundle-version</key>
<string>[INSERT VERSION HERE]</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>[INSERT APP TITLE HERE]</string>
</dict>
</dict>
</array>
</dict>
</plist>