- Home /
Unity Cloud Build. Player export failed.Reason: 'pod' command not found;
I have recently decided to give Unity cloud build a try and am trying to build my project for IOS but after every build i get this error
"[Unity] Player export failed. Reason: 'pod' command not found; unable to generate a usable Xcode project. You can install cocoapods with the Ruby gem package manager:"
what does this mean?
Answer by sysper · Oct 17, 2016 at 09:43 AM
Same problem here, trying to use play-games-plugin-for-unity (https://github.com/playgameservices/play-games-plugin-for-unity)
I removed the below part in GPGSDependencies.cs file and Unity Cloud Build succeeded.
Type iosResolver = Google.VersionHandler.FindClass(
"Google.IOSResolver", "Google.IOSResolver");
if (iosResolver == null) {
return;
}
Google.VersionHandler.InvokeStatic$$anonymous$$ethod(
iosResolver, "AddPod",
new object[] { "GooglePlayGames" },
namedArgs: new Dictionary<string, object>() {
{ "version", "5.0+" },
{ "bitcodeEnabled", false },
});
I've just found this code and already commented into Ad$$anonymous$$obDependencies.cs. So, I'm gonna try to make the Cloud build again. Thank you :)
Thanks man, it did help me to resolve this particular issue, however I've got another one and trying to fix as well :)
@sysper, Thanks man. Worked for me (Although I still have xcode issues, but Unity build succeeded :) )
@DotHyphon, @Big-Ed, In case of Admob, you will find these lines in the file 'Ad$$anonymous$$obDependencies.cs'
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Illuminating a 3D object's edges OnMouseOver (script in c#)? 1 Answer
How to open an internal file .vcf in C # to iPhone? 0 Answers
HttpWebResponse and JIT on iOS 2 Answers