简体   繁体   English

Xcode 6 Save for Enterprise Deployment不再为ipa创建plist了吗?

[英]Xcode 6 Save for Enterprise Deployment does not create plist for ipa anymore?

Xcode 5 helped in creating plist descriptor for enterprise ipa. Xcode 5帮助创建了企业ipa的plist描述符。 Xcode 6 (6A313) creates ipa only. Xcode 6(6A313)仅创建ipa。 Is this a bug or intentional change? 这是一个错误还是故意改变? If so - what would be the reason for taking a step back? 如果是这样的话 - 退后一步的原因是什么?

If I did not have previously generated plist using Xcode 5, I would need to crete it manually myself. 如果我之前没有使用Xcode 5生成plist,我需要自己手动创建它。 Do you know of any automatic tool which would help in the process? 你知道任何有助于这个过程的自动工具吗?

I'm having the same problem. 我遇到了同样的问题。 Needed to put a build out last night. 需要在昨晚进行建设。 I ended up just reusing an old plist and updating it. 我最终只是重复使用旧的plist并更新它。 Here's a template: 这是一个模板:

<?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>

找不到其他解决方案,而不是重用旧的.plist -file ---完美地工作。

I fixed this issue in following manner(As @pir800 mentioned)- 我按照以下方式解决了这个问题(如@pir800所述) -

1) Take plist file of an old project and rename it name should be same as ipa file. 1)获取旧项目的plist文件并重命名它应该与ipa文件相同。

2) Changed values of following keys in plist file - a) url. 2)更改了plist文件中以下键的值 - a)url。 b) bundle-identifier. b)捆绑标识符。 c) title. c)标题。

And then put ipa and plist on server. 然后将ipa和plist放在服务器上。 Remaining things are same like Xcode5. 剩下的东西和Xcode5一样。

But it is very bad, apple should inform to developer and mention such type changes in document. 但是非常糟糕,苹果应该告知开发人员并在文档中提及此类更改。

I do not my way is correct or wrong but my Enterprise In-house Distribution build properly downloaded and working. 我的方式不正确或错误,但我的企业内部分发构建正确下载和工作。 ....:) .... :)

I replied same on apple developer also. 我也对苹果开发者也回复了同样的问题。 You can check this thread https://devforums.apple.com/message/1076995#1076995 also If any one find better solution then please reply. 您可以查看此主题https://devforums.apple.com/message/1076995#1076995如果有任何人找到更好的解决方案,请回复。

Thank you... 谢谢...

To extend the accepted answer, you need to be a team member of the 299$ enterprise account. 要扩展已接受的答案,您需要成为299 $企业帐户的团队成员。 Go to Project Navigator (ProjectName) -> Targets -> General tab and select the account that is assoicated with 299$ enterprise developer account. 转到项目导航器(ProjectName) - >目标 - >常规选项卡,然后选择与299 $企业开发人员帐户关联的帐户。 If you cannot find the account you are looking for, go to XCode -> Preferences -> accounts and check if you are the admin / agent / team member of the said account and then proceed to make the ipa and plist file. 如果找不到您要查找的帐户,请转到XCode - >首选项 - >帐户,然后检查您是否是该帐户的管理员/代理/团队成员,然后继续制作ipa和plist文件。

I'm not sure about enterprise deployment, but in XCode 7.0, you can create a manifest.plist while exporting an archive for Ad Hoc deployment... 我不确定企业部署,但在XCode 7.0中,您可以在导出Ad Hoc部署的存档时创建manifest.plist ...

  1. Select Product > Archive 选择产品>存档
  2. When the build finishes, select the archive you wish to export and choose "Export..." 构建完成后,选择要导出的存档,然后选择“导出...”
  3. Choose "Save for Ad Hoc Deployment" 选择“保存以进行特别部署”
  4. Select your dev team 选择你的开发团队
  5. Choose the desired option for "Device Support" 为“设备支持”选择所需的选项
  6. On the "Summary" page, check the box beside "Include manifest for over-the-air installation." 在“摘要”页面上,选中“包含无线安装的清单”旁边的框。 This will add a manifest.plist to the folder where the .ipa file was saved. 这会将manifest.plist添加到保存.ipa文件的文件夹中。 - Click "Next" - 点击下一步”
  7. Insert the correct paths to the .ipa, display image, and full size image and click "Export" 将正确的路径插入.ipa,显示图像和完整大小的图像,然后单击“导出”

Hope this helps. 希望这可以帮助。

I'm experiencing exactly the same thing, having to re-use a plist file generated from Xcode5. 我正在经历完全相同的事情,不得不重新使用从Xcode5生成的plist文件。 Just one other thing to add: The validate button, that we're presented with after archiving, does not validate my App correctly. 还有一件事要补充:归档后我们提供的验证按钮不能正确验证我的应用程序。 It gets past "Preparing Archive" but then throws up an error, "No matching provisioning profiles found for Applications/plumbsApp.app" - None of the valid provisioning profiles allowed the specified entitlements: application identifier, beta-reports-active, keychain-access-groups. 它超过了“准备存档”,但随后引发了一个错误,“没有为Applications / plumbsApp.app找到匹配的配置文件” - 没有任何有效的配置文件允许指定的权利:应用程序标识符,beta-reports-active,keychain-访问组。

Now, dismissing this and continuing with the "Export", creates my .ipa file and my users are able to install correctly, with the correct url, of course. 现在,解雇这个并继续“导出”,创建我的.ipa文件,我的用户能够正确安装,当然还有正确的URL。 So, not totally sure why this is happening. 所以,不完全确定为什么会这样。 I had the beta release of Xcode running but used the final release of Xcode6. 我已经运行了Xcode的beta版本,但使用了Xcode6的最终版本。 Perhaps the beta, comment, in red-herring. 也许是红鲱鱼的测试版评论。 Has anyone else experienced this, where the validation of the archive fails in this way but the App installs ok? 有没有其他人经历过这种情况,存档的验证以这种方式失败,但应用程序安装好吗?

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

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