xcode library not found

后端 未结 12 889
南方客
南方客 2020-12-05 12:43

I\'m getting the following error:

ld: library not found for -lGoogleAnalytics clang: error: linker command failed with exit code 1 (use -v to see in

12条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 13:37

    All in all, the Xcode cannot find the position of library/header/framework, then you tell Xcode where they are.

    set the path that Xcode use to find library/header/framework in Build Settings --> Library/Header/Framework Search Paths.

    Say, now it cannot find -lGoogleAnalytics, so you add the directory where -lGoogleAnalytics is to the Library Search Paths.

提交回复
热议问题