![](/img/trans.png)
[英]instruments automation command not working , when executed twice in terminal. i am using xcode 6.1.1
[英]How to set Bundle Identifier correctly in Xcode 6.1.1 when I am using external charts in C-Objective?
我有一個在 Xcode 6.1.1 中制作的 iPad 應用程序,其中我在 C-Objective 中使用外部圖表。 在我設置 Bundle Identifier 之前,一切都運行良好。
如果我想在模擬器中測試它(沒有錯誤),我需要為我的所有部件設置捆綁標識符,例如:
Main part...com.Project
Other part...com.Project.SomePart
Chart....com.Project.Chart
等等。
但是在這種情況下,如果我想使用此設置將其存檔(用於 iTunes 注冊目的),則會出現錯誤:
*"The provisioning profile specified in your build settings (“PROFILE”) has an AppID of “com.Project” which does not match your bundle identifier “com.Project.Chart”. Xcode can resolve this issue by downloading a new provisioning profile from the Member Center."*
這個錯誤消失了,當我像這樣設置我的 Bundle 標識符時,我可以自由地存檔:
Main part...com.Project
Other part...com.Project.SomePart
**Chart....com.Project**
等等。
但在這種情況下,由於錯誤錯誤,我無法在模擬器中對其進行測試:
*An error was encountered while running (Domain = LaunchServicesError, Code = 0)*
我發現這是因為前綴。
如果我想在 iTunes 上讓我的應用程序在線,我應該如何繼續? 關鍵是我不能在存檔(以及驗證和提交)采用的配置中測試它嗎?
Bundle ID的正確設置是通常的Bundle ID前綴和后綴帶點的設置
BundleID.后綴
問題是,在我的開發者帳戶中,我錯誤地創建了 Explicit App ID,並且由於我使用的框架,它被認為是 Wildcard App ID。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.