Building Standalone App, Error with SDK
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Building Standalone App, Error with SDK
I have installed XCode 10.1, and have LiveCode 9.0.2.
Trying to save stack as a standalone application and I get this error:
When I try and add Xcode to the LiveCode SDK Preferences, I get this:
Any help would be appreciated. Thanks!
Trying to save stack as a standalone application and I get this error:
When I try and add Xcode to the LiveCode SDK Preferences, I get this:
Any help would be appreciated. Thanks!
Re: Building Standalone App, Error with SDK
Hi,
I have been away from LC for a few months.
I have the same error.
I downloaded Xcode 10.1 and it looks like it is installed.(It shows up in my Apps folder)
When I try to find the SDK I am clueless.
In the Livecode, Preferences, Mobile Support tab it shows a blank field for the SDK. Available device SDKs: (none) with a Red Box.
I must have missed a step somewhere.
Help Please
I have been away from LC for a few months.
I have the same error.
I downloaded Xcode 10.1 and it looks like it is installed.(It shows up in my Apps folder)
When I try to find the SDK I am clueless.
In the Livecode, Preferences, Mobile Support tab it shows a blank field for the SDK. Available device SDKs: (none) with a Red Box.
I must have missed a step somewhere.
Help Please
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Building Standalone App, Error with SDK
Hello all,
As the error message says, you need Xcode 10.0 (which includes the iOS 12.0 SDK) to build iOS standalones with LC 9.0.2.
You can download Xcode 10.0 from Apple's official downloads page:
https://developer.apple.com/download/more/
Support for building with Xcode 10.1 is coming in LC 9.0.3 RC-1.
Best,
Panos
--
As the error message says, you need Xcode 10.0 (which includes the iOS 12.0 SDK) to build iOS standalones with LC 9.0.2.
You can download Xcode 10.0 from Apple's official downloads page:
https://developer.apple.com/download/more/
Support for building with Xcode 10.1 is coming in LC 9.0.3 RC-1.
Best,
Panos
--
Re: Building Standalone App, Error with SDK
I installed Xcode 10. Tried to add the SDK to the LiveCode preferences and still get this?: When saving as a standalone, I get this: Xcode versions are getting smaller and smaller...LiveCode_Panos wrote: ↑Wed Feb 06, 2019 8:22 amHello all,
As the error message says, you need Xcode 10.0 (which includes the iOS 12.0 SDK) to build iOS standalones with LC 9.0.2.
You can download Xcode 10.0 from Apple's official downloads page:
https://developer.apple.com/download/more/
Support for building with Xcode 10.1 is coming in LC 9.0.3 RC-1.
Best,
Panos
--
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Building Standalone App, Error with SDK
Are you sure the second set of screenshots are from livecode 9.0.2?
Re: Building Standalone App, Error with SDK
Hello Smith8867
I had exactly the experience and error messages you had.
Here is what I was missing.
1. Download xcode 10.0.
2. Put the file into your applications folder
3. Open Livecode
4. On the taskbar at the top click "LiveCode, Preferences"
5. Select "Mobile Support"
6. Go to Finder and select the Applications folder and xcode in that folder.
7. Click "Add Entry" in the preferences window of LC.
8. Build the file.
That worked for me.
Let me know if it works for you.
Tom
I had exactly the experience and error messages you had.
Here is what I was missing.
1. Download xcode 10.0.
2. Put the file into your applications folder
3. Open Livecode
4. On the taskbar at the top click "LiveCode, Preferences"
5. Select "Mobile Support"
6. Go to Finder and select the Applications folder and xcode in that folder.
7. Click "Add Entry" in the preferences window of LC.
8. Build the file.
That worked for me.
Let me know if it works for you.
Tom
-
- Posts: 128
- Joined: Thu Jun 30, 2016 3:08 am
Re: Building Standalone App, Error with SDK
Tom,
I've followed your steps and I still get an error. I am using the newest version of LC and Xcode 10. I get the popup box. It says, "iOS Simulator 11.2".
I've also followed the LC documentation several times. Still no go. I wish they would just let us drop an Xcode file into Xcode. That would allow us to tweak the app within Xcode and also make it pretty simple for compiling. I can't get an app built yet so I have no idea if I can look at the package contents of the app. That would be great.
Any other help that you might offer. This whole enterprise of setting the environment up has been nightmarish for me, but these kinds of setups are never as easy as they sound.
Thanks for any help that you or others are willing to offer.
-Rachel
I've followed your steps and I still get an error. I am using the newest version of LC and Xcode 10. I get the popup box. It says, "iOS Simulator 11.2".
I've also followed the LC documentation several times. Still no go. I wish they would just let us drop an Xcode file into Xcode. That would allow us to tweak the app within Xcode and also make it pretty simple for compiling. I can't get an app built yet so I have no idea if I can look at the package contents of the app. That would be great.
Any other help that you might offer. This whole enterprise of setting the environment up has been nightmarish for me, but these kinds of setups are never as easy as they sound.
Thanks for any help that you or others are willing to offer.
-Rachel
- Attachments
-
- .png (14.04 KiB) Viewed 6408 times
May I never be cured of my curiosity!
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Building Standalone App, Error with SDK
Hello ValiantCuriosity,
I assume you get this dialog when pressing the "Test" button? What have you chosen in Development -> Test Target?
Kind regards,
Panos
--
I assume you get this dialog when pressing the "Test" button? What have you chosen in Development -> Test Target?
Kind regards,
Panos
--
-
- Posts: 128
- Joined: Thu Jun 30, 2016 3:08 am
Re: Building Standalone App, Error with SDK
@Panos
That did the trick. Thank you! Such a simple thing. I wish there was a doc that would give all of the steps. I appreciate your help. The forum offers wonderful support.
-Rachel
That did the trick. Thank you! Such a simple thing. I wish there was a doc that would give all of the steps. I appreciate your help. The forum offers wonderful support.
-Rachel
May I never be cured of my curiosity!
Re: Building Standalone App, Error with SDK
Mind you, I don't dev for mobile, and so have no idea of the actual steps, but does this lesson cover what you need?ValiantCuriosity wrote: ↑Wed Feb 13, 2019 8:02 pmI wish there was a doc that would give all of the steps
-
- Posts: 128
- Joined: Thu Jun 30, 2016 3:08 am
Re: Building Standalone App, Error with SDK
Thanks @Bogs,
Yes, that is one piece of the setup, but it seems, in my case, to be more convoluted. In fact, one of the errors related to using the terminal because Xcode 10.0 couldn't be found even though it was setup properly in LC. Well, long story short, I used the terminal to set up the proper directory, then the app compiled. This might be a little challenge for someone who had never used the terminal before. It would be helpful if these sorts of errors were explained somewhere in documentation. Still, I'm progressing. That is due to your help and everyone else's help too.
It was great fun to see the app test running on the simulator.
Forgot. That collapsible worked just fine on the simulator and the visual effects even showed! KOOL.
Thanks again,
Have a great day.
-Rachel
Yes, that is one piece of the setup, but it seems, in my case, to be more convoluted. In fact, one of the errors related to using the terminal because Xcode 10.0 couldn't be found even though it was setup properly in LC. Well, long story short, I used the terminal to set up the proper directory, then the app compiled. This might be a little challenge for someone who had never used the terminal before. It would be helpful if these sorts of errors were explained somewhere in documentation. Still, I'm progressing. That is due to your help and everyone else's help too.
It was great fun to see the app test running on the simulator.
Forgot. That collapsible worked just fine on the simulator and the visual effects even showed! KOOL.
Thanks again,
Have a great day.
-Rachel
May I never be cured of my curiosity!