Hi everyone,
I've been having problems while trying to test out my app on my device (iPod Touch). Perhaps it might be something in my Mac that might be misconfigured, or maybe XCode 4 has some bugs, or maybe I'm just doing something wrong.
As background: I have XCode 3 installed in /Developer_old.
Here's how it goes: I deleted an expired "Team Provisioning Profile" from my device using XCode 4's Organizer. I then used the Provisioning assistant available on the Apple Developer site to generate a new provisiosing profile. I installed it by double clicking on it. This opened XCode 3's Organizer and installed the profile. I closed it, and opened it with XCode 4's organizer. I then downloaded the developer certificate from the Provisioning Assistant and installed it by double clicking on it. This opened Keychain Access where I can see it is installed.
Now, I can see that my device has the profile installed, but when I attempt to run it, I get a "No provisioned devices found" error. I tried to run it on Xcode 3, but I got a bunch of errors, and now, not even Xcode 4 will run it, not even in Simulator mode. I did not save the exact messages, but from what I understood, it was having problems locating .dylib files on my system (including libobjc.dylib, which sounds like its part of the Objective-C runtime).
I realize there is not much you can help me with unless I post the exact errors I was getting, but I think some background knowledge might help me understand this process better, so here are my questions:
- Is there a way to "cleanly" remove an existing Xcode installation?
- Is there any problem with having two versions of XCode on the same machine like I do? Like any incompatibility issues?
- Does manually deleting the /Developer folder cause any harmful damage, like perhaps, broken links, when I reinstall it?
- What is the difference between a Provisioning Profile and a Developer Certificate?
- It seems that provisioning profiles only work on the Xcode version they were originally installed on. Is this true? Why does double clicking on my .mobileprovision file open it with XCode 3, even though it now resides in /Developer_old?
Thanks for any input. It is greatly apreciated.
EDIT:
Hi again,
I deleted both /Developer and /Developer_old folders and did a clean install of XCode 4.0. The app no longer gives warnings and runs with no problems in Simulator. However, I still can't test it on my device, even after removing and reinstalling my Provisioning Profile. What can I do? Please, help!
I've been having problems while trying to test out my app on my device (iPod Touch). Perhaps it might be something in my Mac that might be misconfigured, or maybe XCode 4 has some bugs, or maybe I'm just doing something wrong.
As background: I have XCode 3 installed in /Developer_old.
Here's how it goes: I deleted an expired "Team Provisioning Profile" from my device using XCode 4's Organizer. I then used the Provisioning assistant available on the Apple Developer site to generate a new provisiosing profile. I installed it by double clicking on it. This opened XCode 3's Organizer and installed the profile. I closed it, and opened it with XCode 4's organizer. I then downloaded the developer certificate from the Provisioning Assistant and installed it by double clicking on it. This opened Keychain Access where I can see it is installed.
Now, I can see that my device has the profile installed, but when I attempt to run it, I get a "No provisioned devices found" error. I tried to run it on Xcode 3, but I got a bunch of errors, and now, not even Xcode 4 will run it, not even in Simulator mode. I did not save the exact messages, but from what I understood, it was having problems locating .dylib files on my system (including libobjc.dylib, which sounds like its part of the Objective-C runtime).
I realize there is not much you can help me with unless I post the exact errors I was getting, but I think some background knowledge might help me understand this process better, so here are my questions:
- Is there a way to "cleanly" remove an existing Xcode installation?
- Is there any problem with having two versions of XCode on the same machine like I do? Like any incompatibility issues?
- Does manually deleting the /Developer folder cause any harmful damage, like perhaps, broken links, when I reinstall it?
- What is the difference between a Provisioning Profile and a Developer Certificate?
- It seems that provisioning profiles only work on the Xcode version they were originally installed on. Is this true? Why does double clicking on my .mobileprovision file open it with XCode 3, even though it now resides in /Developer_old?
Thanks for any input. It is greatly apreciated.
EDIT:
Hi again,
I deleted both /Developer and /Developer_old folders and did a clean install of XCode 4.0. The app no longer gives warnings and runs with no problems in Simulator. However, I still can't test it on my device, even after removing and reinstalling my Provisioning Profile. What can I do? Please, help!
Last edited by a moderator: