Just a Computer Graphics Studio & My Life

[iOS] Code Signing 問題

我以為是因為安裝最新的Xcode 7,才會讓Provision遺失,後來經資深工程師提點,才知道原來是Provision過期,所以要重新過期,所以要重新喚醒下載使用。再來又發現Certificate也要一起更新下載使用⋯⋯

Provision deadline

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

  1. Revoke Previous Certificate.
  2. Generate New Development Certificate.
  3. Download Certificate.
  4. Double Click to put in KeyChain.

For Provisioning profile

  1. Create New or Edit existing Provisioning profile.
  2. Download and install.

For BundleIdentifier

  • com.yourcompanyName.Something (Put same as in AppId)

For CodeSigningIdentity

  • Select The Provisioning profile which you created.

這種憑證過期(一年)的經驗多會發生在需要一直維護的案子上,不過倒是沒想到開發半年的案子也能遇到,這就神奇了~

參考:iOS 7.0 No code signing identities found

Advertisements

發表留言

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s

標籤雲

%d 位部落客按了讚: