Error with Firebase.Analytics for iOS

542 views
Skip to first unread message

cont...@sierraestudio.com

unread,
Sep 21, 2017, 3:20:40 PM9/21/17
to Firebase Google Group
Hi, 

I using Unity 5.4.1f1, I can't build in Xcode for this:

ld: warning: directory not found for option '-L /Users/nameUser/Library/Developer/Xcode/DerivedData/Unity-iPhone-ahvpkpthwylxgacwqohtdeevikpn/Build/Products/Release-iphoneos/GoogleToolboxForMac /Users/nameUser/Library/Developer/Xcode/DerivedData/Unity-iPhone-ahvpkpthwylxgacwqohtdeevikpn/Build/Products/Release-iphoneos/nanopb'
ld
: warning: directory not found for option '-F"/Users/nameUser/Documents/PROY_DIES/ProyectosUnity/NameApp/Build/112CfireAn1/Pods/FirebaseAnalytics/Frameworks"'
ld
: warning: directory not found for option '-F"/Users/nameUser/Documents/PROY_DIES/ProyectosUnity/NameApp/Build/112CfireAn1/Pods/FirebaseCore/Frameworks"'
ld
: warning: directory not found for option '-F"/Users/nameUser/Documents/PROY_DIES/ProyectosUnity/NameApp/Build/112CfireAn1/Pods/FirebaseInstanceID/Frameworks"'
ld
: warning: directory not found for option '-F"/Users/nameUser/Documents/PROY_DIES/ProyectosUnity/NameApp/Build/112CfireAn1/Pods/Google-Mobile-Ads-SDK/Frameworks/frameworks"'
ld
: library not found for -lz}
clang
: error: linker command failed with exit code 1 (use -v to see invocation)


How to fix this? Please help me.

Regards,


Jaime

Anthony Maurice

unread,
Sep 22, 2017, 2:28:01 PM9/22/17
to fireba...@googlegroups.com
Hi Jaime,

I believe this might be similar to the problem discussed here, about "-lz}" not being found: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/firebase-talk/jxur4oWjE2U/3987KkybAgAJ

As mentioned at the end of that email chain, version 1.2.50 of https://github.com/googlesamples/unity-jar-resolver should now resolve it, so you can import it directly yourself.  It will be included in the next version of the Firebase SDK as well, but you can grab it yourself from there.

If that does not resolve your problem, can you send me what settings you have under Assets > Play Services Resolver > iOS Resolver?  I'd expect Checked/Xcode Project/Not Checked/Checked, but possibly something is incorrect in that.

-Anthony

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/8f2ec3a8-cf3f-4084-ba73-8c07e179ca13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages