library not found for -lGoogleToolboxForMac

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

While building iOS project If you come across above error in Xcode, this means Xcode not able to find the library at build time.

you might have Google Admob or Firebase libraries included in the Xcode project but the project is not referring the Libraries at build time.

Solution:

Open ‘Build Settings’ and search for ‘Library Search Paths’

Make sure under Library Search Paths you have entry as “$(inherited)”

It should look as below; and then rebuild the project.

library not found for -lGoogleToolboxForMac

For quick resolution of issues like this post, refer iOS App Development category.

You can also search the entire site or blog using search text.

For Apple official documentation refer: www.developer.apple.com

Share this post

library not found for -lGoogleToolboxForMac
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *