1

实施 AppLovin SDK 后出现此错误。

ld: warning: directory not found for option '-L/Users/paulfrye/Documents/App Stuff/Apps/Flappy Fly/Flappy Fly/2702_flappypenguinpackage3/FlappyPenguin-2/Flappy\ Bird/SDK\'
ld: library not found for -lChartboost
clang: error: linker command failed with exit code 1 (use -v to see invocation)

有什么建议么?

4

2 回答 2

0

检查库搜索路径并删除回溅。

或者将 chartboost 库的父文件夹拖到 Xcode 中的库搜索路径窗口。

于 2014-02-18T15:39:06.813 回答
0

In case anyone finds this in the future, I found a fix from Here that (surprisingly) fixes the supposedly missing Chartboost library, even for projects not using AppLovin.

In XCode:

  1. Click Build Phases
  2. Click Link Binary with Libraries disclosure triangle.
  3. Find libChartboost.a in the list.
  4. Drag it up 2 or 3 position and release mouse.
  5. Try and build again. Often that will fix it.
于 2015-04-24T22:29:22.480 回答