iOS build error while intergrate Firebase on Unity project

819 views
Skip to first unread message

Jinun Park

unread,
Dec 5, 2017, 10:56:05 AM12/5/17
to Firebase Google Group
Hi,

I'm trying to intergrate Firebase Analytics on my Unity project.

However, I'm facing below issue on iOS build:

ld: warning: directory not found for option '-L/Users/build/Library/Developer/Xcode/DerivedData/Unity-iPhone-ctavkeyqwnrrztgfgjtapwdnbsmp/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Debug-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/Users/build/Library/Developer/Xcode/DerivedData/Unity-iPhone-ctavkeyqwnrrztgfgjtapwdnbsmp/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Debug-iphoneos/nanopb'
ld: library not found for -lGoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm using Unity 5.6.1f1, XCode 8.2.1, Firebase 4.7.0, Play Service Resolver For Unity 1.2.59.

I read previous thread on this group, and tried to use Play Service Resolver latest version. But I faced above error on build.

And I tried Pod dependency on AppDependency.xml like this:

<iosPod name="GoogleToolboxForMac" version="~> 2.1" minTargetSdk="7.0">
</iosPod>

I saw Podfile was generated with AppDependency, so GoogleToolboxForMac installed.


I wonder what I did wrong or mistake.

Thanks,
Jinun

Stewart Miles

unread,
Dec 6, 2017, 12:23:21 PM12/6/17
to Firebase Google Group
Hi Jinun,

Have you been able to reproduce this with our sample project?

It sounds like Pod installation failed.  Are there any errors in your Unity log when you exported the project?

Cheers,
Stewart


--
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/731e13d4-1026-4f73-a57d-b51d5827f05e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jinun Park

unread,
Dec 13, 2017, 11:14:54 AM12/13/17
to Firebase Google Group

Hi Stewart.

I tried to reproduce with sample project, with my build script too.

It seems to my build script does not run Pod installation correctly.

So I turned off Pod intergration on GvhProjectSettings.xml and download Firebase 4.7.0 via https://firebase.google.com/download/ios .

And copy framework files in my project and build works.

Thanks,
Jinun.
2017년 12월 7일 목요일 오전 2시 23분 21초 UTC+9, Stewart Miles 님의 말:
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages