iOS Simulator 6.0 issue

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
richardmac
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 211
Joined: Sun Oct 24, 2010 12:13 am

iOS Simulator 6.0 issue

Post by richardmac » Sat Dec 08, 2012 6:49 pm

I have three stacks I made last year. One of them opens in the iOS Simulator 6.0 just fine. The other two don't. I can make a brand new stack and it opens in the simulator 6.0 just fine.

So I took a stack that wouldn't open, I removed everything. Nothing left in the stack but an empty card 1. I set the standalone settings identical to the stack that would open fine in the simulator. And it still won't work! I get the following message:

"Unable to start simulation: iOS Simulator failed to install the application."

Anyone know what's going on? Here are my specifics:

LiveCode 5.5.3 (1496)
iOS Simulator version 6.0 (358.4)
Xcode version 4.5.2 (4G2008a)

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4168
Joined: Sun Jan 07, 2007 9:12 pm

Re: iOS Simulator 6.0 issue

Post by bn » Sat Dec 08, 2012 8:29 pm

Hi Richard,

I would try this on the stack that does not work:

make sure to turn on LiveCode UI Elements..
LiveCode UI Elements.png
LiveCode UI Elements.png (31.65 KiB) Viewed 10047 times
in the property inspector -> Custom Properties
customKeys.png
customKeys.png (21.22 KiB) Viewed 10047 times
now choose cRevStandalone
cRevStandalone.png
cRevStandalone.png (24.3 KiB) Viewed 10047 times
and delete that property i.e. cRevStandaloneSettings.

Save the stack

Then you choose Standalone Application Settings in the File Menu again and set your iOS settings.

You might want to try this on a copy of your original stack.

Not tested but should work.

Kind regards
Bernd

richardmac
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 211
Joined: Sun Oct 24, 2010 12:13 am

Re: iOS Simulator 6.0 issue

Post by richardmac » Sun Dec 09, 2012 12:19 am

Bernd,

Thank you for the response. I followed the steps you posted, then went back and set the iOS settings, and same result - "Unable to start simulation: iOS Simulator failed to install the application."

Any other ideas? I have a stack with literally nothing in it that won't open in the simulator, and I can make a brand new empty stack that opens fine. Same Standalone Application settings for both. I don't dare upload to the App store until I know what's going on.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4168
Joined: Sun Jan 07, 2007 9:12 pm

Re: iOS Simulator 6.0 issue

Post by bn » Sun Dec 09, 2012 12:29 am

Hi Richard,

I thought it would work, well, apparently not. Now it is hard to guess what is going on.

Could you zip the stack (the one that is stripped down and refuses to run) and upload it here?

You could try to change the internal app id that defaults to "com.yourcompany.yourapp" to something else than what is in your stack. Maybe that helps. I've seen weird things with this.

Kind regards
Bernd

richardmac
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 211
Joined: Sun Oct 24, 2010 12:13 am

Re: iOS Simulator 6.0 issue

Post by richardmac » Sun Dec 09, 2012 2:21 am

Attached is the stack...

As far as I can tell, I have taken everything out of the stack - every graphic, every script, every card. It's empty. And it won't run in the simulator. It has to be something about the file, maybe? But it's not the only one - I have two other stacks for the same project. One opens fine, the other doesn't. This is just weird.
Attachments
HAT for iPhone4 copy.livecode.zip
(1.72 KiB) Downloaded 333 times

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4168
Joined: Sun Jan 07, 2007 9:12 pm

Re: iOS Simulator 6.0 issue

Post by bn » Sun Dec 09, 2012 2:10 pm

Hi Richard,

Sorry, I don't have iOS Simulator 6.0 installed. So I can not test your stack for iOS 6.0 Simulator.

Maybe someone else could test your stack.

I see that you use 5.5.3 (build 1496), the current build of 5.5.3 is 1497.

I would download that build. If you go to your account and download 5.5.3 you will get 1497 automatically.

Kind regards
Bernd

richardmac
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 211
Joined: Sun Oct 24, 2010 12:13 am

Re: iOS Simulator 6.0 issue

Post by richardmac » Sun Dec 09, 2012 4:15 pm

Thanks - I will go grab the latest version.

The stack in question opens fine in the 5.0 and 5.1 simulators. It's just the 6.0 simulator that won't open it.

I'm going to go ahead and update my app in the store, I guess. The version that's in there now works fine, except the screen size is wrong on the iPhone 5. My new version fixes that, but I can't test it. If the previous version I uploaded worked, this one should too, I guess.

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: iOS Simulator 6.0 issue

Post by CALL-151 » Mon Dec 10, 2012 2:02 am

Most likely you have another app installed on the simulator with the same internal app id. Either delete that one from the simulator or change the internal app id of the one that won't install as Bernd suggested.

jol
Posts: 1
Joined: Fri May 04, 2012 1:28 pm

Re: iOS Simulator 6.0 issue

Post by jol » Mon Jan 14, 2013 7:22 pm

i had problems running the simulator, but got sorted by finding the 'reset' in the first drop-down menu of the ios simulator

juslee
Posts: 1
Joined: Tue Jan 22, 2013 4:11 pm

Re: iOS Simulator 6.0 issue

Post by juslee » Wed Jan 23, 2013 1:10 am

jol wrote:i had problems running the simulator, but got sorted by finding the 'reset' in the first drop-down menu of the ios simulator
That worked perfectly for me, and saved me a whole load of messing about. Thank you!

richardmac
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 211
Joined: Sun Oct 24, 2010 12:13 am

Re: iOS Simulator 6.0 issue

Post by richardmac » Sat Apr 20, 2013 2:44 pm

I started this thread and never got back to it! The problem ended up being what CALL-151 suggested - Once I removed the app from the simulator, it would open again. So if this were a support forum I would say thread closed, case solved.

Post Reply