我以為是因為安裝最新的Xcode 7,才會讓Provision遺失,後來經資深工程師提點,才知道原來是Provision過期,所以要重新過期,所以要重新喚醒下載使用。再來又發現Certificate也要一起更新下載使用⋯⋯
No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“iOS Team Provisioning Profile: *”) were found.
Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles.
我們來看一下有經驗的高手如何解決這一串問題吧~
For Certificate
- Revoke Previous Certificate.
- Generate New Development Certificate.
- Download Certificate.
- Double Click to put in KeyChain.
For Provisioning profile
- Create New or Edit existing Provisioning profile.
- Download and install.
For BundleIdentifier
- com.yourcompanyName.Something (Put same as in AppId)
For CodeSigningIdentity
- Select The Provisioning profile which you created.
這種憑證過期(一年)的經驗多會發生在需要一直維護的案子上,不過倒是沒想到開發半年的案子也能遇到,這就神奇了~
隨意留個言吧:)~