Code Sign error: The identity 'iPhone Developer: x Xxxxx' doesn't match any identity in any profile

后端 未结 6 1127
情歌与酒
情歌与酒 2020-12-01 03:24

I get this build error when I build my iPhone project to run on my device:

 **Code Sign error: The identity \'iPhone Developer: x Xxxxx\' doesn\'t match any          


        
6条回答
  •  一整个雨季
    2020-12-01 04:26

    1. Right Click the Project (eg. x.xcodeproject) and select Show Package Content
    2. Open project.pbxproj with TextEdit
    3. Search for all "CODE_SIGN_IDENTITY[sdk=iphoneos*]" and set it to "CODE_SIGN_IDENTITY[sdk=iphonesos*]" = "iPhone Developer";
    4. Search for "PROVISIONING_PROFILE[sdk=iphoneos*]" and set it to "PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
    5. Save the file
    6. Reopen the Xcode project or select "Read from Disk" resulting from Xcode the prompt.
    7. This Worked for me. I hope it works for you too.

提交回复
热议问题