简体   繁体   中英

iOS Provisioning profile: Valid signing identity not found

I am trying to test the push notification functionality on a device. I followed this article. http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1

So the issue is when I download the development provisioning profile and import it into xcode then it says the valid code signing identity is not found.

组织者说:找不到代码签名身份 This stops me from building the app as General projects settings says no matching provisioning profiles found.

常规项目设置显示找不到匹配的配置文件

No matter how many times I push fix button this wont go.

The app ID and provisioning profiles looks good on iOS Dev center.

应用程序ID设置开发配置文件配置文件设置

I have tried deleting them and recreating them again and again but issue remains the same.

Also my build settings are: 应用程式建立设定

There is only one option for code signing identity and that is "iPhone Developer" as no other matching code signing identity is found. I have tried deleting the app and recreating it in xcode also. I have double checked the bundle ID. And I have google a lot. Everyone says revoking the certificate and recreating fixed the issue but not in my case.

Also the keychain seems to have the correct public and private key. 钥匙串访问

I am stuck on it for last 2 days :(

Make sure to delete the old .cer file from you Keychain and download the latest one.

If the CertificateSigningRequest.certSigningRequest is created from another machine, get the corresponding .p12 file and add it to your Keychain.

Thats it. Now double click on your provisioning profile and it should be valid.

Worst solution:

If you are unable to get the .p12 file, Revoke your existing certificate and configure all again.

Fixed it by deleting all development certificates in iOS dev centre (even my iOS development certificate) and recreating new ones from beginning. I had 2 iOS development certificates and I think Xcode was confused about which to use. This happened because I have revoked my development certificate from another machine and thus creating a new one. Somehow it ended up in two developer certificates managed by xcode. Since then i have'n tested any app on device and so though that was the problem.

安装有效的p12文件(即)双击有效的p12文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM