- Home /
iOS Unity Cloud Build failed when 'Target minimum iOS version' is set to 9
Hi devs,
I can build in the cloud with the initial setting to 6. If I set the iOS minimum version to 9 the cloud build fails. (Currently I'm trying with 8.4 and will update the post when the build has finished). Using Unity 5.2.2f and also tried 5.2.2p1 and 5.2.2p4
Any ideas what I can try? Thanks.
Here're the errors from the log
118: [Unity] Finished exporting player successfully.
119: + Building with Xcode 7.0
120: [xcode] Warning: Multiple build commands for output file EXPORT_PATH/MYPROJECT.app/DefaultWsdlHelpGenerator.aspx
121: [xcode] Warning: Multiple build commands for output file EXPORT_PATH/MYPROJECT.app/machine.config
122: [xcode] /APPLICATION_PATH/Xcode7_0.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module MYPROJECT --output-partial-info-plist /BUILD_PATH/am-dev.MYPROJECT.default-ios/MYPROJECT/temp.giJa3Z/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/LaunchScreen-iPhone-PartialInfo.plist --auto-activate-custom-fonts --target-device iphone --target-device ipad --minimum-deployment-target 4.0 --output-format human-readable-text --compile EXPORT_PATH/MYPROJECT.app/LaunchScreen-iPhone.nib /UNITY_PATH/workspace/workspace/workspace/am-dev.MYPROJECT.default-ios/MYPROJECT/temp.giJa3Z/LaunchScreen-iPhone.xib
123: [xcode] /APPLICATION_PATH/Xcode7_0.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module MYPROJECT --output-partial-info-plist /BUILD_PATH/am-dev.MYPROJECT.default-ios/Project0105/temp.giJa3Z/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/LaunchScreen-iPad-PartialInfo.plist --auto-activate-custom-fonts --target-device iphone --target-device ipad --minimum-deployment-target 4.0 --output-format human-readable-text --compile EXPORT_PATH/MYPROJECT.app/LaunchScreen-iPad.nib /UNITY_PATH/workspace/workspace/workspace/am-dev.MYPROJECT.default-ios/MYPROJECT/temp.giJa3Z/LaunchScreen-iPad.xib
124: [xcode] /APPLICATION_PATH/Xcode7_0.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /BUILD_PATH/am-dev.MYPROJECT.default-ios/MYPROJECT/temp.giJa3Z/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/assetcatalog_dependencies --output-partial-info-plist /UNITY_PATH/workspace/workspace/workspace/am-dev.MYPROJECT.default-ios/MYPROJECT/temp.giJa3Z/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/assetcatalog_generated_info.plist --app-icon AppIcon --launch-image LaunchImage --compress-pngs --enable-on-demand-resources YES --target-device iphone --target-device ipad --minimum-deployment-target 4.0 --platform iphoneos --compile EXPORT_PATH/project0105.app /opt/workspace/workspace/workspace/am-dev.MYPROJECT.default-ios/MYPROJECT/temp.giJa3Z/Unity-iPhone/Images.xcassets
125: [xcode] /BUILD_PATH/am-dev.MYPROJECT.default-ios/MYPROJECT/temp.giJa3Z/Unity-iPhone/Images.xcassets:./AppIcon.appiconset: warning: App Icons built with asset catalogs are unavailable on iOS releases prior to 5.0.
126: [xcode] clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
127: [xcode] clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
128: [xcode] clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
129: [xcode] ** BUILD FAILED **
130: ! build of 'default-ios' failed. compile failed
131: /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/bvr-1.1.2/lib/bvr/project.rb:383:in `publish_build': Could not find .release.yaml in archive path. (RuntimeError)
132: Finished: FAILURE
Status: FAILED
Update and log for "Target minimum iOS version" set to 8.4:
16849: + Building with Xcode 7.0
16850: [xcode] Build settings from command line:
16851: [xcode] CODE_SIGN_IDENTITY = iPhone Distribution: Ambrus & Lonau GbR (JLYFFDPRJV)
16852: [xcode] PROVISIONING_PROFILE = c6235a72-cb7e-496c-b377-f0a13cb550e8
16853: [xcode] SDKROOT = iphoneos9.0
16854: [xcode] DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
16855: [xcode] DEPLOYMENT_POSTPROCESSING = YES
16856: [xcode] GCC_GENERATE_DEBUGGING_SYMBOLS = YES
16857: [xcode] SEPARATE_STRIP = YES
16858: [xcode] STRIP_INSTALLED_PRODUCT = YES
16859: [xcode] === BUILD TARGET Unity-iPhone OF PROJECT Unity-iPhone WITH THE DEFAULT CONFIGURATION (Release) ===
16860: [xcode] Check dependencies
16861: [xcode] Write auxiliary files
16862: [xcode] write-file /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/book150years-all-target-headers.hmap
16863: [xcode] write-file /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/book150years.hmap
16864: [xcode] write-file /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/book150years-project-headers.hmap
16865: [xcode] write-file /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/book150years-all-non-framework-target-headers.hmap
16866: [xcode] write-file /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/book150years-own-target-headers.hmap
16867: [xcode] write-file /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Script-033966F41B18B03000ECD701.sh
16868: [xcode] chmod 0755 /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Script-033966F41B18B03000ECD701.sh
16869: [xcode] /bin/mkdir -p /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/arm64
16870: [xcode] write-file /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/arm64/book150years.LinkFileList
16871: [xcode] write-file /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/book150years-generated-files.hmap
16872: [xcode] /bin/mkdir -p /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7
16873: [xcode] write-file /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/book150years.LinkFileList
16874: [xcode] Create product structure
16875: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16876: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16877: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16878: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16879: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16880: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16881: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16882: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16883: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16884: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16885: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16886: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16887: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16888: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16889: [xcode] CompileXIB LaunchScreen-iPhone.xib
16890: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16891: [xcode] export XCODE_DEVELOPER_USR_PATH=/APPLICATION_PATH/Xcode7_0.app/Contents/Developer/usr/bin/..
16892: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16893: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16894: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16895: [xcode] CompileXIB LaunchScreen-iPad.xib
16896: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16897: [xcode] export XCODE_DEVELOPER_USR_PATH=/APPLICATION_PATH/Xcode7_0.app/Contents/Developer/usr/bin/..
16898: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16899: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16900: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16901: [xcode] /* com.apple.actool.document.warnings */
16902: [xcode] /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/Unity-iPhone/Images.xcassets:./AppIcon.appiconset: warning: App Icons built with asset catalogs are unavailable on iOS releases prior to 5.0.
16903: [xcode] /* com.apple.actool.compilation-results */
16904: [xcode] /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/assetcatalog_generated_info.plist
16905: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16906: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16907: [xcode] clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
16908: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16909: [xcode] clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
16910: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16911: [xcode] cd /BUILD_PATH/MYACCOUNT.MYPROJECT-release.default-ios/MYPROJECT/temp.lDcqjl
16912: [xcode] clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
16913: [xcode] ** BUILD FAILED **
16914: [xcode] The following build commands failed:
16915: [xcode] (3 failures)
16916: ! build of 'default-ios' failed. compile failed
16917: /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/bvr-1.1.2/lib/bvr/project.rb:383:in `publish_build': Could not find .release.yaml in archive path. (RuntimeError)
16918: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/bvr-1.1.2/lib/bvr/thor/tasks/project.rb:242:in `do_publish'
16919: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/bvr-1.1.2/lib/bvr/thor/tasks/project.rb:138:in `rescue in build'
16920: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/bvr-1.1.2/lib/bvr/thor/tasks/project.rb:102:in `build'
16921: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
16922: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
16923: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
16924: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
16925: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/thor-0.19.1/lib/thor/runner.rb:36:in `method_missing'
16926: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/bvr-1.1.2/lib/bvr/thor/runner.rb:20:in `method_missing'
16927: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/thor-0.19.1/lib/thor/command.rb:29:in `run'
16928: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/thor-0.19.1/lib/thor/command.rb:126:in `run'
16929: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
16930: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
16931: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
16932: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/gems/bvr-1.1.2/bin/bvr:6:in `<top (required)>'
16933: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/bin/bvr:23:in `load'
16934: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/bin/bvr:23:in `<main>'
16935: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/bin/ruby_executable_hooks:15:in `eval'
16936: from /BUILD_PATH/.rvm/gems/ruby-1.9.3-p545/bin/ruby_executable_hooks:15:in `<main>'
16937: uninstalling iOS credentials for MYACCOUNT/MYPROJECT-release - default-ios
16938: MAC verified OK
16939: Removing certificate...
16940: Build step 'Execute shell' marked build as failure
16941: postbuildstatus finished successfully.
16942: ls: Library: Permission denied
16943: Deleting project workspace...
16944: Finished: FAILURE
Status: FAILED
Unity Cloud Build worked when using the $$anonymous$$imum iOS Version 8.0
Can someone explain me a little bit what can cause the error on higher iOS version numbers? Right now I guess it depends on one or multiple plugins (vuforia AR SD$$anonymous$$, Text$$anonymous$$eshPro, Native Plugins) I'm using.
Another issue could be the version I'm developing on (Unity 5.2.2p1) and the Cloud version I'm using 5.2.2p4 ? Thanks