[英]App for Mac App Store doesn't run when signed
我是Mac App Store開發的新手,我正在嘗試在開發環境中測試我的第一個簽名應用程序(就在進入收據驗證的混亂之前!)。
我經歷了以下步驟:
1)我創建了3個證書
2)我創建了一個App ID
3)我注冊了我的系統
4)我創建了開發配置文件
5)我在iMac上安裝了配置文件
6)我將配置文件加載到Xcode中
7)我將項目的代碼簽名標識設置為:Mac Developer(對應於在1.c點創建的開發證書)
8)我將目標的代碼符號標識設置為:Mac Developer(對應於在1.c點創建的開發證書)
9)我為跑步而建造
10)我將應用程序放在finder中並單擊它
11)圖標反彈一些然后應用程序退出
12)控制台顯示以下消息
Sep 17 10:07:41 Fabrizio-Bocos-iMac taskgated-helper[3186]: Starting taskgated-helper
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-metadata /private/var/db/DetachedSignatures
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /private/var/db/DetachedSignatures
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /Library/Keychains/System.keychain
Sep 17 10:07:42: --- last message repeated 1 time ---
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny mach-lookup com.apple.ocspd
Sep 17 10:07:42: --- last message repeated 3 times ---
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /Library/Keychains/System.keychain
Sep 17 10:07:42: --- last message repeated 3 times ---
Sep 17 10:07:42 Fabrizio-Bocos-iMac com.apple.launchd.peruser.501[218] ([0x0-0xe80e8].fabrizio.boco.circuitlab[3183]): Exited: Killed: 9
Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /Library/Keychains/System.keychain
我沒有明確的答案谷歌搜索消息。
我在不同的系統(使用Lion 10.7.1和Xcode 4.1)上嘗試了相同的程序,結果相同
我刪除並重新創建了證書和開發配置文件,結果相同。
有人可以提供任何幫助嗎?
非常感謝你提前。
更新到10.7.2為我解決了這個問題。
我有同樣的問題,但我也有OSX 10.7.2和XCode 4.2。 當我使用我創建的開發者配置文件對應用程序進行簽名時,應用程序將無法啟動,盡管XCode表示它正在運行應用程序。 除了更新你的操作系統之外你有沒有做過其他事情?
謝謝
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.