xcode problems installing, apple keeps telling me to upgrade? - ios

Ive just spent the best part of 3 hours updating my mac (because apple told me xcode 6 wont run unless I install 10.7.4). However, now Ive done that, apple now tells me xcode 6 wont run unless I install 10.10? Is that right? A whole new OS with no path to upgrade?
Im wondering can I use older versions of xcode? Where can I download these? Will I still be able to submit to the app store with older versions of xcode?

That's right, if you want to install the latest version of Xcode you will need OSX 10.10 or later (see "Compatibility" section here).
If you use an older version you will not be able to support newer versions of iOS/OSX.

In order to be able to install the latest Xcode 6.3.x (iOS 8.3 SDK) you need OSX Yosemite installed.
There is a grace period of a few weeks during which you can still release with the previous version of the SDK, but not older than that. You should still have a few weeks of Xcode 6.2 left...

Related

Is there a way to run an app on iOS 12.2 with an outdated version of Xcode and macOS?

I'm developing a React Native application that I test and build on a real iPhone 7 using Xcode. However, the iPhone recently automatically updated to iOS 12.2, which requires Xcode version 10.2. The problem is that I can't update Xcode because my Mac is running on High Sierra 10.13.6 and is too old to get the Mojave update (2011).
So the question is: Is there any way I can still use the Mac to run the app on my real device, or am I forced to use the emulators/buy a new Mac from now on? Most importantly, is there I way I can still get the Mojave update on my old Mac?
You can download the support files that you want from this repo
Close your xcode, right click on xcode ->Show Package Contents->Contents->Developer->Platforms->iPhoneOS.platform->DeviceSupport, and unzip your file there.
Restart xcode and voilĂ , your device is supported.
check this for more info.
There is some trick for you to install Mojavae and so Xcode 10.2.
I hope that can help you, and think to deactivate the auto update.

Xcode version update

I currently use xcode version 8.2.1. I would like to update it to the latest version or at least to a version that is supported by iOS 10.3.2.
The app store doesn't show any available update for my xode and when I try to update it on the terminal, I get a message saying that I am at the latest version. I'm guessing this is because I am using the latest version of xcode8.2 or something?
I have seen this and it says I need to reinstall my xcode. So, could I update my existing xcode without having to install another version?
App-store is the only way to update the Xcode to the latest one.
First, make sure that you are running on the required version of OSX (macOS 10.12 or later) to support the version of Xcode 8.3.3.
If you are on the required version of OSX and the App-store not showing any updates, that should be a bug with the App-store app. Reinstall is the only option in this case.
Note:
The Xcode update (to 8.3.3) will take almost 4.5 GB of data
Direct Xcode 8.3.3 download will take exact 4.54 GB of data
So, I really not seeing any differences in both except the way of downloading.
App store is the only source to updating (through Commandline or
directly) Xcode or others apps.If store itself no updation of app.Then
probably have to wait for it instead of installing another version
from Apple download section.
Yes.Sometimes it happens to me.App store not showing new version of Xcode in Updates Tab.So i m going directly to search Xcode.
My current Xcode version is Xcode 8.3.3
But App store shows only stable version as latest version (currently
Xcode 8.3.3)
If you wanna more latest beta version product You can get from below
From Apple Downloads section
i checked via command line also using below command But the result is same.
softwareupdate --list to see what's available.
Result :
Apples-Mac-mini:~ apple$ softwareupdate --list
Software Update Tool
Finding available software
Software Update found the following new or updated software:
* macOS Sierra Update-10.12.5
macOS Sierra Update (10.12.5), 873261K [recommended] [restart]
* RemoteDesktopClient-3.9.3
Remote Desktop Client Update (3.9.3), 8587K [recommended]
* iTunesXPatch-12.6.1
iTunes (12.6.1), 179760K [recommended]
Apples-Mac-mini:~ apple$
You can updated Xcode or other software if it's available using below command
softwareupdate --install <product name>
You can get more comments from here Software update tool
Just login to your Apple developer account and in download section download the latest Xcode and install it. Then from now whenever the new Xcode will available you'll get notify for an update.
OR
check here

Is there a way to get iOS 7 simulator on Xcode 7

I just updated my Xcode to the newest version (7.0 7A220) and I lost the iOS 7 simulator that I had in the previous version. I still have the iOS 7 SDK and was wondering if there is way to use it on the newest version of Xcode, instead of installing another version of Xcode on my OS X.
Download the official installation package from: https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK7_1-7.1.1.1354140590.dmg
This is where Xcode 6.4 is downloading it from.
But it won't work on El Capitan, only on Yosemite. The runtime has a problem with El Capitan... So until Apple solves it (if they want to), we're stuck.
As for my initial analysis referred from link you cant install it and use older version of Xcode version for using respective iOS simulators. To use iOS 7.1 go for Xcode 6.4 or earlier. Install Xcode 6.4 and download respective simulator from Preference.
To download older version of Xcode you need to login with developer account https://developer.apple.com/downloads/

How to install XCode 4.5GM on top of the app store xcode 4.4.1?

I was searching for the answer to this question here but couldn't find anything. I had an issue before with GM version of xcode and would like to find out what is the procedure to do this. I have XCode 4.4.1 install from the app store and i would like to install 4.5 GM. Is the only way to have both installed on the machine or its possible to upgrade? Does it make sense to delete 4.4.1 and install GM version or just wait a week and xcode will get updated automatically.
I just don't want to install this one and then have to reinstall when the app store version comes out because then upgrades will be installed through the app store.
Thanks in advance!
You can install the AppStore version (4.4.1) and the beta version (4.5) side by side without any problems. Just download the beta from the developer portal and it will install as "Xcode45-GM".

Adding Older iOS SDKs to Xcode 4.1 in Lion

I just installed Lion and Xcode 4.1. How do I add older SDKs so I can build and run in 4.1 or 4.2 in iPhone/iPad Simulator? Xcode 4.1 only comes with the iOS 4.3 SDK.
Does Lion have some sort of minimum SDK for builds?
Thanks,
Actually it is possible to add older SDKs as long as you can still get your hands on an older version of Xcode with the older SDK. It's useful too sometimes: when you do this you get to find out about unsupported constants and methods you may be using during compile rather than at runtime. Here's how to do it.
Get hold of an older version of Xcode with the older SDK. The Apple iOS Dev Center currently lists the 4.3 SDK with the Xcode 3.2.6 download.
Mount the dmg and open up the Packages folder hidden within the dmg via Terminal:
open /Volumes/Xcode\ and\ iOS\ SDK/Packages/
Double click the pkg file for the SDK version you want. I was looking for iPhoneSDK4_3.pkg but, in addition to 4.3, found packages as old as iPhoneSDK3_0.pkg. So perhaps older SDKs may still be packaged with the App Store download if you know where to find it (I didn't).
Let it install in it's own folder of choice since you won't be able to force it to install in Applications/Xcode.app/Contents/Developer (which is where the Developer folder is now)
You'll find the package installed in the Platforms folder in the volume you chose. Move the relevant SDK over to the Developer folder within Xcode.app. You'll likely have to use sudo:
sudo mv /Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
Restart Xcode and you should see the new (old) SDK listed in your options for Base SDK. Yay!
Update as of 12 Sep 2013
If the "older SDK" you're trying to add comes bundled in Xcode 4.3 or later, adding the SDK is as simple as downloading Xcode from dev center link that says "Looking for an older version of Xcode?" (currently points here), mounting the dmg, then copying the relevant files over.
In terminal, you'd do something like this (edit for the appropriate SDK version number):
cp -R /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
For SDKs from versions of Xcode prior to 4.3, the older steps are still relevant.
I found this happens to work for getting the Xcode 5 GM to compile builds that carry the old iOS 6 UI even when deployed on iOS 7 devices. Useful for fixing bugs pending a UI redesign. That said, there's got to be an easier way to get the iOS 6 UI on an iOS 7 device.
You can't. What you can do, however, is click on the top-level entry in the File Navigator. It'll take you to the application settings. Go to the tab called Build Settings, and change the iOS Deployment Target to whatever version of iOS you'd like to support from (the earliest version you support).
See "To Edit a Build Setting…": http://developer.apple.com/library/ios/documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/Building/Building.html#//apple_ref/doc/uid/TP40010215-CH9-SW5
Open Xcode and open Preferences (Xcode -> Preferences menu). Click the Downloads icon and look in the Components tab. All versions from 3.0 to 5.1 should be available. Just click Install for the ones you want to use.
None of these answers worked for me for Mac OS 10.8 and XCode 4.5. But now that things are installed under the Applications folder, it's much easier to manage.
Option #1: Keeping an older copy of XCode is easy to do by renaming it before you install the new one. Then you can use Product->Preform Action->Run Without Building on the new version to test on newer devices or newer simulators.
Option #2: If you REALLY want to build with older SDKs in the newer XCode, then you can simply copy over an SDK using finder. You'll need to have an older version of XCode installed under Applications for this to work. In the following example, I just renamed XCode 4.4 to XCode_old before I installed XCode 4.5. Note: You can right click on the .app file and choose Show Contents to get to these files or just use the cp from a terminal window.
from: /Applications/Xcode_old.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
to: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
Then, iOS 5.1 will show up under Build Settings as a Bask SDK. You can do the same thing for simulators:
from: /Applications/Xcode_old.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk
to: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
You can't, but it will build fine for a device that is plugged in running an old version of iOS (what you should be conducting your proper testing on).
You have to run your application in the older version of Xcode that came coupled with the older iOS version. I have 3.2.5 installed under /Developer-3.2.5/. I have to say it's about 10 times faster than Xcode 4... You can download old versions here: http://iphonesdkdev.blogspot.com/2010/04/old-versions-of-iphone-sdk.html
I had a similar issue in Xcode 4.02 for Snow Leopard using SDK 4.3. I wanted to test on an iPhone 3G, but iOS4.2 is the latest (and correct version) for that device. In order to 'see' and run on that device in the Scheme, I had to change the Build Settings for iOS Deployment Target as described above. (btw you also have to have restrictions on the iPhone turned off to let Xcode install the app :) )
In addition to Steven's answer, you can find older versions of XCode - including the older SDKs:
Looking for an older version of Xcode?

Resources