The App Store says I have an update available: XCode 4.6. I'm still running OS X 10.7.5. Will XCode 4.6 run on this OS? I looked at the App Store and Mac Developer site and couldn't find what OS version was required for 4.6.Kindly give me link for Xcode 4.6 running OS 10.7.5. Many thanks.
It will work without any issue. Maybe this page about Xcode Release Notes will be useful for you
When the Mac App Store shows the Application it should run on your system because as on iOS you can decide as developer which OS versions you support. Apple decided to show you the update - so they decided to allow 10.7.5. There are also no information about discontinuing support for 10.7.5 in Xcode 4.6 release notes.
Yes, I'm running 4.6 on 10.7.5 here.
You can go right ahead and download it from the app store.
If you're concerned about it screwing up your existing work, you could rename your existing install. (to ".old" or something)
Related
Simple question, I want to know if anyone has had any weird or annoying problems with developing iphone apps in Xcode after upgrading to Lion. I remember having issues when Snow Leopard first launched. Are there any early adopter penalties here?
A big one for me: no more PowerPC emulation via Rosetta in 10.7 - important to think about if you need to do testing for legacy PowerPC code.
Fortunately you can still use Xcode 3.2.6 though if you don't want or need to use Xcode 4.1 - if Xcode 3.2.6 is installed prior to upgrading t Lion then it should still work, alternatively there are instructions available for installed Xcode 3.2.6 when Lion is already installed.
I just had the problem, that I had to upgrade to Xcode 4.1 because lower versions of Xcode don't work on Lion. ;-)
You have to download the latest Xcode 4.1 to do development on Lion. 4.0.x won't work.
You also have to learn how to scroll down pages like a flight simulator (you can turn it off). If you got used to the neat gestures in Snow Leopard, then get ready to completely start over again with new ones (no going back on Lion). Three finger web page navigation doesn't work, 4 finger application switching doesn't work, and a new "explosion" gesture is used for desktop and mission control.
The only thing i have noticed so far is that if you run Xcode in fullscreen mode, simulator can't be on same screen... And yes, you have to download new Xcode 4.1 from appstore... Everything else is pretty much amazing :-D
When you try to install Xcode 3.2.6 on Lion, Xcode toolset is greyed out and marked as skip. There is a simpler way to install it then those once described above. Here is the steps:
Mount the developer tools dmg
Open Terminal and run these two commands:
export COMMAND_LINE_INSTALL=1
open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"
Enjoy.
Be prepared for the new Xcode to remove the /Developer directory as a part of its cleanup process. This will wipe out QT in the process since it's installed there as well.
So if you want to keep QT intact you should skip Xcode's cleanup step or install a fresh QT afterwards.
I upgraded my iPhone to the latest OS (4.3.1) yesterday, and noticed there is no corresponding XCode 3.x release, only a 4.x release (4.0.1).
Since upgrading I am getting warnings when I try to install apps on the device using my development certificates (Application failed codesign verification).
Not sure if the OS upgrade on the Phone and the error message are related, so I'm just asking the question if anyone else had this happening?
And are we supposed to use XCode 4.0.1 when we develop for the 4.3.1 iOS release or can we use a 3.x version as well?
The Xcode version number isn't important, but the SDK version number is. You can get the latest SDK with either Xcode 3.2.6 or Xcode 4.0.1 at the time that I'm writing this.
You can still download the XCode 3.2.6, it goes with the SDK 4.3, and it is free to download.
You can try with XCode 4 as well, but you have to either to have an iPhone or Mac Developer account (99$/year) or you need to buy it from the AppStore
It still works, however of you first attach your iPhone to Xcode it will ask you to download the debugging symbols off the phone. Answer Yes to this question and you are ready to go.
However there is one more thing: usually Apple makes restrictions about the SDK you should use when submitting apps to the store. So if you want to submit an app it could be that you have to use the most recent SDK.
Deploying an application directly from XCode 3.2.6 on a device where iOS 4.3.1 has just been installed won't work.
First, you need to open XCode's Organizer window and ask to collect information from the device. Then it will work fine.
So as of this writing, the newest version of Xcode is 3.2.5 (though the GM seed of Xcode 4 was just released, still not ready to make that jump). I know Apple graciously decided to stop allowing developers the ability to test their apps in simulator for any OS below 4.* with the past few releases of Xcode.
I know I need at least Xcode 3.2.2 to test legacy OS versions of the iPhone in the simulator (3.*).
I install Xcode 3.2.2 in a folder on the same level of the current 3.2.5 version. After the install, I opened my project that has no issues in the newest version of Xcode.
I go to the project settings and check the Base SDK value. Under that tab there is no option for the iPhone OS. All it allows me are Current Mac OS and Mac OS X 10.5 and 10.6.
I check the current Target Tab and see the same issue. No iPhone OS options.
The PDF that comes with the xcode322_2148_developerdvd.dmg file (downloaded from Apple's repository http://connect.apple.com/) talks about the iPhone and iPad platforms, so I know this is a new enough version.
What is it that I am missing?
Edit:
After looking through what was installed on my system with xcode322_2148_developerdvd.dmg, it appears that Apple left out all of the necessary files for the iPhone portion of Xcode. Guess it's off to Google to find an old, complete version of Xcode. Unless someone here has a good virus free location they are willing to suggest :)
After upgrading to OS X 10.6 (Snow Leopard) and iPhone SDK 3.1 (with Xcode 3.2), Xcode's shared workgroup builds (distributed) can't seem to find or access other computers in our office.
Distributed builds worked perfectly in OS X 10.5 with iPhone SDK 3.0.
All the computers that have upgraded are now listed with a status of Unreachable. Even my own computer, artanis, is listed as Unreachable!
I've already tried all of the suggestions listed in Troubleshooting Distributed Network Builds. And none of us have the OS X firewall enabled.
Any suggestions?
Here's a screenshot:
Xcode Preferences Screenshot http://img170.imageshack.us/img170/3972/screenshot20090917at104.png
The solution seems to be to run Xcode in "32-bit" mode - you set this in the "Get Info" dialog in the Finder.
You must re-install Xcode using the version on the Snow Leopard DVD. The iPhone SDK must be re-installed afterwards.
Edit: I just noticed that Apple started distributing Xcode 3.2 with the iPhone 3.1 SDK. I would recommend you to attempt a full uninstall of the developer tools, as described in the SDK release notes (see developer.apple.com), and then to re-install it. You should also check that each computer have a unique name set in system preferences>>sharing. As a last resort, I'd check that Snow Leopard was booted in 32-bit mode (it does by default), and (just for the test) try to boot Snow Leopard in 64-bit mode (hold the 6 and 4 keys while booting).
Edit 2: Check this thread, it seems related. Maybe you should try to enable Xgrid in sharing preferences?
I had a problem installing it now it works since it needed for the xcode and ipphone sdk the firewall disabled to install, I think that fix my problem where it did not want to install the files strange bug I guess, with firewall on , the installer fails to install, and I am still in 64bit mode
I have followed Apples tutorial and upgraded my iphone to 3.0. But i get this error:
OS Installed on
3.0 (7A341)
Xcode Supported iPhone OS Versions
3.0 (7A312g)
2.2.1
And when i try to run an application on my iphone xcode states:
No provisioned iPhone OS device is connected.
What have I missed?
Stumbled across this question because I've had the same problem with 3.0.1. Apple has an advisory (PDF) about how to get XCode to stop worrying and love the 3.0.1. It boils down to running a command in Terminal:
ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0\ \(7A341\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1
It looks like you need to upgrade xcode to the newest version of the SDK as well as your iPhone / iPod Touch to the newest version of the SDK. It looks like your XCode is from beta 5 where your iPhone is GM.
Both XCode and the iPhone OS need to be the most recent version to install apps. In addition, you will need to reenable the iPhone for development after every software upgrade in the XCode device manager.
Look in the organizer window if the phone is in orange state ..then just restart the phone and see.
How To:
Add an iOS SDK from a downloaded Xcode dmg:
Download the Xcode version dmg containing the iOS SDK you need
Make sure Xcode is not running
Double click the downloaded Xcode dmg, right click the Xcode.app icon, choose "Show Package Content"
Copy Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs (on you local machine)
Copy Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ to /Developer/Platforms/iPhoneSimulator.platform/Developer (on you local machine)
Copy Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ to /Developer/Platforms/iPhoneOS.platform/DeviceSupport (on you local machine)
Right click Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/, choose "Make Alias", rename the alias to "Latest"
Start Xcode
I have solved this as Pluckyglen said, but will add that this is a way to cheat XCode about the version of the Device.
Creating a unix Symbolic link:
ln -s <´Xcode version´> <´Device Version´>
makes Xcode think that the device version is a supported version, cause we are making the dev version just a link to one of the supported versions.
At least this is what I understood :P