[AC-5619] Can't deploy to iOS Simulator
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Done |
Resolution Date | 2018-02-28T21:47:15.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | rene@appsinteractive.com |
Assignee | Shak Hossain |
Created | 2018-02-23T20:54:20.000+0000 |
Updated | 2018-02-28T21:47:15.000+0000 |
Description
I'm trying to run and debug on my Mac using the iPhone simulators and I keep receiving the below error message regardless of the simulator I try to run.
[ERROR] : Invalid "--device-id" value "9D87D207-3D2A-4B8C-8838-24ADCCFEECAA"
Available iOS Simulators:
For help, run: titanium.js help build
Attachments
Hello, What is your Xcode version? Can you open a simulator in the Xcode? Run the project in terminal "appc run -p ios -l trace" and send the trace log. Thanks.
The simulator runs in Xcode with no issue. Trace file included.
[~rene@appsinteractive.com] ,Can you please try the following command :*appc run -p ios -T simulator* and let us know how it gies.
Hello, looks like you don't have the Xcode configured in your system. Do you have multiple Xcode installed on your system? Can you run "appc ti setup check"? Thanks.
Here are the results from the Check Environment I ran. ──────────────────┤ Check Environment ├─────────────────── Node.js ✓ node installed (v8.9.4) ✓ npm installed (v5.6.0) Titanium CLI ✓ cli bleeding edge (v5.0.14) Titanium CLI Dependencies ✓ acs up-to-date (v2.0.8) ✓ alloy up-to-date (v1.11.0) ✓ appc-cli-titanium up-to-date (v4.4.8) ✓ appc-inquirer up-to-date (v0.1.10) ✓ appc-logger up-to-date (v1.1.27) ✓ appc-platform-sdk up-to-date (v3.0.1) ✓ appcd up-to-date (v1.0.1) ✓ arrow up-to-date (v3.0.0) ✓ async up-to-date (v1.5.2) ✓ chalk up-to-date (v1.1.3) ✓ char-spinner up-to-date (v1.0.1) ✓ columnify up-to-date (v1.5.4) ✓ commander up-to-date (v2.9.0) ✓ debug up-to-date (v2.6.9) ✓ ejs up-to-date (v2.5.7) ✓ fields up-to-date (v0.1.24) ✓ fs-extra up-to-date (v0.26.7) ✓ inquirer up-to-date (v0.11.4) ✓ ip up-to-date (v1.1.5) ✓ jwt-simple up-to-date (v0.3.1) ✓ lodash up-to-date (v3.10.1) ✓ mkdirp up-to-date (v0.5.1) ✓ node-appc up-to-date (v0.2.43) ✓ node-forge up-to-date (v0.6.49) ✓ node-ios-device up-to-date (v1.5.0) ✓ npm-conf up-to-date (v1.1.3) ✓ pac-proxy-agent up-to-date (v2.0.0) ✓ plural up-to-date (v0.2.1) ✓ progress up-to-date (v1.1.8) ✓ recursive-readdir up-to-date (v2.2.1) ✓ request up-to-date (v2.83.0) ✓ retire up-to-date (v1.4.0) ✓ semver up-to-date (v5.5.0) ✓ tar up-to-date (v4.0.2) ✓ tiapp.xml up-to-date (v0.2.2) ✓ titanium up-to-date (v5.0.14) ✓ version-bump-prompt up-to-date (v3.1.2) ✓ which up-to-date (v1.3.0) ✓ wrench up-to-date (v1.5.9) Titanium SDK ✓ latest sdk installed (v7.0.2.GA) ✓ selected sdk up-to-date (v7.0.2.GA) Mac OS X Environment ✓ CLI Tools installed iOS Environment ✓ Xcode installed (9.2) ✓ iOS SDK installed (11.2) ✓ WWDR cert installed ✓ developer cert installed (1 found) ! distribution cert not found ✓ dev provisioning installed (6 found) ✓ dist provisioning installed (4 found) Android Environment ✓ sdk installed (/Users/renecabrera/Library/android-sdk-macosx) ✓ tools installed (v25.2.5) ✓ platform tools installed (v26.0.0) ! build tools untested version 27.0.2; may or may not work ✓ adb installed /Users/renecabrera/Library/android-sdk-macosx/platform-tools/adb ✕ android "android" executable not found; please reinstall Android SDK ✓ emulator installed /Users/renecabrera/Library/android-sdk-macosx/tools/emulator ✓ mksdcard installed /Users/renecabrera/Library/android-sdk-macosx/tools/mksdcard ✓ zipalign installed /Users/renecabrera/Library/android-sdk-macosx/build-tools/26.0.2/zipalign ✓ aapt installed /Users/renecabrera/Library/android-sdk-macosx/build-tools/26.0.2/aapt ✓ aidl installed /Users/renecabrera/Library/android-sdk-macosx/build-tools/26.0.2/aidl ✓ targets installed (1 found) ✓ avds installed (1 found) ! ndk Android NDK not found Java Development Kit ✓ jdk installed (v1.8.0) ✓ java installed /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java ✓ javac installed /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/javac ✓ keytool installed /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/keytool ✓ jarsigner installed /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/jarsigner Intel® Hardware Accelerated Execution Manager (HAXM) ✓ compatible ! installed not found; install HAXM to use Android x86 emulator Network ✓ online - no proxy server configured ✓ Network connection test ✓ Java-based connection test Directory Permissions ✓ home directory ✓ titanium config directory ✓ titanium sdk install directory ✓ temp directory
Did you get a chance to look at the Check Environment log I provided?
I ran the below commands in the terminal and the simulators are working again. gem install snapshot fastlane snapshot reset_simulators
[~rene@appsinteractive.com], Happy to hear that simulators are working again.