I don't know what is going on, but I have downloaded xcode 5 gm and it is worse than dp 6.
It hangs when creating a brand new project. It hangs when I rename a class, and when trying to set up a local git repository. It is a blank project master/detail template.
Does anyone have any idea what to do? I have already deleted xcode 5 by dragging the app to the trash.
Is there anything I can do about this? I assume that I will want to remove all traces of xcode from my computer and retry again? I'm on the latest mountain lion os.
I can only see Xcode 5 DP 6 available from the Apple Developer website, but I can see chatter about it in the forums. I'm guessing it's been pulled.
So the solution would be to delete Xcode 5 GM and continue using DP 6.
The reason I can only see Xcode 5 DP 6 is the fact that I didn't look on the Mac Developer Portal!
Xcode 5 GM (now released) is for iOS 7 development and comes with the OSX 10.8 SDK.
Xcode 5 DP 6 is for OSX 10.9 development and I am assuming this will become Xcode 5.1 when Mavericks (OSX 10.9) is released.
Therefore my above solution to remove Xcode 5 GM is wrong.
Related
I have an UI issue in my Swift 1 (Xcode 6, iOS 7.1) app on devices running iOS9. I've tried to convert my app to Xcode 7 and Swift 2.0 but I'm running in a lot of issues here.
To give my customers a quick fix until I've figured out whats wrong I was wondering if I can download and install Xcode 6 (the version I build and uploaded the app last time) correct the UI issue (I know what to do) and upload the app again.
In a nutshell: Will Apple deny an app update with an old Xcode/Swift version?
The “Submit Your Apps” page currently (as of 2015-09-23) says
If your app still depends on Xcode 6, you'll need to keep a partition or external hard drive with OS X Yosemite installed in order to submit from Xcode 6.
This clearly implies that you can still submit apps with Xcode 6 (and therefore with the iOS 8 SDK).
Trying to get iOS 8 simulators in XCode 7. Prior to beta 3, that wasn't possible but in beta 3 release notes:
"Xcode 7.0 beta now supports downloadable legacy simulators."
Xcode 7 beta 3 Release Notes
They also show up in the "Downloads" section:
I'm running into the same problem as reported in this question about XCode 6. I have Xcode 6 still installed, but am trying to install the simulator to Xcode 7 beta 3 where iOS 8 is no longer the base OS.
Error msg:
Could not download and install iOS 8.3 simulator. Authorization is required to install the package
I found another workaround on the Apple forums for this issue that does not require downloading/having other versions of Xcode. If you run Xcode using sudo the simulator downloads and installs work just fine:
sudo /Applications/Xcode.app/Contents/MacOS/Xcode
Note: Once the downloads and installs are complete you should quit Xcode and start it normally.
Update: XCool points out an important safety tip in the comments that I wanted to highlight here:
Make sure that you close any projects before opening Xcode using sudo, otherwise there'll be a lot of permission issues with any files that are currently open when the installation occurs.
sorry for the post, I don't have 50 reputation to comment. i am having this same issue. Any further progress? If I happen to come across a solution I will let you know. What have you tried?
--------- UPDATE -------
So I have found a work around.... if you are trying to get it to deploy to an iPhone.
If you still have the previous xCode file... you can navigate to Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
copy the simulators and SDKS you want over to the same location in Xcode-beta.app and paste... granted those downloads still won't download, but this will allow for the simulator to run on your iPhone.
I got this from Using the device simulator for iOS 8 with Xcode 7
and verified it works.
XCode 7 and above does not support simulators 8.4 and earlier.
Please check my answer on the post here.
I've been using essentially the same set of schemes for my app for several years with no problem. When selecting a scheme to build, for each simulator device there would be a choice of iOS reflecting what simulators were installed.
Trying to solve a problem, I deleted Derived Data per some suggestions here. Today, when I select a scheme to build, I get this:
This is not helpful! I cannot figure out how to get back to the Target/Scheme combinations I had before. Any and all help will be appreciated!
yes i got this when I installed Xcode 7 beta.
Went away when I downloaded XCode 7 from the mac app store.
But I had to run Xcode 6.4 to test swift 1.2 code and was fine for a while till i rang two simulators at once.
Then in Xcode 7 they all appeared again
I had also downloaded the 8.4 simulator in Xcode 7 today so this may also have caused it.
I believe both simulators were sharing this folder so they got merged:
/Users/gbxc/Library/Developer/CoreSimulator/Devices
/Users/gbxc/Library/Developer/CoreSimulator/Devices/device_set.plist
raised q:
https://stackoverflow.com/questions/32742962/xcode-devices-list-showing-50-devices
I tried to specify in the title so people didn't think i was a dullard, I've used every version of Xcode 6 Beta alongside Xcode 5.1.1, but as I have only one dev machine I don't want to install Xcode 6 if it will overwrite Xcode 5 entirely.
I also realize I can download/reinstall Xcode 5 but I'm swamped at work and can't afford 30 minutes of downtime even, thanks for the help all!
Foolishly I let App Store update Xcode 5.1 and it upgraded me to 6.
Renamed /Applications/Xcode to Xcode 6
Downloaded Xcode 5.1 from https://developer.apple.com/downloads/index.action?name=Xcode%205
Installed Xcode 5 from the DMG into /Applications
Start Xcode 5, rebuild my project and ran my app on my iOS 6.1 device OK.
Downloaded iOS6.1 Simulator (Prefences>Downloads)
Ran my app in the iOS6.1 Simulator OK.
Started Xcode 6, rebuild my project for my iOS6.1 device - reported signing error.
In Xcode 6, rebuild my project for iPhone 4s 7.1 - could not boot simulator
Conclusion:
I got Xcode 5 back doing what I needed but will need to do more work to play with Xcode 6.
So that people don't need to read comments to find the accepted answer:
Yes, MANY versions of Xcode can exist at the same time, in order to prevent overwriting find Xcode in the Finder (CMD+Clicking is one quick method) and rename (simply hit the return key while the app is highlighted) as you see fit. On my machine I have Xcode 5.1.1, Xcode 6.1 and usually whatever Beta Apple has available if I'm having any issues with an app.
Have exactly the same issue as here. But it's solution does not work for me! I connected both iPhone and iPad devices, but still after changing Device to Simulator or cleaning while Simulator is selected XCode selects iPad Simulator's Active Executable. Which is very strange since my project is iPhone only (Target Device Family = iPhone).
I've experienced same problem Xcode 3.2.6 version released on 10 March (the same day as XCode 4 was released). But then somehow problem gone (may be after I've connected a device?).
Few days ago when Xcode 4.0.1 was released, I've found that XCode 3.2.6 was updated too on ADC (image posted on 25 Mar). So I've downloaded it, compared image to "old" XCode 3.2.6 image from 10 Mar, found differences and installed it.
This is likely a bug in Xcode 3.2.6 that's fixed in 4.x. If it's that annoying to you, it's probably worth switching to Xcode 4.
Besides, Xcode 4 is the future (like it or not) and Xcode 3 is not likely to get any more enhancements.