Unity接入了谷歌广告SDK Admob后,打包到Xcode项目,打开后会报一些一看就是Admob的错。
解决方案:
Find the solution after 2 days;
Use Admob SDK Version: 7.0.0
Build your Project. Go to your project file using terminal. Write this code;
arch -x86_64 pod install
Enter
chmod +x MapFileParser.sh
Enter
chmod +x process_symbols.sh
Then you're ready.
Tried on Unity 2020.3.25 and Unity 2021.3.1f1
PS: You dont need to write "chmod +x MapFileParser.sh" for 2021.3.1f1