Xcode和Unity缺少库'lGoogleUtilities' [英] Xcode and Unity missing library 'lGoogleUtilities'
问题描述
我正在使用Unity制作的应用程序,必须在Xcode中构建它才能在App Store中获得它。
现在我正在运行在这里变成一个问题。我收到此错误:
-lGoogleUtilities
$找不到的库p $ p>
但是,当我在调试模式下构建应用程序并在iPad上对其进行测试时,没有任何麻烦。但是,当我尝试为TestFlight(工具栏->产品->存档)构建它时,会发生错误。
我已经按照本教程进行操作,使其能够在调试模式下工作(因为之前我也有该错误)
https://youtu.be/YHHj1bZUbsc (从6:20开始。)
我正在为Unity使用 Google Admob, CloudOnce和 Play Services Resolver插件。在 debug 版本中,错误(在我将其修复为 debug 版本之前)是由 Google Admob引起的。我觉得我在发行版本中缺少框架或其他东西。
解决方案好了,所以又经过了几个小时的尝试和搜索我发现我实际上是在打开错误的文件,您会认为
.xcodeproj
是正确的扩展名,但实际上您必须打开.xcodeworkspace
文件。它为我编译。I am working on an App that is made with Unity and I have to build it in Xcode to get it in the App store.
Now I'm running into a problem here. I am getting this error:
library not found for -lGoogleUtilities
However, when I build the app in debug mode and test it on my iPad, there aren't any troubles. But when I try to build it for TestFlight (Toolbar -> Product -> Archive) that error occurs.
I've followed this tutorial to get it working in debug mode (because I had that error there too before) https://youtu.be/YHHj1bZUbsc (from 6:20).
I am using the 'Google Admob', 'CloudOnce' and 'Play Services Resolver' plugins for Unity. In the debug version the error (before I fixed it in the debug version), was caused by 'Google Admob'. I feel like I am missing a framework or something in the release build.
解决方案Alright, so after another few hours of trying and searching I found out that I was actually opening the wrong file, you would think
.xcodeproj
would be the correct extension, but actually you have to open the.xcodeworkspace
file. It compiled for me.这篇关于Xcode和Unity缺少库'lGoogleUtilities'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!