[TIMOB-24862] Hyperloop: iOS - CocoaPods build error with Xcode 8.3.3 and iOS 10.3.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-06-22T17:39:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Hyperloop 2.1.2 |
Components | Hyperloop |
Labels | n/a |
Reporter | Jan Vennemann |
Assignee | Jan Vennemann |
Created | 2017-06-20T14:46:41.000+0000 |
Updated | 2017-07-06T19:11:05.000+0000 |
Description
*Steps to reproduce the behavior*
Make sure Xcode 8.3.3 is selected
Run https://github.com/appcelerator/hyperloop-examples on simulator
*Actual behavior* The build fails with the following error
[TRACE] [Hyperloop] CocoaPods Pod installation complete! There are 3 dependencies from the Podfile and 3 total pods installed.
[DEBUG] [Hyperloop] running /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Debug -alltargets IPHONEOS_DEPLOYMENT_TARGET=8.0 -sdk iphonesimulator10.3.1 SYMROOT=/Users/jvennemann/Development/appc/hyperloop-examples/build/iphone/build/Products ONLY_ACTIVE_ARCH=NO /Users/jvennemann/Development/appc/hyperloop-examples/Pods
[INFO] [Hyperloop] Building CocoaPods dependencies
[WARN] [Hyperloop] CocoaPods xcodebuild: error: SDK "iphonesimulator10.3.1" cannot be located.
[ERROR] An error occurred during build after 10s 838ms
[ERROR] the xcodebuild failed running from /Users/jvennemann/Development/appc/hyperloop-examples/Pods
*Expected behavior*
The app builds without issues
PR (master): https://github.com/appcelerator/hyperloop.next/pull/181 PR (2_1_X): https://github.com/appcelerator/hyperloop.next/pull/182
Verified fixed, using: MacOS 10.12.6 (16G12b) Ti SDK 6.2.0.v20170619083634 Appc NPM 4.2.9 Appc CLI 6.2.2 Alloy 1.9.11 Xcode 8.3.3 (8E3004b) Hyperloop 2.1.2b3 Able to create and run projects with hyperloop enabled and when using Xcode 8.3.3 on iOS 10.3.1 simulators and devices. Tested using the hyperloop samples app as well as newly created apps.
I have the same error. [INFO] Alloy compiler completed successfully [INFO] [Hyperloop] Building CocoaPods dependencies [WARN] [Hyperloop] CocoaPods xcodebuild: error: SDK "iphonesimulator10.3.1" cannot be located. Can you tell me how to install Hyperloop 2.1.2b3 manually?
[~jerodfritz], Hyperloop 2.1.2 was released together with SDK 6.1.1.GA and it should have been automatically downloaded when the CLI checked for updates. If not you can manually force a update check by running
appc config set lastUpdateCheckTiDownloads null
and then re-running your build. Also make sure to update any version constraints you may have set in you tiapp.xml for the Hyperloop module and plugin.Thank you. That did get me past this error. Now on to the next...