HELP: Ionic run iOS deploy to emulator instead of device

After updating the ionic-cli, the only way to run in device is using:

ionic run ios --device

Running the “regular” command launch the iOS simulator.

ionic run ios
running cordova run ios
Running command: /Users/felipew/Documents/Dev/conecteme-home/hooks/after_prepare/010_add_platform_class.js /Users/felipew/Documents/Dev/conecteme-home
add to body class: platform-ios
Running command: /Users/felipew/Documents/Dev/conecteme-home/hooks/after_prepare/020_remove_sass_from_platforms.js /Users/felipew/Documents/Dev/conecteme-home
Running command: /Users/felipew/Documents/Dev/conecteme-home/platforms/ios/cordova/run 
Building project  : /Users/felipew/Documents/Dev/conecteme-home/platforms/ios/Conecte.me Home.xcodeproj
	Configuration : Debug
	Platform      : emulator

Here are my system specs, am I missing something ?

ionic info

Your system information:

OS: Mac OS X Yosemite
Node Version: v0.10.35
Cordova CLI: 4.3.0
Ionic CLI Version: 1.3.19
Xcode version: Xcode 6.3 Build version 6D570 
ios-sim version: 3.1.1 
ios-deploy version: 1.5.0
1 Like

Getting the same problem with an iPhone 6 Plus

1 Like

I wasn’t aware that you can run on ios device straight from CLI, are you sure it is possible at all? I thought you need to build, open in xcode and run from there…

1 Like

It should work with ionic run iOS

I seemed to fix the issue by running npm install -g ios-deploy.

1 Like

Still doesn’t work here :frowning:

ionic info

Your system information:

OS: Mac OS X Yosemite
Node Version: v0.10.35
Cordova CLI: 4.3.0
Ionic Version: 1.0.0-rc.4
Ionic CLI Version: 1.3.20
Xcode version: Xcode 6.3.1 Build version 6D1002 
ios-sim version: 3.1.1 
ios-deploy version: 1.5.0

Anyone got a solution to this yet? It’s really odd. When I do:

$ ionic run ios --device

It does run on the device. However the messages during build reference a ‘null’ device rather than the name of the iPhone like I’m sure it used to here’s a relevant snippet:

** BUILD SUCCEEDED **

[....] Waiting up to 5 seconds for iOS device to be connected
[....] Found (null) connected through USB.
[....] Waiting for iOS device to be connected
[....] Using (null) (35fafa2ec1...[rest of device uuid])
------ Install phase ------
[  0%] Found (null) connected through USB, beginning install

Without doing anything, if I switch over into xcode the device is recognised with it’s proper name at the top under ‘set the active scheme’. Odd.
Here is the result of ionic info:

Your system information:

OS: Mac OS X Yosemite
Node Version: v0.12.2
Cordova CLI: 5.0.0
Ionic Version: 1.0.0-beta.14
Ionic CLI Version: 1.3.22
Xcode version: Xcode 6.3.1 Build version 6D1002 
ios-sim version: 3.1.1 
ios-deploy version: 1.5.0 

In case it’s related, I do seem to get ios-deploy processes lingering around after running $ ionic run ios (which I tend to kill via activity manager). It’s a real puzzler so any help would be great.

Thanks,
James

Still broken.
Here’s a snippet from “ionic run ios”:

$ ionic run ios
Updated the hooks directory to have execute permissions
Running command: /Users/jared/Documents/fort-supply/ionic-playground/todo/hooks/after_prepare/010_add_platform_class.js /Users/jared/Documents/fort-supply/ionic-playground/todo
add to body class: platform-ios
Running command: /Users/jared/Documents/fort-supply/ionic-playground/todo/platforms/ios/cordova/run
Building project : /Users/jared/Documents/fort-supply/ionic-playground/todo/platforms/ios/todo.xcodeproj
Configuration : Debug
Platform : emulator
Build settings from command line:
ARCHS = i386
CONFIGURATION_BUILD_DIR = /Users/jared/Documents/fort-supply/ionic-playground/todo/platforms/ios/build/emulator
SDKROOT = iphonesimulator8.3
SHARED_PRECOMPS_DIR = /Users/jared/Documents/fort-supply/ionic-playground/todo/platforms/ios/build/sharedpch
VALID_ARCHS = i386

Here’s a snippet from “ionic run ios --device”:

$ ionic run ios --device
Updated the hooks directory to have execute permissions
Running command: /Users/jared/Documents/fort-supply/ionic-playground/todo/hooks/after_prepare/010_add_platform_class.js /Users/jared/Documents/fort-supply/ionic-playground/todo
add to body class: platform-ios
Running command: /Users/jared/Documents/fort-supply/ionic-playground/todo/platforms/ios/cordova/run --device
Building project : /Users/jared/Documents/fort-supply/ionic-playground/todo/platforms/ios/todo.xcodeproj
Configuration : Debug
Platform : device
Build settings from command line:
ARCHS = armv7 armv7s arm64
CONFIGURATION_BUILD_DIR = /Users/jared/Documents/fort-supply/ionic-playground/todo/platforms/ios/build/device
SDKROOT = iphoneos8.3
SHARED_PRECOMPS_DIR = /Users/jared/Documents/fort-supply/ionic-playground/todo/platforms/ios/build/sharedpch
VALID_ARCHS = armv7 armv7s arm64

The first one is building for emulator on i385. The second one is building for device on arm.

$ ionic info
Your system information:

Cordova CLI: 5.0.0
Gulp version: CLI version 3.8.11
Gulp local:
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.0
Ionic App Lib Version: 0.1.0
ios-deploy version: 1.7.0
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.12.0
Xcode version: Xcode 6.3.1 Build version 6D1002

The null device problem seems to be fixed. Here’s a snippet from ionic run ios --device:

** BUILD SUCCEEDED **

[…] Waiting up to 5 seconds for iOS device to be connected
[…] Found iPhone 6 (GSM) connected through USB.
[…] Waiting for iOS device to be connected
[…] Using iPhone 6 (GSM)

ionic run iOS --device

worked…10 months too late but…better than nothing.

1 Like

Yeah, same for me :confused:

As you say, better than nothing !

yep --device on the end fixed it for me as well. it may have been a late reply but it gave my search an end at least!

thanks worked for me…
ionic run ios --device

run:
npm install -g ios-deploy
.
.
.
.
ionic run ios --device

I did both of these commands, but I get a build failure. My code below:

stewart@sfml-stewart ~/Code/taggit $ npm install -g ios-deploy
-
> ios-deploy@1.8.4 preinstall /usr/local/lib/node_modules/ios-deploy
> ./src/check_reqs.js && xcodebuild

=== BUILD TARGET ios-deploy OF PROJECT ios-deploy WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies

Write auxiliary files
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-project-headers.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-own-target-headers.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-all-non-framework-target-headers.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Script-7E1C00D01C3C9C0700D686B5.sh
chmod 0755 /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Script-7E1C00D01C3C9C0700D686B5.sh
/bin/mkdir -p /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.LinkFileList
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-generated-files.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-all-target-headers.hmap

PhaseScriptExecution Run\ Script build/ios-deploy.build/Release/ios-deploy.build/Script-7E1C00D01C3C9C0700D686B5.sh
    cd /usr/local/lib/node_modules/ios-deploy
    export ACTION=build
    export ALTERNATE_GROUP="CHEGG\\Domain Users"
    export ALTERNATE_MODE=u+w,go-w,a+rX
    export ALTERNATE_OWNER=stewart
    export ALWAYS_SEARCH_USER_PATHS=NO
    export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
    export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
    export APPLE_INTERNAL_DIR=/AppleInternal
    export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
    export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
    export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
    export APPLICATION_EXTENSION_API_ONLY=NO
    export APPLY_RULES_IN_COPY_FILES=NO
    export ARCHS=x86_64
    export ARCHS_STANDARD=x86_64
    export ARCHS_STANDARD_32_64_BIT="x86_64 i386"
    export ARCHS_STANDARD_32_BIT=i386
    export ARCHS_STANDARD_64_BIT=x86_64
    export ARCHS_STANDARD_INCLUDING_64_BIT=x86_64
    export AVAILABLE_PLATFORMS="watchos iphonesimulator macosx appletvsimulator watchsimulator appletvos iphoneos"
    export BITCODE_GENERATION_MODE=marker
    export BUILD_ACTIVE_RESOURCES_ONLY=NO
    export BUILD_COMPONENTS="headers build"
    export BUILD_DIR=/usr/local/lib/node_modules/ios-deploy/build
    export BUILD_ROOT=/usr/local/lib/node_modules/ios-deploy/build
    export BUILD_STYLE=
    export BUILD_VARIANTS=normal
    export BUILT_PRODUCTS_DIR=/usr/local/lib/node_modules/ios-deploy/build/Release
    export CACHE_ROOT=/var/folders/0h/p9dmssfx2pv38brcs0s76b9022s5pl/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode
    export CCHROOT=/var/folders/0h/p9dmssfx2pv38brcs0s76b9022s5pl/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode
    export CHMOD=/bin/chmod
    export CHOWN=/usr/sbin/chown
    export CLANG_CXX_LANGUAGE_STANDARD=gnu++0x
    export CLANG_CXX_LIBRARY=libc++
    export CLANG_ENABLE_MODULES=YES
    export CLANG_ENABLE_OBJC_ARC=YES
    export CLANG_MODULES_BUILD_SESSION_FILE=/var/folders/0h/p9dmssfx2pv38brcs0s76b9022s5pl/C/org.llvm.clang/ModuleCache/Session.modulevalidation
    export CLANG_WARN_BOOL_CONVERSION=YES
    export CLANG_WARN_CONSTANT_CONVERSION=YES
    export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
    export CLANG_WARN_EMPTY_BODY=YES
    export CLANG_WARN_ENUM_CONVERSION=YES
    export CLANG_WARN_INT_CONVERSION=YES
    export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
    export CLANG_WARN_UNREACHABLE_CODE=YES
    export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
    export CLASS_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/JavaClasses
    export CLEAN_PRECOMPS=YES
    export CLONE_HEADERS=NO
    export CODESIGNING_FOLDER_PATH=/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy
    export CODE_SIGNING_ALLOWED=YES
    export COLOR_DIAGNOSTICS=YES
    export COMBINE_HIDPI_IMAGES=NO
    export COMMAND_MODE=legacy
    export COMPOSITE_SDK_DIRS=/var/folders/0h/p9dmssfx2pv38brcs0s76b9022s5pl/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode/CompositeSDKs
    export CONFIGURATION=Release
    export CONFIGURATION_BUILD_DIR=/usr/local/lib/node_modules/ios-deploy/build/Release
    export CONFIGURATION_TEMP_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release
    export COPYING_PRESERVES_HFS_DATA=NO
    export COPY_HEADERS_RUN_UNIFDEF=NO
    export COPY_PHASE_STRIP=NO
    export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
    export CP=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
    export CURRENT_ARCH=x86_64
    export CURRENT_VARIANT=normal
    export DEAD_CODE_STRIPPING=NO
    export DEBUGGING_SYMBOLS=YES
    export DEBUG_INFORMATION_FORMAT=dwarf-with-dsym
    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
    export DEFAULT_KEXT_INSTALL_PATH=/Library/Extensions
    export DEFINES_MODULE=NO
    export DEPLOYMENT_LOCATION=NO
    export DEPLOYMENT_POSTPROCESSING=NO
    export DEPLOYMENT_TARGET_CLANG_ENV_NAME=MACOSX_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=mmacosx-version-min
    export DEPLOYMENT_TARGET_SETTING_NAME=MACOSX_DEPLOYMENT_TARGET
    export DERIVED_FILES_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/DerivedSources
    export DERIVED_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/DerivedSources
    export DERIVED_SOURCES_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/DerivedSources
    export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
    export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
    export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export DEVELOPMENT_LANGUAGE=English
    export DO_HEADER_SCANNING_IN_JAM=NO
    export DSTROOT=/tmp/ios-deploy.dst
    export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME=ios-deploy.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
    export DWARF_DSYM_FOLDER_PATH=/usr/local/lib/node_modules/ios-deploy/build/Release
    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
    export EMBEDDED_PROFILE_NAME=embedded.provisionprofile
    export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
    export ENABLE_BITCODE=NO
    export ENABLE_HEADER_DEPENDENCIES=YES
    export ENABLE_NS_ASSERTIONS=NO
    export ENABLE_ON_DEMAND_RESOURCES=NO
    export ENABLE_STRICT_OBJC_MSGSEND=YES
    export ENABLE_TESTABILITY=NO
    export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
    export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj"
    export EXECUTABLE_NAME=ios-deploy
    export EXECUTABLE_PATH=ios-deploy
    export EXPANDED_CODE_SIGN_IDENTITY=
    export EXPANDED_CODE_SIGN_IDENTITY_NAME=
    export EXPANDED_PROVISIONING_PROFILE=
    export FILE_LIST=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects/LinkFileList
    export FIXED_FILES_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/FixedFiles
    export FRAMEWORK_FLAG_PREFIX=-framework
    export FRAMEWORK_SEARCH_PATHS="/usr/local/lib/node_modules/ios-deploy/build/Release "
    export FRAMEWORK_VERSION=A
    export FULL_PRODUCT_NAME=ios-deploy
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu99
    export GCC_DYNAMIC_NO_PIC=NO
    export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
    export GCC_NO_COMMON_BLOCKS=YES
    export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
    export GCC_SYMBOLS_PRIVATE_EXTERN=YES
    export GCC_TREAT_WARNINGS_AS_ERRORS=NO
    export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
    export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
    export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
    export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
    export GCC_WARN_UNDECLARED_SELECTOR=YES
    export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
    export GCC_WARN_UNUSED_FUNCTION=YES
    export GCC_WARN_UNUSED_VARIABLE=YES
    export GENERATE_MASTER_OBJECT_FILE=NO
    export GENERATE_PKGINFO_FILE=NO
    export GENERATE_PROFILING_CODE=NO
    export GID=36555137
    export GROUP="CHEGG\\Domain Users"
    export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
    export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
    export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
    export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
    export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
    export HEADERMAP_USES_VFS=NO
    export HEADER_SEARCH_PATHS="/usr/local/lib/node_modules/ios-deploy/build/Release/include "
    export HIDE_BITCODE_SYMBOLS=YES
    export HOME=/Users/stewart
    export ICONV=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
    export INFOPLIST_OUTPUT_FORMAT=same-as-input
    export INFOPLIST_PREPROCESS=NO
    export INSTALL_DIR=/tmp/ios-deploy.dst/usr/local/bin
    export INSTALL_GROUP="CHEGG\\Domain Users"
    export INSTALL_MODE_FLAG=u+w,go-w,a+rX
    export INSTALL_OWNER=stewart
    export INSTALL_PATH=/usr/local/bin
    export INSTALL_ROOT=/tmp/ios-deploy.dst
    export JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
    export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    export JAVA_ARCHIVE_CLASSES=YES
    export JAVA_ARCHIVE_TYPE=JAR
    export JAVA_COMPILER=/usr/bin/javac
    export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
    export JAVA_JAR_FLAGS=cv
    export JAVA_SOURCE_SUBDIR=.
    export JAVA_USE_DEPENDENCIES=YES
    export JAVA_ZIP_FLAGS=-urg
    export JIKES_DEFAULT_FLAGS="+E +OLDCSO"
    export KEEP_PRIVATE_EXTERNS=NO
    export LD_DEPENDENCY_INFO_FILE=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy_dependency_info.dat
    export LD_GENERATE_MAP_FILE=NO
    export LD_MAP_FILE_PATH=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-LinkMap-normal-x86_64.txt
    export LD_NO_PIE=NO
    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
    export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    export LEX=lex
    export LIBRARY_FLAG_NOSPACE=YES
    export LIBRARY_FLAG_PREFIX=-l
    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
    export LIBRARY_SEARCH_PATHS="/usr/local/lib/node_modules/ios-deploy/build/Release "
    export LINKER_DISPLAYS_MANGLED_NAMES=NO
    export LINK_FILE_LIST_normal_x86_64=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.LinkFileList
    export LINK_WITH_STANDARD_LIBRARIES=YES
    export LOCALIZABLE_CONTENT_DIR=
    export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
    export LOCAL_APPS_DIR=/Applications
    export LOCAL_DEVELOPER_DIR=/Library/Developer
    export LOCAL_LIBRARY_DIR=/Library
    export LOCROOT=
    export LOCSYMROOT=
    export MACOSX_DEPLOYMENT_TARGET=10.8
    export MAC_OS_X_PRODUCT_BUILD_VERSION=14F1605
    export MAC_OS_X_VERSION_ACTUAL=101005
    export MAC_OS_X_VERSION_MAJOR=101000
    export MAC_OS_X_VERSION_MINOR=1005
    export MTL_ENABLE_DEBUG_INFO=NO
    export NATIVE_ARCH=i386
    export NATIVE_ARCH_32_BIT=i386
    export NATIVE_ARCH_64_BIT=x86_64
    export NATIVE_ARCH_ACTUAL=x86_64
    export NO_COMMON=YES
    export OBJECT_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects
    export OBJECT_FILE_DIR_normal=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal
    export OBJROOT=/usr/local/lib/node_modules/ios-deploy/build
    export ONLY_ACTIVE_ARCH=NO
    export OPTIMIZATION_LEVEL=0
    export OS=MACOS
    export OSAC=/usr/bin/osacompile
    export OTHER_LDFLAGS="-framework MobileDevice -F/System/Library/PrivateFrameworks"
    export PACKAGE_TYPE=com.apple.package-type.mach-o-executable
    export PASCAL_STRINGS=YES
    export PATH="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/ios-deploy/node_modules/.bin:/usr/local/lib/node_modules/.bin:/Users/stewart/.rvm/gems/ruby-2.2.0/bin:/Users/stewart/.rvm/gems/ruby-2.2.0@global/bin:/Users/stewart/.rvm/rubies/ruby-2.2.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mongodb/bin:/Users/stewart/Code/phone-signup/node_modules/.bin:/Users/stewart/.rvm/bin"
    export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
    export PFE_FILE_C_DIALECTS=c
    export PKGINFO_FILE_PATH=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/PkgInfo
    export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
    export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
    export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
    export PLATFORM_DISPLAY_NAME="OS X"
    export PLATFORM_NAME=macosx
    export PLATFORM_PREFERRED_ARCH=x86_64
    export PLATFORM_PRODUCT_BUILD_VERSION=7C1002
    export PLIST_FILE_OUTPUT_FORMAT=same-as-input
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
    export PRECOMP_DESTINATION_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
    export PRODUCT_MODULE_NAME=ios_deploy
    export PRODUCT_NAME=ios-deploy
    export PRODUCT_SETTINGS_PATH=
    export PRODUCT_TYPE=com.apple.product-type.tool
    export PROFILING_CODE=NO
    export PROJECT=ios-deploy
    export PROJECT_DERIVED_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/DerivedSources
    export PROJECT_DIR=/usr/local/lib/node_modules/ios-deploy
    export PROJECT_FILE_PATH=/usr/local/lib/node_modules/ios-deploy/ios-deploy.xcodeproj
    export PROJECT_NAME=ios-deploy
    export PROJECT_TEMP_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build
    export PROJECT_TEMP_ROOT=/usr/local/lib/node_modules/ios-deploy/build
    export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
    export REMOVE_CVS_FROM_RESOURCES=YES
    export REMOVE_GIT_FROM_RESOURCES=YES
    export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
    export REMOVE_HG_FROM_RESOURCES=YES
    export REMOVE_SVN_FROM_RESOURCES=YES
    export REZ_COLLECTOR_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ResourceManagerResources
    export REZ_EXECUTABLE=YES
    export REZ_OBJECTS_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS="/usr/local/lib/node_modules/ios-deploy/build/Release "
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
    export SCRIPT_INPUT_FILE_COUNT=0
    export SCRIPT_OUTPUT_FILE_COUNT=0
    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
    export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
    export SDK_DIR_macosx10_11=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
    export SDK_NAME=macosx10.11
    export SDK_NAMES=macosx10.11
    export SDK_PRODUCT_BUILD_VERSION=15C43
    export SDK_VERSION=10.11
    export SDK_VERSION_ACTUAL=101100
    export SDK_VERSION_MAJOR=101100
    export SDK_VERSION_MINOR=1100
    export SED=/usr/bin/sed
    export SEPARATE_STRIP=NO
    export SEPARATE_SYMBOL_EDIT=NO
    export SET_DIR_MODE_OWNER_GROUP=YES
    export SET_FILE_MODE_OWNER_GROUP=NO
    export SHALLOW_BUNDLE=NO
    export SHARED_DERIVED_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/Release/DerivedSources
    export SHARED_PRECOMPS_DIR=/var/folders/0h/p9dmssfx2pv38brcs0s76b9022s5pl/C/com.apple.DeveloperTools/7.2.1-7C1002/Xcode/SharedPrecompiledHeaders
    export SKIP_INSTALL=NO
    export SOURCE_ROOT=/usr/local/lib/node_modules/ios-deploy
    export SRCROOT=/usr/local/lib/node_modules/ios-deploy
    export STRINGS_FILE_OUTPUT_ENCODING=UTF-16
    export STRIP_BITCODE_FROM_COPIED_FILES=NO
    export STRIP_INSTALLED_PRODUCT=YES
    export STRIP_STYLE=all
    export SUPPORTED_PLATFORMS=macosx
    export SUPPORTS_TEXT_BASED_API=NO
    export SWIFT_PLATFORM_TARGET_PREFIX=macosx
    export SYMROOT=/usr/local/lib/node_modules/ios-deploy/build
    export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
    export SYSTEM_APPS_DIR=/Applications
    export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
    export SYSTEM_DEMOS_DIR=/Applications/Extras
    export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
    export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
    export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
    export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
    export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
    export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
    export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
    export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
    export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
    export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
    export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
    export SYSTEM_LIBRARY_DIR=/System/Library
    export TARGETNAME=ios-deploy
    export TARGET_BUILD_DIR=/usr/local/lib/node_modules/ios-deploy/build/Release
    export TARGET_NAME=ios-deploy
    export TARGET_TEMP_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build
    export TEMP_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build
    export TEMP_FILES_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build
    export TEMP_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build
    export TEMP_ROOT=/usr/local/lib/node_modules/ios-deploy/build
    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
    export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
    export UID=70031059
    export UNSTRIPPED_PRODUCT=NO
    export USER=stewart
    export USER_APPS_DIR=/Users/stewart/Applications
    export USER_LIBRARY_DIR=/Users/stewart/Library
    export USE_DYNAMIC_NO_PIC=YES
    export USE_HEADERMAP=YES
    export USE_HEADER_SYMLINKS=NO
    export VALIDATE_PRODUCT=NO
    export VALID_ARCHS="i386 x86_64"
    export VERBOSE_PBXCP=NO
    export VERSION_INFO_BUILDER=stewart
    export VERSION_INFO_FILE=ios-deploy_vers.c
    export VERSION_INFO_STRING="\"@(#)PROGRAM:ios-deploy  PROJECT:ios-deploy-\""
    export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
    export XCODE_PRODUCT_BUILD_VERSION=7C1002
    export XCODE_VERSION_ACTUAL=0721
    export XCODE_VERSION_MAJOR=0700
    export XCODE_VERSION_MINOR=0720
    export XPCSERVICES_FOLDER_PATH=/XPCServices
    export YACC=yacc
    export arch=x86_64
    export diagnostic_message_length=126
    export variant=normal
    /bin/sh -c /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Script-7E1C00D01C3C9C0700D686B5.sh

CompileC build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.o src/ios-deploy.c normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /usr/local/lib/node_modules/ios-deploy
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=126 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/0h/p9dmssfx2pv38brcs0s76b9022s5pl/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.8 -g -fvisibility=hidden -Wno-sign-conversion -iquote /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-generated-files.hmap -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-own-target-headers.hmap -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-all-target-headers.hmap -iquote /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-project-headers.hmap -I/usr/local/lib/node_modules/ios-deploy/build/Release/include -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/DerivedSources/x86_64 -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/DerivedSources -F/usr/local/lib/node_modules/ios-deploy/build/Release -x objective-c -fno-objc-arc -MMD -MT dependencies -MF /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.d --serialize-diagnostics /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.dia -c /usr/local/lib/node_modules/ios-deploy/src/ios-deploy.c -o /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.o

Ld build/Release/ios-deploy normal x86_64
    cd /usr/local/lib/node_modules/ios-deploy
    export MACOSX_DEPLOYMENT_TARGET=10.8
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/usr/local/lib/node_modules/ios-deploy/build/Release -F/usr/local/lib/node_modules/ios-deploy/build/Release -filelist /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.LinkFileList -mmacosx-version-min=10.8 -framework MobileDevice -F/System/Library/PrivateFrameworks -fobjc-arc -fobjc-link-runtime -framework Foundation -framework CoreFoundation -Xlinker -dependency_info -Xlinker /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy_dependency_info.dat -o /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy

GenerateDSYMFile build/Release/ios-deploy.dSYM build/Release/ios-deploy
    cd /usr/local/lib/node_modules/ios-deploy
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy -o /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy.dSYM

** BUILD SUCCEEDED **

/usr/local/bin/ios-deploy -> /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy
ios-deploy@1.8.4 /usr/local/lib/node_modules/ios-deploy
stewart@sfml-stewart ~/Code/taggit $ ionic run ios --device
Running command: /Users/stewart/Code/taggit/hooks/after_prepare/010_add_platform_class.js /Users/stewart/Code/taggit
add to body class: platform-ios
Running command: /Users/stewart/Code/taggit/platforms/ios/cordova/run --device
Building project  : /Users/stewart/Code/taggit/platforms/ios/taggit.xcodeproj
	Configuration : Debug
	Platform      : device
Build settings from command line:
    ARCHS = armv7 armv7s arm64
    CONFIGURATION_BUILD_DIR = /Users/stewart/Code/taggit/platforms/ios/build/device
    SDKROOT = iphoneos9.2
    SHARED_PRECOMPS_DIR = /Users/stewart/Code/taggit/platforms/ios/build/sharedpch
    VALID_ARCHS = armv7 armv7s arm64

Build settings from configuration file '/Users/stewart/Code/taggit/platforms/ios/cordova/build-debug.xcconfig':
    CODE_SIGN_IDENTITY = iPhone Developer
    CODE_SIGN_RESOURCE_RULES_PATH = $(SDKROOT)/ResourceRules.plist

=== BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET taggit OF PROJECT taggit WITH CONFIGURATION Debug ===

Check dependencies
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) were found.

** BUILD FAILED **


The following build commands failed:
	Check dependencies
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/stewart/Code/taggit/platforms/ios/cordova/build-debug.xcconfig,-project,taggit.xcodeproj,ARCHS=armv7 armv7s arm64,-target,taggit,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 armv7s arm64,CONFIGURATION_BUILD_DIR=/Users/stewart/Code/taggit/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/stewart/Code/taggit/platforms/ios/build/sharedpch
ERROR running one or more of the platforms: Error: /Users/stewart/Code/taggit/platforms/ios/cordova/run: Command failed with exit code 2
You may not have the required environment or OS to run this project

Any suggestions? Thank you!

I was able to get my app to build to my device from Xcode :grin: So, that works.