How to fix “failed codesign verification” of an iPhone project?

前端 未结 13 1543
小鲜肉
小鲜肉 2020-11-30 03:54

Last night, the iPhone project was built perfectly.

This morning, I installed XCode 3.2.3 in a separate folder. When I open the same project in

13条回答
  •  余生分开走
    2020-11-30 04:21

    Due to what hiroshi said you can change it there: I just do is:

    • Open the Organizer
    • Go to Devices
    • Provisioning Profile
    • Click on the Profile you want to use. There you will see the profile identifier key.
    • Open the xcode project via textfile (the file in the xcodepj bundle)
    • Go to those lines and put the key in here
    @@ -325,6 +325,7 @@
                                PREBINDING = NO;
     +                               "PROVISIONING_PROFILE[sdk=iphoneos*]" = "key goes        here";
                                SDKROOT = iphoneos;
     @@ -361,6 +362,7 @@
                                PREBINDING = NO;
     +                               "PROVISIONING_PROFILE[sdk=iphoneos*]" = "and also here";
                                SDKROOT = iphoneos;
    
    • Save changes and restart the Project

    !!!That's what worked for me in XCODE 4!!!

提交回复
热议问题