I'm not sure if this belongs here or in the complete beginner section; I am indeed a complete beginner, but I've been enjoying learning about programing and Livecode. I've tried to link Xcode and Livecode so I can run my app on the iPhone simulator, but I get an error when I try to do so.
The error reads: "The chosen folder is not a valid iOS SDK. Selected Xcode must have an iOS SDK among:
8.2
9.2
10.2
11.2
12.2"
I had Xcode version 11.4, so I went to the Apple Developer website and downloaded 11.2. When I tried to select the Xcode app from Livecode's preference pane, I get the same error, despite 11.2 being on the list. I went back to the Apple Developer website and downloaded 10.2. And again, I get the same error.
I'm thinking that I must be doing this wrong. For one, Xcode 12.2 doesn't exist; the latest version of Xcode is 11.4. But I'm not sure how to link Xcode and Livecode; it seems that I should just be able to select the Xcode app by clicking "Add entry" in the Mobile Support preference pane.
Linking Xcode and Livecode
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Linking Xcode and Livecode
Hi tolerant2,
Have you seen this post from panos ?
might help...
https://forums.livecode.com/viewtopic.p ... 11#p189384
Take care,
Thierry
Have you seen this post from panos ?
might help...
https://forums.livecode.com/viewtopic.p ... 11#p189384
Take care,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: Linking Xcode and Livecode
Yes, I did see the post and I did read it. The post doesn't solve my problem. Even if I use a version of Xcode listed in the error message, I still get the error message. The post also doesn't explain what Xcode 12 is. Xcode 12, as far as I can tell, doesn't exist.
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Linking Xcode and Livecode
Hello tolerant2,
The list of versions that appears in the error dialog are the iOS SDK versions - not the Xcode versions.
Also, this list of required SDKs seems a bit outdated, so I guess you are using an older LC version?
I suggest downloading the latest LC version from here:
https://downloads.livecode.com/livecode/
The version of the Xcode you have to use depends on your LiveCode and MacOS version.
So if you are on Catalina or Mojave, and use LiveCode 9.6 DP-2, then you have to use Xcode 11.3 (which includes the iOS 13.2 SDK)
Hope this helps,
Panos
--
The list of versions that appears in the error dialog are the iOS SDK versions - not the Xcode versions.
Also, this list of required SDKs seems a bit outdated, so I guess you are using an older LC version?
I suggest downloading the latest LC version from here:
https://downloads.livecode.com/livecode/
The version of the Xcode you have to use depends on your LiveCode and MacOS version.
So if you are on Catalina or Mojave, and use LiveCode 9.6 DP-2, then you have to use Xcode 11.3 (which includes the iOS 13.2 SDK)
Hope this helps,
Panos
--
Re: Linking Xcode and Livecode
Thank you Panos. This worked and is much appreciated. I would note that the developer previews are not easy to find; the product download page has 9.5.1 as the latest version.