Hi!
Has anybody had any link error when building an iOS app after having switched over the macOS 10.12 (Sierra), Xcode 8 and iOS 10 SDK? My app, which worked fine before, now won’t link as Corona will return this …
Compiling Slices... Compiling architecture: armv7 Sep. 19 03:25:09.527 \<execute\>cd "/var/folders/d1/c4vn433x1fn4shcbtpllqr1h0000gn/T/CLtmph1evPt/armv7";unset LIBRARY\_PATH; export IPHONEOS\_DEPLOYMENT\_TARGET=6; export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin";/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libstdc++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk -ObjC -all\_load -fobjc-link-runtime -miphoneos-version-min=6 -L"/Users/simonm/Downloads/TestApp.app/.build/libtemplate" -L"/Users/simonm/Downloads/TestApp.app/.build/CoronaProvider.gameNetwork.apple" -L"/Users/simonm/Downloads/TestApp.app/.build/plugin.coronaAds" -L"/Users/simonm/Downloads/TestApp.app/.build/plugin.facebook.v4" -L"/Users/simonm/Downloads/TestApp.app/.build/plugin.flurry.analytics" -L"/Users/simonm/Downloads/TestApp.app/.build/plugin.google.play.services" -L"/Users/simonm/Downloads/TestApp.app/.build/plugin.openssl" -L"/Users/simonm/Downloads/TestApp.app/.build/plugin.revmob" -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreVideo -framework CoreText -framework GameKit -framework GLKit -framework ImageIO -framework MapKit -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework OpenAL -framework OpenGLES -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework CoreTelephony -framework WebKit -framework AdSupport -framework Accounts -framework EventKit -framework EventKitUI -weak\_framework GameController -weak\_framework AssetsLibrary -weak\_framework Photos -weak\_framework Foundation -weak\_framework Twitter -lobjc -lsqlite3 -ltemplate -lgameNetwork-apple -lplugin\_coronaAds -lz -lxml2 -llibc++ -llibstdc++ -lfacebook -lFlurryPlugin -lFlurry\_7.5.2 -lgoogle-play-services -lplugin.openssl -lrevmobPlugin -o "/var/folders/d1/c4vn433x1fn4shcbtpllqr1h0000gn/T/CLtmph1evPt/armv7/TestApp"\</execute\> \<result\>clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of iOS 7 ld: library not found for -llibc++ clang: error: linker command failed with exit code 1 (use -v to see invocation)\</result\> Sep. 19 03:25:09.528 ERROR: Builder failed: clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of iOS 7 Sep. 19 03:25:09.528 ld: library not found for -llibc++ clang: error: linker command failed with exit code 1 (use -v to see invocation) Sep. 19 03:25:09.533 BUILD ERROR: There was a problem linking the app. Check the console for more information. Sep. 19 03:25:09.561 iOS build failed (12) after 301 seconds Sep. 19 03:25:09.638 ERROR: Build Failed: There was a problem linking the app. Check the console for more information. Sep. 19 03:25:09.638
There is definitely a “libc++.dylib” in the /usr/lib directory, so nothing has changed there.
I tried to revert to older versions of Xcode (7.3.1), iOS 9.3 and different versions of Corona (all the way from the most recent daily build to the last official release) and the problem persists …
Any thoughts?
Thanks in advance for any help!