Search Unity

IOS Cloud Build Failure: Can Not Find Plist

Discussion in 'Unity Build Automation' started by jturner221, Oct 31, 2019.

  1. jturner221

    jturner221

    Joined:
    Aug 30, 2017
    Posts:
    17
    Description of issue:
    I am getting a failure when building in cloudbuild. It is succesful when building locally or building android in ucb.

    Unity version: Unity 2019.1.14f1
    XCode version: Xcode 10.2
    Source control: Perforce
    Local build platform: Mac
    Build target: IOS
    Project name: CannonBallers

    Build log (relevant chunk):
    + Building with Xcode 10.2
    35235: Sending anonymous analytics information
    35236: Learn more at https://docs.fastlane.tools/#metrics
    35237: No personal or sensitive data is sent.
    35238: You can disable this by adding `opt_out_usage` at the top of your Fastfile
    35239: ----------------------------------------
    35240: --- Step: Verifying fastlane version ---
    35241: ----------------------------------------
    35242: Your fastlane version 2.113.0 matches the minimum requirement of 2.0.0 ✅
    35243: ------------------------------
    35244: --- Step: default_platform ---
    35245: ------------------------------
    35246: Driving the lane 'ios build'
    35247: ----------------------------------
    35248: --- Step: set_info_plist_value ---
    35249: ----------------------------------
    35250: Error setting value './Info.plist' for option 'path'
    35251: You passed invalid parameters to 'set_info_plist_value'.
    35252: Check out the error below and available options by running `fastlane action set_info_plist_value`
    35253: +------------------+-----------+
    35254: | Lane Context |
    35255: +------------------+-----------+
    35256: | DEFAULT_PLATFORM | ios |
    35257: | PLATFORM_NAME | ios |
    35258: | LANE_NAME | ios build |
    35259: +------------------+-----------+
    35260: Couldn't find plist file at path './Info.plist'
    35261: +------+----------------------------+-------------+
    35262: | fastlane summary |
    35263: +------+----------------------------+-------------+
    35264: | Step | Action | Time (in s) |
    35265: +------+----------------------------+-------------+
    35266: | 1 | Verifying fastlane version | 0 |
    35267: | 2 | default_platform | 0 |
    35268: | | set_info_plist_value | 0 |
    35269: +------+----------------------------+-------------+
    35270: fastlane finished with errors
    35271: [!] Couldn't find plist file at path './Info.plist'
    35272: ! build of 'ios' failed. ! xcode build failed.
    35273: Publishing build 396 of looty-games/lootybootypinball1 for target 'ios'...
    35274: Uploading addressable_content.zip
    35275: ...done
    35276: publishing finished successfully.
    35277: uninstalling iOS credentials for looty-games/lootybootypinball1 - ios
    35278: MAC verified OK
    35279: Removing certificate...
    35280: removing: /BUILD_PATH/Library/MobileDevice/Provisioning Profiles/058d5ffb-9c4b-400e-9eca-48bd99c2451e.mobileprovision
    35281: Zipping cache files from Library
    35282: done.
    35283: Build step 'Execute shell' marked build as failure
    35284: Using /BUILD_PATH/.rvm/gems/ruby-2.4.2
    35285: postbuildstatus finished successfully.
    35286: postbuildsteps finished successfully
    35287: Finished: FAILURE


    Does it build locally from a fresh checkout? Yes
     
  2. jturner221

    jturner221

    Joined:
    Aug 30, 2017
    Posts:
    17
    I'm still having this issue. I tried recently with xcode 11.2.
     
  3. marauderkr

    marauderkr

    Joined:
    Jun 10, 2014
    Posts:
    46
    I also have this issue with Xcode 11.2. When I set cloudbuild to a lower Xcode version (like 11.0) it still builds with 11.2 and fails.