Parse SDK 在为 AppStore 构建时导致权利资源错误 [英] Parse SDK causes an entitlements resource error when building for AppStore

查看:18
本文介绍了Parse SDK 在为 AppStore 构建时导致权利资源错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看起来 XCode6 没有对 Parse SDK 中的资源进行签名(我使用的是最新版本 1.4.1).

It looks like XCode6 is not signing the resources within the Parse SDK (of which I'm using the latest version, 1.4.1).

实际的存档/构建工作正常.事实上,我也可以通过这个过程很好地分发 AdHoc beta 版本(我的测试人员可以从 HockeyApp 安装).在我尝试提交到 AppStore 之前,问题不会发生.我切换到分发配置文件 &证书、存档,然后当我按下组织者的提交按钮时,我得到了这个:

The actual Archive/Build works fine. In fact I'm also able to distribute AdHoc beta builds through this process just fine (and my testers are able to install from HockeyApp). The problems don't happen until I try to submit to the AppStore. I switch over to the Distribution profile & certificate, archive, and then when I press the Submit button from the Organizer I get this:

当我点击 Show Logs 时,我被带到查找路径 /private/var/folders/s_/9v750_vs1ql7ftn5zq8cn9y80000gn/T/.该文件夹包含 3 个文件,其中两个没有任何新内容,但其中一个 (IDEDistribution.standard.log) 包含一个指向 Parse 的有趣错误:

When I click on Show Logs, I'm taken to the finder path /private/var/folders/s_/9v750_vs1ql7ftn5zq8cn9y80000gn/T/. The folder contains 3 files, two of which have nothing new, but one of which (IDEDistribution.standard.log) contains an interesting error pointing at Parse:

2014-09-24 04:34:05 +0000 [MT] Beginning distribution assistant for archive: Aftermath-iOS[APPSTORE], task: Submit
2014-09-24 04:34:05 +0000 [MT] Automatically selecting the only availaable distribution method <IDEDistributionMethodiOSAppStoreDistribution: 0x7fb300688930>
2014-09-24 04:34:06 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fb2edd3f190:'/Users/zane/Library/Developer/Xcode/Archives/2014-09-23/Aftermath-iOS[APPSTORE] 9-23-14, 9.34 PM.xcarchive/Products/Applications/Aftermath.app/Parse.framework/Versions/A'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/zane/Library/Developer/Xcode/Archives/2014-09-23/Aftermath-iOS[APPSTORE] 9-23-14, 9.34 PM.xcarchive/Products/Applications/Aftermath.app/Parse.framework/Versions/A" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo=0x7fb2ede17c40 {NSLocalizedDescription=Item at "/Users/zane/Library/Developer/Xcode/Archives/2014-09-23/Aftermath-iOS[APPSTORE] 9-23-14, 9.34 PM.xcarchive/Products/Applications/Aftermath.app/Parse.framework/Versions/A" did not contain a "archived-expanded-entitlements.xcent" resource.}
2014-09-24 04:34:09 +0000 [MT] Canceled distribution assistant

注意构建目标中缺少关于 archived-expanded-entitlements.xcent 的行.

Note the line about archived-expanded-entitlements.xcent being missing from the build target.

推荐答案

这最终导致我犯了一个愚蠢的错误.我在复制资源阶段有Parse Framework,这是不正确的.

This ended up being a silly mistake on my part. I had the Parse Framework in the copy resources phase, which is not correct.

这篇关于Parse SDK 在为 AppStore 构建时导致权利资源错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆