AIR 31 and -platformsdk switch of iOS12 Beta - unable to compile
Firstly many thanks for AIR 31 Beta. I am glad I am able to run on iOS12 Beta.
Problem Description:
When I use Xcode10 beta to compile with iOS 12 beta SDK I receive compile errors
Steps to Reproduce:
Compile basic Hello World AIR app for iOS 12 beta using Xcode 10 beta 5 and the switch: -platformsdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
Actual Result:
ld: library not found for -lstdc++
ld: library not found for -lstdc++
Compilation failed while executing : ld64
If I copy + replace ld from
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
to
/AIRSDK_31Beta/lib/aot/bin/ld64/ld64 I receive the following error:
dyld: Library not loaded: @rpath/libtapi.dylib
Referenced from: /Users/xxxxx/SDKs/AIRSDK_31B/lib/aot/bin/ld64/ld64
Reason: image not found
I have attempted to copy libtapi.dylib from xctoolchain to several folders under the AIRSDK but I still receive the image not found
Expected Result:
I can use -platformsdk switch to compile using Xcode 12 beta
Any Workarounds:
None Known
I have added same bug the the issue tracker https://tracker.adobe.com/#/view/AIR-4198714
