證書相關

  1. no identity found Command /usr/bin/codesign failed
    解決方法: stackoverflow 的解決方法是 xcode->preference->account->view detail -> refresh the provisioning profile

但是我這邊最後一步是 沒有刷新按鈕 是一個 download all 的按鈕 想到provisioning profile 和證書都是別人導給我的 所以沒有采用這種方法

直接 進入 ~/Library/MobileDevice/Provisioning Profiles 文件夾 刪除出問題的provisioning profile 然後重新導入就ok 了。

  1. ERROR ITMS-90475: “Invalid Bundle. iPad Multitasking support requires launch story board in bundle ‘xxxx’.”
    ERROR ITMS-90474: “Invalid Bundle. iPad Multitasking support requires these orientations: ‘UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight’. Found ‘UIInterfaceOrientationPortrait’ in bundle ‘xxxx’.”

這是因爲ios9 iPad 的分屏適配所致。解決方法有兩個。1.最偷懶的方法:移除app對iPad Multitasking的支持,具體做法如下:
General->Deployment Info -> Requires full screen, 勾上即可

  1. 如何解決 錯誤code signing is required for product type ‘xxxxx’ in SDK ‘iOS 8.2’
    當這種情況出現了:
    1.看看自己工程裏面的xxx-Info.plist文件裏面的Bundle identifier是否正確
    2.再看看自己工程中xxxTests裏面的xxx-Info.plist裏面的Bundle identifier是否保持一致
    3.再去targets裏面的xxxTests裏面的code signing看看是不是跟遠文件裏面的code signing保持一致。
    4.看看targets裏面的General 選項 的Identity裏面的team,這個裏面是否包含了你的描述文件,以及你的設備的UDID是否已經添加到個人賬號的設備裏。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章