Search Unity

cloud build fail for iOS (.xcworkspace file could not be found)

Discussion in 'Unity Build Automation' started by YBDDevelopment, Oct 24, 2015.

  1. YBDDevelopment

    YBDDevelopment

    Joined:
    Jul 25, 2015
    Posts:
    3
    Hey,
    I am building succesflly for android but i have a problem when trying to build for iOS:
    2959: + Installing cocoapods:
    2960: ! .xcworkspace file could not be found.
    2961: ! build of 'default-ios' failed. compile failed

    i have found this thread, but i couldnt make it work even after doing what they say there.
    I dont know if it s relevant but I am using unity ads and the google game service.
    Hope to get help with that:)

    (I added the full log output)
     

    Attached Files:

    Last edited: Oct 25, 2015
    mmoczkowski likes this.
  2. mmoczkowski

    mmoczkowski

    Joined:
    Oct 25, 2012
    Posts:
    6
    I have exactly the same situation. I think this may be related to Google Play plugin.

    // Edit:

    I got it working. Turns out that I was close. GP plugin uses Cocoapods which is not supported by Unity Cloud Build. If you don't need GP on your iOS build, you can disable it by adding NO_GPGS preprocessor directive. That did the trick for me.
     
    Last edited: Oct 31, 2015