firebase - Xamain.IOS.GoogleSignIn 库错误
问题描述
在 ios 项目中,我们已经安装了 firebase ios 绑定库,我们还需要 GoogleSignIn 库,但是在安装它之后,我们在构建时出现了一些错误。
Error: linker command failed with exit code 1 (use -v to see invocation) (GoBatumi.IOS)
error MT5209: Error: file not found: /Users/tornike/Desktop/gobatumimobile/GoBatumi.IOS/obj/iPhoneSimulator/Debug/mtouch-cache/GoogleSignIn (GoBatumi.IOS) Native linking
MTOUCH: Error MT5202: Native linking failed. Please review the build log. (MT5202)
我认为 Xamarin.Firebase 包和 google 包相互依赖,我认为它有一些版本问题。
Xamarin.Firebase.iOS.Analytics version - 4.0.5.1
Xamarin.Firebase.iOS.Auth version - 4.4.1.1
Xamarin.Firebase.iOS.Core version - 4.0.13.1
Xamarin.Firebase.iOS.InstanceID version - 2.0.8
Xamarin.Google.iOS.SignIn version - 4.1.1.1
有没有办法解决这个问题?我能做些什么 ?
解决方案
尝试:
1) 清洁溶液
2)删除obj和bin文件夹
3) 添加--registrar:static作为附加 mtouch 参数
如果这不能解决问题,请确保使用最新版本的 XCode
推荐阅读
- algorithm - 有没有针对“洪水问题”的有效算法?
- mysql - equi join 的 MySQL 语法错误
- opencv - 是否有替代霍夫圆变换 (GHTG) 的方法可以用于我的困难情况?
- webpack - Webpack 导入默认值似乎与文档不同
- android - MP3 文件接管程序
- eclipse - com.gradle.build-scan 插件未找到
- php - 在 laravel 中调用未定义的函数 ssh2_connect()
- java - 通过java使用DPI压缩pdf大小
- java - 找不到的“javax.servlet.ServletContext”
- node.js - MongoDB Stitch 在 Facebook 登录尝试期间双重编码重定向 URI 破坏登录过程?