hi all,
i am following https://www.youtube.com/watch?v=06lbjMFqWpg tutorial to add admob into my project but it gives errors when i build for ios. i have searhed a lot but not found a solution. do you have any idea? it is very basic so it must not bu hard.
thanks.
error log;
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:
[!] No `Podfile' found in the project directory.
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
[0m
pod repo update output:
Updating spec repo `master`
$ /usr/bin/git -C /Users/timtim/.cocoapods/repos/master fetch origin --progress
$ /usr/bin/git -C /Users/timtim/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
master
$ /usr/bin/git -C /Users/timtim/.cocoapods/repos/master reset --hard origin/master
HEAD is now at cb25337 [Add] PabloPod 0.1.1
CocoaPods 1.4.0.beta.2 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.4.0.beta.2
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
[0m
UnityEngine.Debug:LogError(Object)
Google.Logger:Log(String, LogLevel)
Google.IOSResolver:Log(String, Boolean, LogLevel)
Google.IOSResolver:OnPostProcessInstallPods(BuildTarget, String)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
↧