I made simple application for iphone and i am able to run it on simulator but i am not able to install it on my iPhone device for testing purpose. When I tried to run it on iphone device it giving me the error as :
Code Sign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains
Can any buddy help me what are the steps I need to follow to install it in my iPhone ?
Thanks In Advance...
检查您是否在Xcode-code签名身份中选择了正确的临时配置文件。
Adding my comment as an answer.
You need to have a valid provisional profile for testing in your device. Either you or your company needs to have it. For more details check this and this . You are getting this error message because you dont have a provisional profile associated with your device and project.
1)
In Xcode at the top left corner: Corner > iPhone 6.0 Simulator Has to be set to Corner > Yakubs Phone (or whatever your phone name is)
2)
Click on your project name (top of file list) Click on the Project name under PROJECT in the PROJECT/TARGETS view (small white column) Click on Build Setting Scroll to the Code Signing paragraph The values for Code Signing Entitlements shall be filled: Debug - Any iOS SDK "iPhone developer" id Release - Any iOS SDK "iPhone developer" id
These "iPhone developer" ids are as defined by yourself.
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.