UCB fails with XCode 9

Hello! Unity Cloud Build fails on my project when switching to XCode9.
It works fine on 8 and compiles without errors (Cloud Build).
I tried to compile on Mac and there were no errors with XCode9.

Here’s the exception from logs:

15310: +------+-------------------------------------+-------------+
15311: |                     fastlane summary                     |
15312: +------+-------------------------------------+-------------+
15313: | Step | Action                              | Time (in s) |
15314: +------+-------------------------------------+-------------+
15315: | 1    | Verifying required fastlane version | 0           |
15316: | 2    | default_platform                    | 0           |
15317: | 3    | set_info_plist_value                | 0           |
15318: |    | update_project_provisioning         | 0           |
15319: +------+-------------------------------------+-------------+
15320: fastlane finished with errors
15321: /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/xcodeproj-1.5.1/lib/xcodeproj/project/object/helpers/groupable_helper.rb:18:in `parent': [!] [Xcodeproj] Consistency issue: no parent for object `CoreFoundation.framework`: `FrameworksBuildPhase`, `FrameworksBuildPhase` (RuntimeError)
15322:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/xcodeproj-1.5.1/lib/xcodeproj/project/object/build_file.rb:63:in `ascii_plist_annotation'
15323:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/xcodeproj-1.5.1/lib/xcodeproj/project.rb:286:in `block in to_ascii_plist'
15324:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/xcodeproj-1.5.1/lib/xcodeproj/project.rb:285:in `each'
15325:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/xcodeproj-1.5.1/lib/xcodeproj/project.rb:285:in `to_ascii_plist'
15326:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/xcodeproj-1.5.1/lib/xcodeproj/project.rb:353:in `block in save'
15327:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/xcodeproj-1.5.1/lib/xcodeproj/project.rb:353:in `open'
15328:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/xcodeproj-1.5.1/lib/xcodeproj/project.rb:353:in `save'
15329:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/actions/update_project_provisioning.rb:71:in `run'
15330:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action'
15331:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
15332:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:231:in `block in execute_action'
15333:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:227:in `chdir'
15334:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
15335:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:148:in `trigger_action_by_name'
15336:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
15337:     from Fastfile:18:in `block in parsing_binding'
15338:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/lane.rb:33:in `call'
15339:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/lane.rb:33:in `call'
15340:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
15341:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
15342:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
15343:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/lane_manager.rb:54:in `cruise_lane'
15344:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
15345:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/commands_generator.rb:104:in `block (2 levels) in run'
15346:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'
15347:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'
15348:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/commander-fastlane-4.4.5/lib/commander/command.rb:153:in `run'
15349:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/commander-fastlane-4.4.5/lib/commander/runner.rb:476:in `run_active_command'
15350:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:66:in `run!'
15351:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in `run!'
15352:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/commands_generator.rb:303:in `run'
15353:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
15354:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in `take_off'
15355:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/fastlane-2.62.1/bin/fastlane:20:in `<top (required)>'
15356:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/bin/fastlane:23:in `load'
15357:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/bin/fastlane:23:in `<main>'
15358:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `eval'
15359:     from /BUILD_PATH/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `<main>'
15360: /BUILD_PATH/.mason/buildpacks/xcode/bin/compile:253:in `block in build': ! xcode build failed. (RuntimeError)
15361:     from /BUILD_PATH/.mason/buildpacks/xcode/bin/compile:242:in `chdir'
15362:     from /BUILD_PATH/.mason/buildpacks/xcode/bin/compile:242:in `build'
15363:     from /BUILD_PATH/.mason/buildpacks/xcode/bin/compile:266:in `<main>'
15364: ! build of 'develop-ios' failed. compile failed

UCB is set to 5.6.4 Unity.

I have absolutely no idea on what I should fix since this error is related to internal iOS frameworks.
Any suggestions would be highly appreciated! Thank you in advance.

1 Like

I’m seeing this currently, did you ever find a solutioin?

1 Like

same issue here