Corona Enterprise and iOS 4.3 ?

Hi,

I’m currently trying Corona Enterprise. I tried to launch my XCode project with “Deployment target” set to 4.3, and I get this compile error :

clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

It seems like the project is using libc++, which is like libstdc++ but only for iOS 5.0+. Then I tried to change it to libstdc++, but on OS < 5.0 I get another error :

dyld: Library not loaded: /System/Library/Frameworks/GLKit.framework/GLKit

Which seems also only available for iOS 5.0+. I assume if I remove it then nothing would work anymore, so here is my question:

How can I build my Corona Enterprise XCode project for the deployment target 4.3 ?

Best regards,

Jeremy. [import]uid: 188126 topic_id: 32707 reply_id: 332707[/import]

Ok, I shouldn’t have been such cautious. Removing GLKit did the trick.

I’d be glad if someone could explain me how/what for Corona is using GLKit ? [import]uid: 188126 topic_id: 32707 reply_id: 130009[/import]

Ok, I shouldn’t have been such cautious. Removing GLKit did the trick.

I’d be glad if someone could explain me how/what for Corona is using GLKit ? [import]uid: 188126 topic_id: 32707 reply_id: 130009[/import]

We are planning to move to GLKit. That’s one of several driving factors for why we want to drop iOS 4.3 support, as GLKit is only available in iOS 5 and later.

By default, Corona Enterprise supports iOS 4.3 to iOS 6. We achieve this by setting the minimum deployment target to iOS 4.3. And then setting “Base SDK” to iOS 6.0, so we can link against the latest frameworks available in iOS 6. In practice this means, Corona targets iOS 6 and is backwards compatible to iOS 4.3.

If you are linking to frameworks that are not available in an older version of iOS, you need to make sure you set the “Optional” flag. (For your *target*, go to “Build Phases” => “Link Binary With Libraries”, then select “Optional” for the framework on the right hand side).
[import]uid: 26 topic_id: 32707 reply_id: 130028[/import]

We are planning to move to GLKit. That’s one of several driving factors for why we want to drop iOS 4.3 support, as GLKit is only available in iOS 5 and later.

By default, Corona Enterprise supports iOS 4.3 to iOS 6. We achieve this by setting the minimum deployment target to iOS 4.3. And then setting “Base SDK” to iOS 6.0, so we can link against the latest frameworks available in iOS 6. In practice this means, Corona targets iOS 6 and is backwards compatible to iOS 4.3.

If you are linking to frameworks that are not available in an older version of iOS, you need to make sure you set the “Optional” flag. (For your *target*, go to “Build Phases” => “Link Binary With Libraries”, then select “Optional” for the framework on the right hand side).
[import]uid: 26 topic_id: 32707 reply_id: 130028[/import]