codenameone - 使用 Google 登录时的 iOS 构建错误
问题描述
在我的应用程序中使用 Google 登录时,我收到以下 iOS 构建错误:
CocoaPods 1.7.4 is available.
To update use: `sudo gem install cocoapods`
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.7.4
Process return code is 0
Executing: /usr/local/bin/pod install Analyzing dependencies
Downloading dependencies
Installing Bolts (1.9.0)
Installing FBSDKCoreKit (4.39.1)
Installing FBSDKLoginKit (4.39.1)
Installing FBSDKShareKit (4.39.1)
Installing googleplus-ios-sdk (1.7.1)
[!] Error installing googleplus-ios-sdk
[!] /usr/bin/unzip /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/d20190711-62890-uo1yd3/file.zip -d /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/d20190711-62890-uo1yd3
Archive: /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/d20190711-62890-uo1yd3/file.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/d20190711-62890-uo1yd3/file.zip or
/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/d20190711-62890-uo1yd3/file.zip.zip, and cannot find /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/d20190711-62890-uo1yd3/file.zip.ZIP, period.
Process return code is 1
Cocoapods failed even after updating master repo
如果我删除 /native/ios/GoogleService-Info.plist 文件,我不会收到此错误
解决方案
推荐阅读
- database - 我可以使用嵌入式数据库来存储帐户吗?
- r - 对 yearmon 对象进行子集化
- javascript - 将 Vuejs 单文件组件中的模板导入为外部 HTML 文件
- python - 将默认命名空间与 lxml 一起使用时缺少属性命名空间
- kubernetes - 挂载 ConfigMap 从 MySQL my.cnf 文件中删除旧数据
- javascript - 与上一个和下一个输入字段进行比较
- docker - Can I enable docker swarm when I have an docker running existing containers?
- android - 错误:“尝试在空对象引用上调用虚拟方法 'android.view.Window$Callback android.view.Window.getCallback()'”
- excel - 如何遍历 Excel 中的报表参数列表并使用 VBA 自动将报表服务器报表生成为 .PDF?
- python-3.x - pip install netifaces 给我一个错误(Windows 10)