Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5619] Can't deploy to iOS Simulator

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDone
Resolution Date2018-02-28T21:47:15.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
Reporterrene@appsinteractive.com
AssigneeShak Hossain
Created2018-02-23T20:54:20.000+0000
Updated2018-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

FileDateSize
appcd_dump_1519419155131.log2018-02-23T20:53:50.000+00002186870
appcelerator log file.rtf2018-02-23T20:52:22.000+0000227384
trace.rtf2018-02-24T23:15:11.000+000012766

Comments

  1. Sharif AbuDarda 2018-02-23

    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.
  2. rene@appsinteractive.com 2018-02-24

    The simulator runs in Xcode with no issue. Trace file included.
  3. Mostafizur Rahman 2018-02-25

    [~rene@appsinteractive.com] ,Can you please try the following command :*appc run -p ios -T simulator* and let us know how it gies.
  4. Sharif AbuDarda 2018-02-25

    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.
  5. rene@appsinteractive.com 2018-02-26

    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
  6. rene@appsinteractive.com 2018-02-27

    Did you get a chance to look at the Check Environment log I provided?
  7. rene@appsinteractive.com 2018-02-28

    I ran the below commands in the terminal and the simulators are working again. gem install snapshot fastlane snapshot reset_simulators
  8. Mostafizur Rahman 2018-02-28

    [~rene@appsinteractive.com], Happy to hear that simulators are working again.

JSON Source