linker command failed with exit code 1 (use -v to see invocation)

329 views
Skip to first unread message

נבו שלו

unread,
Aug 31, 2013, 9:48:38 AM8/31/13
to google-adm...@googlegroups.com

when i run my app I get an error.

linker command failed with exit code 1 (use -v to see invocation)


what to do ?? 
‏צילום מסך 2013‏.08‏.31 ב‏.16.47.59.png

Eric Leichtenschlag

unread,
Sep 6, 2013, 2:42:22 PM9/6/13
to google-adm...@googlegroups.com, nevo...@gmail.com
What do you have in the "Other Linker Flags" section of your build settings? You should have the "-ObjC" flag added.

Thanks,
Eric

Pablo Martinez

unread,
Mar 12, 2014, 9:57:59 AM3/12/14
to google-adm...@googlegroups.com, nevo...@gmail.com
Hi,

   i have the same problem.
   My "other Linker Flags" is settings on:

   -weak_framework CoreMotion -weakISystem -ObjC

any help?

Thx

Eric Leichtenschlag

unread,
Mar 12, 2014, 6:38:34 PM3/12/14
to google-adm...@googlegroups.com, nevo...@gmail.com
That sounds a lot like the linker flags that Unity puts in for you when you build and run an iOS project. :)

Also make sure you have all the SDK included as well as all its required frameworks. Also double check your Library Search Paths. When I build a Unity project, it always message up the $(SRCROOT)/Libraries/ path by doing something like "$(SRCROOT)\Libraries\ " and that's why I end up with this linker error.

Hope this helps,
Eric

Pablo Martinez

unread,
Mar 12, 2014, 9:37:15 PM3/12/14
to google-adm...@googlegroups.com


--

---
You received this message because you are subscribed to a topic in the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/ckYmF6BHa0I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eric Leichtenschlag

unread,
Mar 14, 2014, 12:43:44 PM3/14/14
to google-adm...@googlegroups.com
Yeah, removing and readding that lib essentially fixes the path in your Library Search path. I'm glad it's working for you now.

Cheers,
Eric
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages