codesign issue
by Zeinad · in iTorque 2D · 05/09/2009 (11:22 am) · 9 replies
When I attempt to build to device I get an error saying that my phone doesn't have Micheal perry's codesign identity (which makes sense, lol). However when I go to info and change the codesign identity that xcode is building with, I continue to get the same error. Is there somewhere else I need to change the identity at?
About the author
#2
05/09/2009 (11:39 am)
Ok, I found both of those areas in the info but I'm not too sure what to do with them. I'm still trying to learn at lot of this 'xcode' stuff =/
#3
05/09/2009 (11:45 am)
Don't worry about the product name - it should be a variable and a sub-qualifier anyway. For example, in my case it's "com.neuralshortcircuit.${PRODUCT_NAME:identifier}". Get Info on the target in Xcode is supposed to let you set the name.
#4
Check the following places :
Project -> Edit project settings (theres release, debug and "all configurations)
And there is :
Targets -> Get Info -> Build tab
This one also has a debug/release/all configurations and stuff
Then, there is the possiblity that the xcode project has flopped, as it sometimes does.. which requires opening the pxbproj file inside the xcode project (in finder, right click and say "show package contents" in a text editor and manually removing anty "PROVISIONING_PROFILE", and sarching for things like michael perry, "code_sign, code sign, identity etc" and remove all the stuff there. Then, when in xcode you can just reset them to you
05/09/2009 (4:03 pm)
Theres a myriad of setings in Xcode.. Check the following places :
Project -> Edit project settings (theres release, debug and "all configurations)
And there is :
Targets -> Get Info -> Build tab
This one also has a debug/release/all configurations and stuff
Then, there is the possiblity that the xcode project has flopped, as it sometimes does.. which requires opening the pxbproj file inside the xcode project (in finder, right click and say "show package contents" in a text editor and manually removing anty "PROVISIONING_PROFILE", and sarching for things like michael perry, "code_sign, code sign, identity etc" and remove all the stuff there. Then, when in xcode you can just reset them to you
#5
05/09/2009 (5:15 pm)
Simply removing references to Michael should be enough. I have fixed it once in a different way, though. I changed the name to my profile and restarted Xcode. That was all it took.
#6
05/11/2009 (7:13 am)
I finially got it working, I think. I had to get info on the iTGB target and switch it there as well as on the whole project. I also did what I saw Ronny mention in the 1.2 release details thread and changed out Michael Perry's name in the project.pbxproj file, I dont know if that helped or not but it didn't seem to hurt.
#7
Should we remove anything referring to "codesign" from this pbxproj file?
05/21/2009 (2:53 pm)
We've found this thread and the few mentioning this same fix, but we're still ncountering the same problem with a project being ported from 1.1. We've cleaned the pbxproj file of Michael's codesign and reset build properties to reflect the proper dev, yet we are meeting errors when attempting to build. Should we remove anything referring to "codesign" from this pbxproj file?
#8
When starting up again, go into the build settings and check that the right provisioning thingamy is there. Double-check by also entering the build settings for the specific target. I've seen some funky things happen, where the two don't match in the fields common to both.
05/21/2009 (4:30 pm)
Delete all CODE_SIGN_IDENTITY and PROVISIONING_PROFILE lines, clean the project...and most important of all: Quit Xcode! It always seems to need a restart for me.When starting up again, go into the build settings and check that the right provisioning thingamy is there. Double-check by also entering the build settings for the specific target. I've seen some funky things happen, where the two don't match in the fields common to both.
#9
05/30/2009 (1:32 pm)
Logged and fixed for v1.2.1
Employee Michael Perry
ZombieShortbus
Make sure you also change the Info.plist files, and your Product_Name property.
I'll make sure the next distribution if "Michael Perry free"