Friday, March 11, 2011

Xcode 4

I bought Xcode 4 yesterday using my Singapore iTunes account. It finished downloading 4.58GB this morning. I installed it and it moved my Xcode 3 to /Developer-old/Applications off the root directory. Xcode 4 installed itself in /Developer/Applications.

I hooked up my iPhone 3GS, started Xcode 4 and Organizer recognised my iPhone after a few prompts. However, it showed that I did not have a provisioning profile.


I pointed Xcode 4 to open up my HelloWorld project I made in Xcode 3, which was successful. Running the project in iPhone Simulator mode was successful but the option to run it on the iOS device was grayed out.


Clicking Run will only pop up the following window 'Xcode cannot run using the selected device':


I closed Xcode 4, opened up Xcode 3 and reopened the same HelloWorld project. Running it on my iPhone was successful, showing a similar screen to what the iOS Simulator showed.


However, now the HelloWorld project has one error which it didn't have before.


This may be the aftereffect of opening the project in Xcode 4. Running the project in Xcode 4 later didn't show any errors. I'll just have to research some more, including how to get a Provisioning Profile on Xcode which I suspect would be the same steps I did to get the Provisioning Profile on my Xcode 3.

If you're wondering why I have this problem, an explanation is when I said I bought Xcode 4.

0 Comments:

Post a Comment

<< Home