【发布时间】:2023-03-12 07:08:01
【问题描述】:
我的生产证书昨天过期了,所以我使用新的配置文件生成了新证书。之后我遇到了奇怪的错误,我可以构建我的项目,但无法在 xcode (5.1.1) 或 Finder 中运行它:
我也在 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 设置。我该如何解决这个问题?
【问题讨论】:
标签: objective-c xcode macos cocoa mac-app-store