EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 445 forks source link

iOS build on release mode failed #574

Open pdupavillon opened 6 years ago

pdupavillon commented 6 years ago

Hello, I'm using your plugin on my app, unfortunately I can't make it work on release mode ... Thanks for your help

version : "nativescript-plugin-firebase": "^5.0.4"

firebase.nativescript.json : { "using_ios": true, "using_android": false, "firestore": false, "realtimedb": false, "remote_config": false, "messaging": false, "crash_reporting": false, "storage": false, "facebook_auth": false, "google_auth": false, "admob": true, "invites": false }

command : tns build ios --release

error : Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_CADisplayLink", referenced from: objc-class-ref in GoogleMobileAds(flat-x86_64) "_OBJC_CLASS_$_CAMediaTimingFunction", referenced from: objc-class-ref in GoogleMobileAds(flat-x86_64) "_OBJC_CLASS_$_CATransaction", referenced from: objc-class-ref in GoogleMobileAds(flat-x86_64) "_OBJC_CLASS_$_CATransition", referenced from: objc-class-ref in GoogleMobileAds(flat-x86_64) "_kCATransitionPush", referenced from: l1515 in GoogleMobileAds(flat-x86_64) "_kCATransitionFromTop", referenced from: l1515 in GoogleMobileAds(flat-x86_64) "_kCAMediaTimingFunctionEaseInEaseOut", referenced from: l1515 in GoogleMobileAds(flat-x86_64) "_CACurrentMediaTime", referenced from: l292 in GoogleMobileAds(flat-x86_64)

abhayastudios commented 5 years ago

A bit late to the party, but NativeScript has build for platform x86_64 disabled by default (for now). Might be related to that (see this issue).