Mac 平台下unity 导出IOS项目问题

Mac 平台下unity 导出IOS项目问题

Mac 平台下unity接入Admob Unity导出IOS项目问题

作为一个新手,尝试在Mac 平台下unity 接入Admob Unity导出IOS项目过程中出现了一系列的问题,现把所有问题总结

1)Admob 官方地址:

https://developers.google.com/admob/unity/start
官方说:在unity 平台需要搭建CocoaPods环境
搭建环境的方法参考:https://www.jianshu.com/p/f43b5964f582
!!!重点来了,注意!!!
最新版的MacOS Catalina系统命令行执行pod setup命令直接结束啦;
莫着急,我们手动安装本地库,速度绝对快
命令行执行以下操作
git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/trunk

2)关于Unity ios打包卡在Converting managed assemblies to C++

如果你发现这里如果一直卡顿,跟卡死状态一样,莫要着急,因为这个时候他在下载东西,大概会耗时2个小时左右
问题描述说明:https://blog.csdn.net/iningwei/article/details/106769312

3)关于Unity ios打包卡在Converting managed assemblies to C++

unity build完成之后,出现
iOS framework addition failed due to a CocoaPods installation failure. This will will likely result in an non-functional Xcode project.

After the failure, “pod repo update” was executed and succeeded. “pod install” was then attempted again, and still failed. This may be due to a broken CocoaPods installation. See: https://guides.cocoapods.org/using/troubleshooting.html for potential solutions.

pod install output:

Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod “Google-Mobile-Ads-SDK”:
In Podfile:
Google-Mobile-Ads-SDK (~> 7.63)

Specs satisfying the Google-Mobile-Ads-SDK (~> 7.63) dependency were found, but they required a higher minimum deployment target.

这个看最后一句话,只需要在unity ios 平台 Other Setting 中修改Target minimum ios version 9.0就可以

在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值