iOS 6.1 and Xcode 4.6

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

SteveHanlan
Posts: 80
Joined: Fri Jul 09, 2010 6:28 pm

iOS 6.1 and Xcode 4.6

Post by SteveHanlan » Tue Jan 29, 2013 7:51 am

Running Livecode 5.5.3
Just upgraded iPad to iOS 6.1 and save as standalone failed due to lack of SDK
Upgraded xCode to 4.6 and no change

In Livecode preferences/Mobile Support, (Red square showing), when I Add entry and pick the xCode App from the Applications folder it says ...

The chosen folder is not a valid iOS SDK

Any ideas? Deployment has just come to a standstill

Thanks
Steve

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: iOS 6.1 and Xcode 4.6

Post by Jellicle » Tue Jan 29, 2013 9:32 am

Rule 1: Never update until RunRev has caught up with Apple.
Rule 2: See rule 1.

Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.

gpb01
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Sat Jun 04, 2011 5:41 pm

Re: iOS 6.1 and Xcode 4.6

Post by gpb01 » Tue Jan 29, 2013 5:10 pm

SteveHanlan wrote:Running Livecode 5.5.3
Just upgraded iPad to iOS 6.1 and save as standalone failed due to lack of SDK
Upgraded xCode to 4.6 and no change

In Livecode preferences/Mobile Support, (Red square showing), when I Add entry and pick the xCode App from the Applications folder it says ...

The chosen folder is not a valid iOS SDK

Any ideas? Deployment has just come to a standstill

Thanks
Steve
Hi Steve,
go on your Apple Developer area and download the old versions of XCode, rename them e.g. adding version and add them in preferences/Mobile Support.

Obviously this allow you to use up to the 6.0 SDK ... for the new one ... I think you have to wait a new LiveCode release that recognize the new XCode 4.6 ...

Guglielmo

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: iOS 6.1 and Xcode 4.6

Post by Mag » Sun Feb 10, 2013 12:52 am

Hi all, I have Xcode 4.5.2 and LiveCode 5.5.3. Compiling beta apps if fine and them run fine in iOS 6.0 or 5.x, the problems happens when trying to install them to devices running iOS 6.1 (Xcode refuse to install them and iOS refuse to dowload them). I don't know what could happen if I should send the app to iTunes Store. Maybe the problem is just for developing builds. Any other had this problem (not related with LiveCode actually)?

genie
Posts: 108
Joined: Thu Dec 01, 2011 7:19 am

Re: iOS 6.1 and Xcode 4.6

Post by genie » Fri Feb 22, 2013 8:01 am

Mag wrote:Hi all, I have Xcode 4.5.2 and LiveCode 5.5.3. Compiling beta apps if fine and them run fine in iOS 6.0 or 5.x, the problems happens when trying to install them to devices running iOS 6.1 (Xcode refuse to install them and iOS refuse to dowload them). I don't know what could happen if I should send the app to iTunes Store. Maybe the problem is just for developing builds. Any other had this problem (not related with LiveCode actually)?
I have quite the same problem... according to App Store review team, my app crashes on devices running with iOS 6.1. I'm getting frustrated because I cannot replicate the crashing on an iPad runnung iOS 6.1.

What should I do? :(

On LiveCode's preferences window, I have...
Available SDKs: 6.0

Should I do something about that? Add another SDK?

gpb01
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Sat Jun 04, 2011 5:41 pm

Re: iOS 6.1 and Xcode 4.6

Post by gpb01 » Fri Feb 22, 2013 11:10 am

genie wrote:...
What should I do? :(
...
Install both LiveCode 5.5.4 and the last version of XCode, so you will have both the SDK and Simulator for 6.1 ...

Guglielmo

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: iOS 6.1 and Xcode 4.6

Post by Mag » Fri Feb 22, 2013 11:42 am

genie wrote:
Mag wrote:Hi all, I have Xcode 4.5.2 and LiveCode 5.5.3. Compiling beta apps if fine and them run fine in iOS 6.0 or 5.x, the problems happens when trying to install them to devices running iOS 6.1 (Xcode refuse to install them and iOS refuse to dowload them). I don't know what could happen if I should send the app to iTunes Store. Maybe the problem is just for developing builds. Any other had this problem (not related with LiveCode actually)?
I have quite the same problem... according to App Store review team, my app crashes on devices running with iOS 6.1. I'm getting frustrated because I cannot replicate the crashing on an iPad runnung iOS 6.1.

What should I do? :(

On LiveCode's preferences window, I have...
Available SDKs: 6.0

Should I do something about that? Add another SDK?
Hi genie, actually my problem was different. Cannot install (no crash involved) a *beta* app in an updated device. This is something that happens also when you use Xcode for development. Please note that I'm a new user of LiveCode and posted the question mainly to understand how I have to proceed. After some days since my post has been releases a new version of LiveCode supporting the new version of Xcode and the problem disappaired. So I learnt that when Apple released a new iOS version (and a new Xcode version), to create and distribute betas you have just to wait that RunRev released a new version of LiveCode supporting them. This is a question that affects only the beta creation not the final releases creation. Hope this help clarifing my previous post.

genie
Posts: 108
Joined: Thu Dec 01, 2011 7:19 am

Re: iOS 6.1 and Xcode 4.6

Post by genie » Tue Feb 26, 2013 5:54 am

gpb01 wrote:
genie wrote:...
What should I do? :(
...
Install both LiveCode 5.5.4 and the last version of XCode, so you will have both the SDK and Simulator for 6.1 ...

Guglielmo
This might sound some silly question but... do I really need 6.1 SDK when I need to run apps on iOS 6.1? And, not having the SDK that corresponds the iOS could cause a crash?

gpb01
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Sat Jun 04, 2011 5:41 pm

Re: iOS 6.1 and Xcode 4.6

Post by gpb01 » Tue Feb 26, 2013 7:12 am

genie wrote:...
This might sound some silly question but... do I really need 6.1 SDK when I need to run apps on iOS 6.1? And, not having the SDK that corresponds the iOS could cause a crash?
Not necessary, I have some of my App that I don't have recompiled and still running on iOS 6.1.2 :)

... Some of those that do not work are those which are using "externals" (... which have to be recompiled with the new SDK and new externals) !

Guglielmo

genie
Posts: 108
Joined: Thu Dec 01, 2011 7:19 am

Re: iOS 6.1 and Xcode 4.6

Post by genie » Tue Feb 26, 2013 9:42 am

gpb01 wrote:
genie wrote:...
This might sound some silly question but... do I really need 6.1 SDK when I need to run apps on iOS 6.1? And, not having the SDK that corresponds the iOS could cause a crash?
Not necessary, I have some of my App that I don't have recompiled and still running on iOS 6.1.2 :)

... Some of those that do not work are those which are using "externals" (... which have to be recompiled with the new SDK and new externals) !

Guglielmo

I see... :o

In fact, I have some externals.. written in ObjC. So then maybe I have to recompile that using the latest xCode.
Thanks so much guglielmo for clarifying that. :wink:

genie
Posts: 108
Joined: Thu Dec 01, 2011 7:19 am

Re: iOS 6.1 and Xcode 4.6

Post by genie » Wed Mar 20, 2013 5:00 am

genie wrote:
gpb01 wrote:
genie wrote:...
This might sound some silly question but... do I really need 6.1 SDK when I need to run apps on iOS 6.1? And, not having the SDK that corresponds the iOS could cause a crash?
Not necessary, I have some of my App that I don't have recompiled and still running on iOS 6.1.2 :)

... Some of those that do not work are those which are using "externals" (... which have to be recompiled with the new SDK and new externals) !

Guglielmo

I see... :o

In fact, I have some externals.. written in ObjC. So then maybe I have to recompile that using the latest xCode.
Thanks so much guglielmo for clarifying that. :wink:
So, I have recompiled the externals with xCode 4.6 (having support for 6.1 sdk), and submitted to app store, but my app has been rejected again.
Says it's crashing on 6.1.2 this time.
"We found that your app crashed on iPhone 5 and three separate iPad 3rd Generations running iOS 6.1.2"

I checked developer.apple.com and the latest xCode there is 4.6.1, still with iOS 6.1 SDK. I have previously compiled my externals with iOS 6.1 SDK already. What else do I need to do? Should I download new xCode even if it just have same iOS SDK as xcode 4.6?


Thanks,
Genie

gpb01
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Sat Jun 04, 2011 5:41 pm

Re: iOS 6.1 and Xcode 4.6

Post by gpb01 » Wed Mar 20, 2013 7:40 am

genie wrote: So, I have recompiled the externals with xCode 4.6 (having support for 6.1 sdk), and submitted to app store, but my app has been rejected again.
Says it's crashing on 6.1.2 this time.
"We found that your app crashed on iPhone 5 and three separate iPad 3rd Generations running iOS 6.1.2"
....
Hi genie,
but ... have you tried your application in the iOS simulator ? What happens ? The simulation with iPhone 5 and iPad, iOS 6.1.2 work fine ?

Guglielmo

genie
Posts: 108
Joined: Thu Dec 01, 2011 7:19 am

Re: iOS 6.1 and Xcode 4.6

Post by genie » Wed Mar 20, 2013 9:39 am

gpb01 wrote:
genie wrote: So, I have recompiled the externals with xCode 4.6 (having support for 6.1 sdk), and submitted to app store, but my app has been rejected again.
Says it's crashing on 6.1.2 this time.
"We found that your app crashed on iPhone 5 and three separate iPad 3rd Generations running iOS 6.1.2"
....
Hi genie,
but ... have you tried your application in the iOS simulator ? What happens ? The simulation with iPhone 5 and iPad, iOS 6.1.2 work fine ?

Guglielmo
Hmmm... I currently do not have 6.1.2.

On Mobile Support...
Available device SDKs: 6.0, 6.1
Available simulators: 4.3, 6.0, 6.1

^from xCode 4.5 and xCode 4.6

gpb01
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Sat Jun 04, 2011 5:41 pm

Re: iOS 6.1 and Xcode 4.6

Post by gpb01 » Wed Mar 20, 2013 3:00 pm

genie wrote: Hmmm... I currently do not have 6.1.2.

On Mobile Support...
Available device SDKs: 6.0, 6.1
Available simulators: 4.3, 6.0, 6.1

from xCode 4.5 and xCode 4.6


Ok, I have XCode 4.6.1 (4H512) and in the Simulator I have the following version possibility : 5.0 (9A334) , 5.1 (9B176) , 6.0 (10A403) , 6.1 (10B141) on the following possible devices : iPad, iPad Retina, iPhone, iPhone (Retina 3.5-inch), iPhone (Retina 4-inch) ... so, in the simulator, which one have you tried ?

Guglielmo

genie
Posts: 108
Joined: Thu Dec 01, 2011 7:19 am

Re: iOS 6.1 and Xcode 4.6

Post by genie » Thu Mar 21, 2013 6:17 am

gpb01 wrote: Ok, I have XCode 4.6.1 (4H512) and in the Simulator I have the following version possibility : 5.0 (9A334) , 5.1 (9B176) , 6.0 (10A403) , 6.1 (10B141) on the following possible devices : iPad, iPad Retina, iPhone, iPhone (Retina 3.5-inch), iPhone (Retina 4-inch) ... so, in the simulator, which one have you tried ?
Guglielmo
Hi Guglielmo!

Thanks for your response. :)

I have tried everything....form simulator 5.0 to 6.1. Works perfectly on ALL devices runny iOS 6.1, but crashes on older version of iOS -- 6.0, 5.1, 5.0.

How can I test 6.1.2? :(


Thanks,
Genie

Post Reply