无法使用Admob SDK 7.42在Xcode中构建项目

时间:2019-03-27 11:22:27

标签: xcode unity3d admob

很抱歉打扰到一个潜在的菜鸟问题,但过去两天我一直在桌子上猛撞,开始受伤

我一直在尝试使用新的Google AdMob sdk 7.42在Unity / Xcode中构建项目,以便使用奖励广告

出于无奈,我现在尝试仅构建Google https://github.com/googleads/googleads-mobile-unity提供的HelloWorld Unity示例项目

但是我什至无法在Xcode中构建它...

似乎他们变得更加困难,因为您现在需要在Xcode项目中包括4个框架,而不仅仅是Admob SDK:

Admob SDK Google公用程式 量测 纳米铅

我已经统一构建了项目,将其导入Xcode,在Xcode中添加了4个框架,还尝试使用终端文件中的可可豆荚手动添加了它们。

我一直遇到同样的错误,无法在Xcode中构建项目,它说找不到库,我不确定为什么原因,因为我已经导入了所有框架?

任何帮助将不胜感激

欢呼

尝试将Xcode构建目录从默认类型切换到其他类型

ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-exqndabushnmrdehwuqxplckkpmd/Build/Products/ReleaseForRunning-iphoneos/GoogleUtilities'
ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-exqndabushnmrdehwuqxplckkpmd/Build/Products/ReleaseForRunning-iphoneos/nanopb'
ld: library not found for -lGoogleUtilities
clang: error: linker command failed with exit code 1 (use -v to see invocation)

0 个答案:

没有答案