【iOS】真機測試及佈署Code Sign error問題總結
阿新 • • 發佈:2019-01-22
除此之外可能的情況:
Code Sign error: Certificate identity 'iPhone Developer: idf (XR9HN3TD7E)' appears more than once in the keychain. The codesign tool requires there only be one.
原因是證書,下載安裝重複了,找到安裝證書的位置,刪除一個就ok了。
Code Sign Error: Provisioning Profile can't be found.
右鍵*.xcodeproj檔案,顯示包內容,texteditor開啟project.pbxproj檔案,搜尋類似
PROVISIONING_PROFILE = "487F3EAC-05FB-4A2A-9EA0-31F1F35760EB";
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "487F3EAC-05FB-4A2A-9EA0-31F1F35760EB";
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 5.1'
No unexpired provisioning profiles found that contain any of the keychain's signing certificates
Organizer->Devices->Provisioning Profiles 中的App Identifier的com及之後部分是否與TARGETS->Summary->iOS Application Target->Bundle Identifier 相符,特別是後面的專案名稱