No identities are available for signing Xcode 5

后端 未结 24 2348
栀梦
栀梦 2020-12-04 10:19

I have an error \"No identities are available for signing\" when try to validate my app in Xcode 5. I tried all: Recreate certificates and provisioning profiles, all methods

24条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 11:04

    I had a mismatch between the Bundle Identifier within Xcode and the App ID on Developer.Apple.Com (Certificates, Identifiers & Profiles). This StackOverflow post was a great help to me. For a little extra info check out this blog post. The official documentation for the touch command can be found here. I had quit Xcode before doing the below. Upon completion of the details below and reopening Xcode my issue was resolved.

    Use a text editor to update the bundle identifier to match the App ID, the Info.plist file is located:

    ProjectName > ProjectName > ProjectName > ProjectName-Info.plist

    Your looking for the following lines:

    CFBundleIdentifier
    MyCompany.${PRODUCT_NAME:rfc1034identifier}
    

    Update the value to match you App ID, eg:

    com.MyCompany
    

    Use the terminal to issue the touch command, ensure your within the above listed directory:

    touch ProjectName-Info.plist
    

提交回复
热议问题