[TIMOB-18136] CLI: Build command iOS option '--device-family iPad' not being honored
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.5.0 |
Fix Version/s | n/a |
Components | CLI |
Labels | cb-tooling, qe-3.5.0 |
Reporter | Khushbu Agrawal |
Assignee | Praveen Innamuri |
Created | 2014-12-04T06:25:16.000+0000 |
Updated | 2020-01-30T09:40:48.000+0000 |
Description
Description:
This is not a regression. Reproducible with earlier releases.
STEPS TO REPRODUCE:-
Test setup:
1. First connect the iPhone device to the test machine. Then attached the iPad device to the test machine.
2. Run the below command.
ti build -p ios -T device --device-id all --device-family ipad --developer-name "QE Department (C64864TF2L)" -P "f0a56225-0b09-4694-aecd-630953506ca6"
EXPECTED RESULT
2. The CLI should installed application on all connected ipad devices and give error for installing same application on iPhone device.
ACTUAL RESULT
2. The CLI just gives error for installing application on iPhone device and doesn't install application on iPad device.
[TRACE]
[TRACE] Signing Identity "iPhone Developer: QE Department (C64864TF2L)"
[TRACE] Provisioning Profile "Any App Development"
[TRACE] (f0a56225-0b09-4694-aecd-630953506ca6)
[TRACE] /usr/bin/codesign --force --sign BBAAE833608E8BBD699428FA1D40421597799E31 --entitlements /Users/kagrawal/Documents/Appcelerator_Studio_Workspace/iOSTesting/build/iphone/build/iOSTesting.build/Debug-iphoneos/iOSTesting-iPad.build/iOSTesting.app.xcent /Users/kagrawal/Documents/Appcelerator_Studio_Workspace/iOSTesting/build/iphone/build/Debug-iphoneos/iOSTesting.app
[TRACE] Touch build/Debug-iphoneos/iOSTesting.app.dSYM
[TRACE] cd /Users/kagrawal/Documents/Appcelerator_Studio_Workspace/iOSTesting/build/iphone
[TRACE] export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/Users/kagrawal/Documents/adt-bundle-mac-x86_64-20140702/sdk/tools:/Users/kagrawal/Documents/adt-bundle-mac-x86_64-20140702/sdk/platform-tools:/Applications/apache-ant-1.9.4/bin:/Users/kagrawal/Library/android-sdk-macosx:/Users/kagrawal/Library/android-sdk-macosx/tools:/Users/kagrawal/Library/android-sdk-macosx/platform-tools"
[TRACE] /usr/bin/touch -c /Users/kagrawal/Documents/Appcelerator_Studio_Workspace/iOSTesting/build/iphone/build/Debug-iphoneos/iOSTesting.app.dSYM
[TRACE] ** BUILD SUCCEEDED **
[INFO] Installing app on device AppC S iPhone6
[ERROR] Failed to install app on device (0xe8000080)
[ERROR] Project failed to build after 1m 7s 996ms
KAGRAWAL-MBP:iOSTesting kagrawal$
[~emerriman] I am agreed with you. I have updated the bug as you mentioned.