Unable to Build to iOS - framework not found AdSupport

Using the old notifications plugin for local notifications is perfectly fine.

Hello again,

I don’t know what’s wrongly setup in our app. So, we ended up using the old notification plugin for the local push notification to avoid this issue.

Now, we are trying to implement the Kidoz plugin from the Corona Marketplace and the issue returns:

Jul 27 12:59:21.809 BuildID: 5979b9712e98b Jul 27 12:59:40.169 Using additional build settings from: build.settings Jul 27 12:59:40.213 Building: Copying app resources Jul 27 12:59:46.174 Building: Unpacking build from server Jul 27 12:59:46.877 Building: Adding plugins Jul 27 12:59:46.931 Analyzing plugins... Jul 27 12:59:46.931 Found native plugin: /Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/CoronaProvider.analytics.flurry Jul 27 12:59:46.932 Found native plugin: /Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/CoronaProvider.native.popup.activity Found native plugin: /Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/CoronaProvider.native.popup.social Found native plugin: /Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/facebook Found native plugin: /Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/plugin.kidoz Found native plugin: /Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/plugin.notifications  Done.  Analyzing Lua plugins... Jul 27 12:59:46.932 Examining plugin: CoronaProvider.analytics.flurry Examining plugin: CoronaProvider.native.popup.activity Examining plugin: CoronaProvider.native.popup.social Examining plugin: facebook Examining plugin: plugin.kidoz Examining plugin: plugin.notifications  Done.  Compiling Slices...  Compiling architecture: armv7 Jul 27 12:59:46.992 \<execute\>cd "/var/folders/5s/fc2r58d13cg6sd0wxr\_h8l300000gp/T/CLtmpJODt1S/armv7";unset LIBRARY\_PATH; export IPHONEOS\_DEPLOYMENT\_TARGET=8; 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.3.sdk" -ObjC -all\_load -fobjc-link-runtime -miphoneos-version-min=8 -std=c++11 -stdlib=libc++ -Xlinker -rpath -Xlinker @executable\_path/Frameworks -L"/Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/libtemplate" -L"/Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/CoronaProvider.analytics.flurry" -L"/Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/CoronaProvider.native.popup.activity" -L"/Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/CoronaProvider.native.popup.social" -L"/Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/facebook" -L"/Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/plugin.kidoz" -L"/Users/kidstv/Desktop/ספוג מאסטר זהב.app/.build/plugin.notifications" -F"/Users/kidstv/Desktop/ספוג מאסטר זהב.app/Frameworks" -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 Accounts -framework AdSupport -framework WebKit -weak\_framework GameController -weak\_framework AssetsLibrary -weak\_framework Photos -weak\_framework Foundation -weak\_framework Twitter -weak\_framework social -lobjc -lsqlite3 -ltemplate -lanalytics-flurry -lnative-popup-activity -lnative-popup-social -lfacebook -lKidozPlugin -lKidozSDK -lnotifications -o "/var/folders/5s/fc2r58d13cg6sd0wxr\_h8l300000gp/T/CLtmpJODt1S/armv7/ספוג מאסטר זהב"\</execute\>  \<result\>ld: warning: directory not found for option '-F/Users/kidstv/Desktop/ספוג מאסטר זהב.app/Frameworks' ld: framework not found AdSupport clang: error: linker command failed with exit code 1 (use -v to see invocation)\</result\> Jul 27 12:59:46.992 ERROR: Builder failed: ld: warning: directory not found for option '-F/Users/kidstv/Desktop/ספוג מאסטר זהב.app/Frameworks' Jul 27 12:59:46.993 ld: framework not found AdSupport clang: error: linker command failed with exit code 1 (use -v to see invocation) BUILD ERROR: There was a problem linking the app.  Check the console for more information. iOS build failed (12) after 36 seconds Jul 27 12:59:47.189 ERROR: Build Failed: There was a problem linking the app.  Check the console for more information.

Removing it, and the app builds just fine…

Don’t know where to start debuging this issue…

@Mars Interactive

I’ve tried including all the plugins you are using in a sample project and I can build the app without any issues.

There’s one strange thing I found in your log above, and that is: " Examining plugin: facebook". Which plugin is that? The current Facebook plugin is plugin.facebook.v4.

We don’t need it, it was there when the app was copied from an older version. I’ve removed it, and tested, but didn’t fix the issue.

In fact, I have removed ALL plugins but the Kidos, and the issue remains…

This is an iOS only issue, as I mentioned. What about the error? Can we use that to understand how to debug it?

@Mars Interactive.

It looks like you have a corrupt Xcode installation. If you go here on your system:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks 

You’ll probably see that the AdSupport.framework is missing, which would mean you’d need to re-install Xcode