installing multiple versions of Xcode

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

installing multiple versions of Xcode

Post by cusingerBUSCw5N » Tue Nov 06, 2012 7:04 am

I have just purchased an MacBook to convert my app to IOS - so I am truly a newbie. I was able to download and install Xcode 4.5.1 (although I really don't know how it installed, since there wasn't the same interface that I am used to on a PC).

After failing to create a standalone, I looked in the forum and found that I actually need to install multiple versions of Xcode. I renamed the original folder (which was put in the Apps folder)...and downloaded Xcode 4.4.1 It shows as a download, but there is no option to install it. So it's sitting there - and I don't know what to do. I tried downloading the command line tools for xcode os x lion....but that is a .dmg file also and comes up "The following disk images couldn't be opened - reason - not recognized."

So...can I develop this app with only Xcode 4.5.1.... and if not, how do I actually install downloaded prior versions?

Thank you.

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Re: installing multiple versions of Xcode

Post by endernafi » Tue Nov 06, 2012 12:56 pm

Hi,

"The following disk images couldn't be opened - reason - not recognized."
means that something went wrong with your download and the downloaded file is corrupted.
Try re-download it.

but there is no option to install it
although I really don't know how it installed, since there wasn't the same interface that I am used to on a PC
On mac side, there are very few apps that need to be installed. In most cases, you just drag and drop the *.app file to your applications folder.
That's it. Think the mac apps as portable apps in windows. Everything it needs, it contains within itself.
A little more detail about this issue?
Well, right-click on your *.app file, and click Show Package Contents.
See? It's actually a folder, just wrapped up so that double-clicking starts necessary services or threads and finally runs the app.

found that I actually need to install multiple versions of Xcode
I don't do this. And I absolutely don't know why people need to do this.
I have one xCode version {Version 4.5.2 (4G2008a)} and one LiveCode version {Build 1497 Version 5.5.3},
everything works just fine.

I'm just copying iPhoneOS5.1.sdk folder to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs folder,
and iPhoneSimulator5.1.sdk folder to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs folder
whenever I update my xCode app, because it only comes with iPhone6 SDK and delete all other stuff.
And in the Standalone Application Settings... of LiveCode under File menu,
I choose Build For iOS 5.1 or later Armv7.
It works like a charm for months now.
standaloneApplicationSettings.png

Hope it helps...


Best,

~ Ender Nafi Elekçioğlu
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

Post Reply