-
Notifications
You must be signed in to change notification settings - Fork 468
Description
When i run the command ionic cordova run ios --device, it fails with the following error message:
2017-06-08 14:09:23.954 ios-deploy[8886:63961] [ !! ] Unable to locate DeviceSupport directory. This probably means you don't have Xcode installed, you will need to launch the app manually and logging output will not be shown! Error: Error code 253 for command: ios-deploy with args: --justlaunch,--no-wifi,-d,-b,/Users/robert/code/bitscanapp/platforms/ios/build/device/bitscanapp.app
The full command ionic/cordova tries to execute: 'ios-deploy with args: --justlaunch,--no-wifi,-d,-b,/Users/robert/code/bitscanapp/platforms/ios/build/device/bitscanapp.app'
What could be the issue? I reinstalled cordova, ionic, npm and xcode..
System Specs
Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.
-
1. system_profiler SPSoftwareDataType
system_profiler SPSoftwareDataType
Software:System Software Overview:
System Version: macOS 10.12.4 (16E195) Kernel Version: Darwin 16.5.0 Boot Volume: Macintosh HD Boot Mode: Normal Computer Name: MacBook Pro van Robert User Name: Robert Baelde (robert) Secure Virtual Memory: Enabled System Integrity Protection: Enabled Time since boot: 44 minutes
-
2. ios-deploy -V
1.9.1 -
3. xcodebuild -version
Xcode 8.3.3
Build version 8E3004b -
4. xcode-select --print-path
/Applications/Xcode.app/Contents/Developer -
5. gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin -
6. lldb --version
lldb-370.0.42
Swift-3.1