Can't build to device in latest daily builds (2277 - 2282)

Working on a new app and I have been using the various daily builds with no problems.  I last built with 2264 and was working fine.  I came back from some time away and downloaded 2281 and 2282 and the app builds but upon launching on an iPad, it just crashes with this (as displayed in Xcode):

<Warning>: Application ‘NAME’ exited abnormally with signal 4: Illegal instruction: 4

If I look at the crash report, it displays this:

**Incident Identifier: 8A8C830C-FE67-41CC-8388-9F2019ECBFED
CrashReporter Key:   ff684f0f21f8ae6ca7361da6610fa77311ac7e25
Hardware Model:      iPad1,1
Process:         launchd [856]
Path:            /sbin/launchd
Identifier:      launchd
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2014-04-24 18:00:49.110 -0700
OS Version:      iPhone OS 5.1.1 (9B206)
Report Version:  104

Exception Type:  EXC_BAD_ACCESS (SIGILL)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000
Highlighted Thread:  0

Backtrace not available

Unknown thread crashed with ARM Thread State:
    r0: 0x00000055    r1: 0x00000000      r2: 0x00000000      r3: 0x00000000
    r4: 0x00000000    r5: 0x00000000      r6: 0x00000000      r7: 0x00000000
    r8: 0x00000000    r9: 0x00000000     r10: 0x00000000     r11: 0x00000000
    ip: 0x00000000    sp: 0x00000000      lr: 0x00000000      pc: 0x00000000
  cpsr: 0x20000010

Binary images description not available**

If I remove 2282 and install 2264 again, the app builds fine and launches fine on the device.

Looks like daily build 2277 also causes a crash on app load.  The app does not crash when built with 2275.

I just built the widget demo sample app with 2282 and it built fine, installed on my iPad 4 fine and ran with no issues.

Tell me more about your iPad (model, os?)

Can you build a sample app and have it run?

Rob,

Nope, when I build any of the sample apps, like the widget demo, when I copy it to my iPad, Xcode gives me the following error:

The Info.plist for application at /Users/XXXX/Desktop/WidgetDemo.app specifies a minimum OS version of 6.0, which is too high to be installed on the iPad

Why are these latest builds setting a minimum OS version of 6.0, when that change wasn’t noted at all in the release notes?  Are you changing the minimum version of iOS support, or is this just an error in your code?

As noted in the error above, my iPad has iOS 5.1.1.  It is a first generation iPad.

Apple only uses 2 builds back, which I would think 5.1 would still be included since we are now on the 7.1 SDK.  Let me check with Engineering but with us having to move the SDK forward, I’m not sure there is much we can do to support device’s Apple isn’t supporting any longer.  But I’ll ask.

Rob

I wouldn’t think it would have anything to do with Xcode since if I install 2264 and choose to build for 7.1, it works fine.  You also changed it to default to 7.1 in daily build 2272, and I can still build correctly to an iOS 5.1.1 device up to, and including, daily build 2275.

Thanks for checking, Rob.

Logged this as Case 32365: Beginning with 2277, iOS has a minimum version of 6.0 set

This is bad for us. Do you plan to support back iOS 5.1.1 minimum ?

Walter just blogged about this.  Please read the reason for it here:
 

http://coronalabs.com/blog/2014/04/25/changes-in-minimum-os-version-ios-6/

Thank @Rob, after reading the thread it make sense, especially with a low number of 2%.

While I understand the need to move forward, is there any way that you could add in an option to override that iOS 6.0 minimum and let developers set it and if things don’t work correctly, that’s on them?  My apps don’t use any of the things that you need to move to iOS 6.0 for and would likely continue to work fine.

I think that Walter’s point about technical debt is the reason we can’t.  To keep 5.1.1 means keeping hacks and limits our ability to move forward.

My question was more about removing all the hacks and limits, but not forcing the iOS 6.0 minimum on apps to see if apps that don’t rely on any of those hacks would still be able to work.

But I think that actually might be happening with mine since I have iOS 5.1.1 specified as the minimum in the build.settings file and that is overriding whatever you set by default and is allowing the app to be installed on iOS 5.1.1 but then crashing with an illegal instruction.  So probably not going to work.

I do wish you guys would time these major changes better, like not right before a huge slew of bug fixes that people have been waiting for for a long time.

I just built the widget demo sample app with 2282 and it built fine, installed on my iPad 4 fine and ran with no issues.

Tell me more about your iPad (model, os?)

Can you build a sample app and have it run?

Rob,

Nope, when I build any of the sample apps, like the widget demo, when I copy it to my iPad, Xcode gives me the following error:

The Info.plist for application at /Users/XXXX/Desktop/WidgetDemo.app specifies a minimum OS version of 6.0, which is too high to be installed on the iPad

Why are these latest builds setting a minimum OS version of 6.0, when that change wasn’t noted at all in the release notes?  Are you changing the minimum version of iOS support, or is this just an error in your code?

As noted in the error above, my iPad has iOS 5.1.1.  It is a first generation iPad.

Apple only uses 2 builds back, which I would think 5.1 would still be included since we are now on the 7.1 SDK.  Let me check with Engineering but with us having to move the SDK forward, I’m not sure there is much we can do to support device’s Apple isn’t supporting any longer.  But I’ll ask.

Rob

I wouldn’t think it would have anything to do with Xcode since if I install 2264 and choose to build for 7.1, it works fine.  You also changed it to default to 7.1 in daily build 2272, and I can still build correctly to an iOS 5.1.1 device up to, and including, daily build 2275.

Thanks for checking, Rob.

Logged this as Case 32365: Beginning with 2277, iOS has a minimum version of 6.0 set

This is bad for us. Do you plan to support back iOS 5.1.1 minimum ?

Walter just blogged about this.  Please read the reason for it here:
 

http://coronalabs.com/blog/2014/04/25/changes-in-minimum-os-version-ios-6/

Thank @Rob, after reading the thread it make sense, especially with a low number of 2%.