Skip to main content
Inspiring
Sep 13, 2017 8:09 PM UTC
Answered

iOS 11 platform SDK

When setting the -platformsdk argument to point to the iOS 11 platform SDK in the Xcode 9 GM seed, the build fails with this:

ld: library not found for -lgcc_s.1

I know this has happened before with XCode updates. I copied over the new ld64 file, installed the new commandline tools etc. Is this something that will have to be fixed with an AIR SDK update, or is there something else I can try? We're using a bunch of ANEs, maybe those need to be repackaged?

Any help is appreciated - Peter

This topic is closed to new replies. Start a new post to keep the conversation going.
el111Correct answer
Legend
Sep 13, 2017 8:43 PM UTC

iOS sdk 11 doesn't have this lib.

You can copy from 10.3

Copy this tbd from here:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libgcc_s.1.tbd

to here:

/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libgcc_s.1.tbd

8 replies

Participant
Jan 22, 2020 5:07 PM UTC

Ok as you I can do it same procedures like

iOS sdk 11 doesn't have this lib.

You can copy from 10.3

 

Copy this tbd from here:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libgcc_s.1.tbd

to here:

/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libgcc_s.1.tbd

Hope its solved my problem.
 

Likes

 

 

 

Translate
wanting252
Participant
Sep 15, 2017 3:17 PM UTC

Hi,

I'm also have this problem in Window. How do you copy the ios SDK to ADobe AIR? I cannot find the location of Ios SDK in Adobe AIR folder in Window.

Translate
руслано79739685
Participant
Nov 2, 2017 4:59 AM UTC

iOS SDK works only on macOS

Translate
el111Correct answer
Legend
Sep 13, 2017 8:43 PM UTC

iOS sdk 11 doesn't have this lib.

You can copy from 10.3

Copy this tbd from here:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libgcc_s.1.tbd

to here:

/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libgcc_s.1.tbd

Translate
Legend
Sep 13, 2017 8:48 PM UTC

After this. Please make sure you test on a device with iOS 11.

When I use any platformSDK - it breaks app rotation on iOS11 on my iPad Pro.

I have to omit this (so it uses the default 10.1 SDK included with AIR)

Here is the ticket. Is under known issues in the release notes.

https://tracker.adobe.com/#/view/AIR-4198406

Translate
Inspiring
Sep 13, 2017 9:49 PM UTC

is the rotation issue only with iPad pro? I'm not seeing anything weird so far, but our app is locked in portrait mode so we actually don't want it to rotate at all.

Translate