Building Standalone App, Error with SDK

Getting into LiveCode for iOS? Ask your questions here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
smith8867
Posts: 57
Joined: Tue Nov 18, 2014 5:36 pm

Building Standalone App, Error with SDK

Post by smith8867 » Tue Feb 05, 2019 5:59 pm

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:
Screenshot 2019-02-05 at 16.55.24.png
When I try and add Xcode to the LiveCode SDK Preferences, I get this:
Screenshot 2019-02-05 at 16.59.09.png
Any help would be appreciated. Thanks!

trags3
Posts: 261
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: Building Standalone App, Error with SDK

Post by trags3 » Wed Feb 06, 2019 12:55 am

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

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 561
Joined: Fri Feb 06, 2015 4:03 pm

Re: Building Standalone App, Error with SDK

Post by LiveCode_Panos » Wed Feb 06, 2019 8:22 am

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
--

smith8867
Posts: 57
Joined: Tue Nov 18, 2014 5:36 pm

Re: Building Standalone App, Error with SDK

Post by smith8867 » Wed Feb 06, 2019 2:36 pm

LiveCode_Panos wrote:
Wed Feb 06, 2019 8:22 am
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
--
I installed Xcode 10. Tried to add the SDK to the LiveCode preferences and still get this?:
Screenshot 2019-02-06 at 13.35.14.png
When saving as a standalone, I get this:
Screenshot 2019-02-06 at 13.38.49.png
Xcode versions are getting smaller and smaller...

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 561
Joined: Fri Feb 06, 2015 4:03 pm

Re: Building Standalone App, Error with SDK

Post by LiveCode_Panos » Wed Feb 06, 2019 5:15 pm

Are you sure the second set of screenshots are from livecode 9.0.2?

trags3
Posts: 261
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: Building Standalone App, Error with SDK

Post by trags3 » Wed Feb 06, 2019 7:37 pm

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

ValiantCuriosity
Posts: 128
Joined: Thu Jun 30, 2016 3:08 am

Re: Building Standalone App, Error with SDK

Post by ValiantCuriosity » Tue Feb 12, 2019 11:46 pm

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
Attachments
.png
.png (14.04 KiB) Viewed 623 times
May I never be cured of my curiosity! :D

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 561
Joined: Fri Feb 06, 2015 4:03 pm

Re: Building Standalone App, Error with SDK

Post by LiveCode_Panos » Wed Feb 13, 2019 9:19 am

Hello ValiantCuriosity,

I assume you get this dialog when pressing the "Test" button? What have you chosen in Development -> Test Target?

Kind regards,
Panos
--

ValiantCuriosity
Posts: 128
Joined: Thu Jun 30, 2016 3:08 am

Re: Building Standalone App, Error with SDK

Post by ValiantCuriosity » Wed Feb 13, 2019 8:02 pm

@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
May I never be cured of my curiosity! :D

bogs
Posts: 3287
Joined: Sat Feb 25, 2017 10:45 pm

Re: Building Standalone App, Error with SDK

Post by bogs » Wed Feb 13, 2019 9:57 pm

ValiantCuriosity wrote:
Wed Feb 13, 2019 8:02 pm
I wish there was a doc that would give all of the steps
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?
Image

ValiantCuriosity
Posts: 128
Joined: Thu Jun 30, 2016 3:08 am

Re: Building Standalone App, Error with SDK

Post by ValiantCuriosity » Wed Feb 13, 2019 10:18 pm

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. :D
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! :D

Post Reply

Return to “iOS Deployment”