Copy link to clipboard
Copied
Hi all,
i have an iMac with OS X 10.0.5 installed and Xcode 7.1. When i try to compile my AIR app with Flash Professional 2015
i receive an error like this:
ld: library not found for -lgcc_s.1
ld: library not found for -lSystem.B
I use iOS SDK:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk
but with the last Xcode 6.4 and iOS SDK 8.4 i don't have any problem.
Why?
Thanks for interesting.
Copy link to clipboard
Copied
Now that you've received your initiation scars, welcome to the club!
Issue originally reported in thread Flex 4.6 AIR 19 iOS 9 ADT package fail: library not found for -ISystem.B
I strongly recommend using Xcode 6.4 until Adobe fixes the problem with a new, robust AIR release.
Copy link to clipboard
Copied
Hello,
Thank you for reporting the issue. We have already internal bug for this error.
The issue is because of removal of dylib and introduction of new tbd (text based dynamic library). The system libraries are for Mac architecture hence are not usable. Currently we are using workaround by replacing the ld which works fine for us.
Here are the steps :
mv /AIRSDK/lib/aot/bin/ld64/ld64
/AIRSDK/lib/aot/bin/ld64/ld64.old
ln -s /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
/AIRSDK/lib/aot/bin/ld64/ld64
Regards,
Mayank