奇怪的xcode问题

时间:2014-06-21 04:43:34

标签: objective-c xcode macos cocoa mac-app-store

我的生产证书已于昨天到期,因此我使用新的配置文件生成了新的证书。之后我遇到了奇怪的错误,我可以构建我的项目但不能在xcode(5.1.1)和Finder中运行它:

enter image description here

我也在system.log中发现了这些错误:

21/06/14 11:33:23,825 taskgated-helper[8005]: Starting taskgated-helper
21/06/14 11:33:23,901 taskgated-helper[8005]: embedded provisioning profile not valid: file:///Users/Andron/Library/Developer/Xcode/DerivedData/XXXXXXXXXXX-bglqrxjbzqchjedxfyajqmqqeqeu/Build/Products/Release/XXXXXXXXXXX.app/Contents/embedded.provisionprofile
21/06/14 11:33:23,901 taskgated-helper[8005]: returning 3 provisioning profiles
21/06/14 11:33:23,901 taskgated-helper[8005]: unsatisfied entitlement com.apple.developer.team-identifier
21/06/14 11:33:23,901 taskgated-helper[8005]: none of the 3 applicable provisioning profile(s) apply
21/06/14 11:33:23,901 taskgated-helper[8005]: killed com.XXXXXXXXXXX.XXXXXXXXXXX[pid 8004] because its use of the com.apple.developer.team-identifier entitlement is not allowed
21/06/14 11:33:23,901 taskgated-helper[8005]: CPValidateProvisioningDictionaries returning NO with error: (null)
21/06/14 11:33:23,902 taskgated[13]: killed com.XXXXXXXXXXX.XXXXXXXXXXX[pid 8004] because its use of the com.apple.developer.team-identifier entitlement is not allowed (error code -67050)
21/06/14 11:33:23,930 ReportCrash[8007]: Attempting to read data: Called memoryAtAddress: 0x7fff5fc27816, which is in an unmappable portion of [0x0 -> 0xffffffffffffffff] in PID# 8004.
21/06/14 11:33:23,969 ReportCrash[8007]: Trying to extract VM information using cr2
21/06/14 11:33:23,971 com.apple.launchd.peruser.501[177]: (com.XXXXXXXXXXX.XXXXXXXXXXX.104224[8004]) Exited: Killed: 9
21/06/14 11:33:24,138 ReportCrash[8007]: Saved crash report for XXXXXXXXXXX[8004] version ??? to /Users/Andron/Library/Logs/DiagnosticReports/XXXXXXXXXXX_2014-06-21-113324_Androns-MacBook-Pro.crash

我尝试重启我的mac,清理并构建项目,重新生成配置文件,重置xcode设置。我该如何解决这个问题?

1 个答案:

答案 0 :(得分:4)

Apple的答案:Mac应用程序的分发版本不能再直接运行了。 相反,开发人员应采用QA1778: How to reproduce bugs reported against Mac App Store submissions中的存档构建工作流来测试他们计划为Mac App Store提交的构建。