Hi, I'm having trouble getting remoteBuild to work when deploying to a remote device. When trying to build to a device connected to my mac I get an error giving Error Code 70. Drilling down in the error message gives Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
Below is the tail of the build.log generated by remoteBuild
Touch build/device/Toco\ Connect.app.dSYM
cd /Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/jack/.taco_home/node_modules/taco-remote-lib/2.2.1/node_modules/ios-sim/bin:/Users/jack/.rvm/gems/ruby-2.2.3/bin:/Users/jack/.rvm/gems/ruby-2.2.3@global/bin:/Users/jack/.rvm/rubies/ruby-2.2.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/Users/jack/.rvm/bin:/Users/jack/bin:/Users/jack/.rvm/bin:/Users/jack/.rvm/bin:/Users/jack/Library/Android/sdk/tools"
/usr/bin/touch -c /Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/build/device/Toco\ Connect.app.dSYM
** ARCHIVE SUCCEEDED **
Non-system Ruby in use. This may cause packaging to fail.
If you use RVM, please run rvm use system.
If you use chruby, please run chruby system.
2016-12-06 14:22:45.193 xcodebuild[77107:447088] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/sb/775jkvp13lnfgrn_vz425xqw0000gn/T/Toco Connect_2016-12-06_14-22-45.191.xcdistributionlogs'.
1.2.840.113635.100.1.61
2016-12-06 14:22:48.145 xcodebuild[77107:447088] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7fa0861f09c0>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
error: exportArchive: No applicable devices found.
Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
** EXPORT FAILED **
Failed to build app for buildNumber 34198: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,Toco Connect.xcarchive,-exportOptionsPlist,/Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/exportOptions.plist,-exportPath,/Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/build/device
I looked at the logs, navigated to the directory where remoteBuild had created the .xcarchive, ran the command manually and it appeared to work. The following is the output from running the xcodebuild command manually with the arguments used by remote build
RAN THIS COMMAND MANUALLY
xcodebuild -exportArchive -archivePath Toco\ Connect.xcarchive -exportOptionsPlist /Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/exportOptions.plist -exportPath /Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/build/device
Got this response
2016-12-06 14:56:45.657 xcodebuild[84648:499343] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/sb/775jkvp13lnfgrn_vz425xqw0000gn/T/Toco Connect_2016-12-06_14-56-45.656.xcdistributionlogs'.
1.2.840.113635.100.1.61
Exported Toco Connect.xcarchive to: /Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/build/device
** EXPORT SUCCEEDED **
This command generated an .ipa in the ios/build/device directory.
I've confirmed that i'm able to deploy to the device using the provisioning profile selected when I use Xcode, but can't seem to get it working with xcodebuild. I'm hoping someone can point me in the right direction, please let me know if you need any further debug info.
Hi, I'm having trouble getting remoteBuild to work when deploying to a remote device. When trying to build to a device connected to my mac I get an error giving Error Code 70. Drilling down in the error message gives Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
Below is the tail of the build.log generated by remoteBuild
Touch build/device/Toco\ Connect.app.dSYM
cd /Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/jack/.taco_home/node_modules/taco-remote-lib/2.2.1/node_modules/ios-sim/bin:/Users/jack/.rvm/gems/ruby-2.2.3/bin:/Users/jack/.rvm/gems/ruby-2.2.3@global/bin:/Users/jack/.rvm/rubies/ruby-2.2.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/Users/jack/.rvm/bin:/Users/jack/bin:/Users/jack/.rvm/bin:/Users/jack/.rvm/bin:/Users/jack/Library/Android/sdk/tools"
/usr/bin/touch -c /Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/build/device/Toco\ Connect.app.dSYM
** ARCHIVE SUCCEEDED **
Non-system Ruby in use. This may cause packaging to fail.
If you use RVM, please run
rvm use system.If you use chruby, please run
chruby system.2016-12-06 14:22:45.193 xcodebuild[77107:447088] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/sb/775jkvp13lnfgrn_vz425xqw0000gn/T/Toco Connect_2016-12-06_14-22-45.191.xcdistributionlogs'.
1.2.840.113635.100.1.61
2016-12-06 14:22:48.145 xcodebuild[77107:447088] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7fa0861f09c0>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
error: exportArchive: No applicable devices found.
Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
** EXPORT FAILED **
Failed to build app for buildNumber 34198: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,Toco Connect.xcarchive,-exportOptionsPlist,/Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/exportOptions.plist,-exportPath,/Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/build/device
I looked at the logs, navigated to the directory where remoteBuild had created the .xcarchive, ran the command manually and it appeared to work. The following is the output from running the xcodebuild command manually with the arguments used by remote build
RAN THIS COMMAND MANUALLY
xcodebuild -exportArchive -archivePath Toco\ Connect.xcarchive -exportOptionsPlist /Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/exportOptions.plist -exportPath /Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/build/device
Got this response
2016-12-06 14:56:45.657 xcodebuild[84648:499343] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/sb/775jkvp13lnfgrn_vz425xqw0000gn/T/Toco Connect_2016-12-06_14-56-45.656.xcdistributionlogs'.
1.2.840.113635.100.1.61
Exported Toco Connect.xcarchive to: /Users/jack/.taco_home/remote-builds/taco-remote/builds/34198/cordovaApp/platforms/ios/build/device
** EXPORT SUCCEEDED **
This command generated an .ipa in the ios/build/device directory.
I've confirmed that i'm able to deploy to the device using the provisioning profile selected when I use Xcode, but can't seem to get it working with xcodebuild. I'm hoping someone can point me in the right direction, please let me know if you need any further debug info.