[jira] [Commented] (CB-12268) Cordova build Error Code 70

2017-01-18 Thread Kerri Shotts (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15828761#comment-15828761
 ] 

Kerri Shotts commented on CB-12268:
---

[~rahulpandey],

Could you link to a gist of the output of {{xcrun simctl list --json}}?

> Cordova build Error Code 70
> ---
>
> Key: CB-12268
> URL: https://issues.apache.org/jira/browse/CB-12268
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 6.3.2
> Environment: Mac OS X ElCapitan
> Xcode 8.1
>Reporter: Rahul Pandey
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Unable to build the Xcode Project using command line. CLI is not able to find 
> the simulator - 
> {code}
> xcodebuild: error: Unable to find a destination matching the provided 
> destination specifier:
> { platform:iOS Simulator, OS:latest, name:iPhone 5s }
> The requested device could not be found because no available devices matched 
> the request.
> Available destinations for the "Test" scheme:
> { platform:iOS Simulator, id:181675C1-B5A0-4728-A0B0-055D02C04A74, OS:9.2, 
> name:iPad 2 }
> { platform:iOS Simulator, id:35F6D0AC-60F0-4E31-8BEF-8675F8569983, OS:9.2, 
> name:iPad Air }
> { platform:iOS Simulator, id:FBF2E6EC-FA90-476A-9F64-E72DB7F61F78, OS:10.0, 
> name:iPad Air }
> { platform:iOS Simulator, id:934F42E1-2CE3-4B94-9C39-57167507EA24, OS:9.2, 
> name:iPad Air 2 }
> { platform:iOS Simulator, id:C48991BC-02B7-49D3-8E67-474A3AB0F08B, OS:10.0, 
> name:iPad Air 2 }
> { platform:iOS Simulator, id:2C76CA4C-D520-4D43-838E-AB1CCB1646F6, OS:9.2, 
> name:iPad Pro }
> { platform:iOS Simulator, id:F3BA6133-F186-4B9E-83C6-FCFA09DB425E, OS:10.0, 
> name:iPad Pro (9.7 inch) }
> { platform:iOS Simulator, id:6E7E6C2A-6EA0-40D5-B271-9C467B141795, OS:10.0, 
> name:iPad Pro (12.9 inch) }
> { platform:iOS Simulator, id:12E301B6-ED92-4980-B4FE-12EC36C9D20F, OS:9.2, 
> name:iPad Retina }
> { platform:iOS Simulator, id:0439C538-5BE1-4977-9A4F-F1CC6BD2AFD9, OS:10.0, 
> name:iPad Retina }
> { platform:iOS Simulator, id:7690E1D7-531B-44E5-9BF3-D3964BF778E8, OS:9.2, 
> name:iPhone 4s }
> { platform:iOS Simulator, id:74973E4E-FA23-4E67-AAA7-C3BC7C0C3051, OS:9.2, 
> name:iPhone 5 }
> { platform:iOS Simulator, id:ACF52894-3BEC-48F7-867E-2280292D3D95, OS:10.0, 
> name:iPhone 5 }
> { platform:iOS Simulator, id:61ABFF48-8C23-4860-98F1-2D1CA73E4838, OS:9.2, 
> name:iPhone 5s }
> { platform:iOS Simulator, id:FB8E4A4D-84BC-48B1-B36D-709A9B0A9C2D, OS:10.0, 
> name:iPhone 5s }
> { platform:iOS Simulator, id:7450DA0B-A46B-4BA1-87F6-94AA9B60DE91, OS:9.2, 
> name:iPhone 6 }
> { platform:iOS Simulator, id:8D403246-1557-482E-B033-C9F777A4C7CB, OS:10.0, 
> name:iPhone 6 }
> { platform:iOS Simulator, id:7DBEC86F-8700-4812-8883-A80AD16C6BD7, OS:9.2, 
> name:iPhone 6 Plus }
> Error: Error code 70 for command: xcodebuild with args: 
> -xcconfig,/Users/rahul/Desktop/demo/test/platforms/ios/cordova/build-debug.xcconfig,-workspace,test.xcworkspace,-scheme,test,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> 5s,build,CONFIGURATION_BUILD_DIR=/Users/rahul/Desktop/demo/test/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/rahul/Desktop/demo/test/platforms/ios/build/sharedpch
> {code}
> Cordova cli version 
> {code}
> elcapitan07:test rahul$ cordova -v
> 6.4.0
> elcapitan07:test rahul$ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12268) Cordova build Error Code 70

2017-01-10 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15815796#comment-15815796
 ] 

Shazron Abdullah commented on CB-12268:
---

I asked for exact repro steps, there might be quirks with inputs that you used 
possibly. Paste in the commands you used exactly. This might be related to 
https://issues.apache.org/jira/browse/CB-12287 not sure

> Cordova build Error Code 70
> ---
>
> Key: CB-12268
> URL: https://issues.apache.org/jira/browse/CB-12268
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 6.3.2
> Environment: Mac OS X ElCapitan
> Xcode 8.1
>Reporter: Rahul Pandey
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Unable to build the Xcode Project using command line. CLI is not able to find 
> the simulator - 
> {code}
> xcodebuild: error: Unable to find a destination matching the provided 
> destination specifier:
> { platform:iOS Simulator, OS:latest, name:iPhone 5s }
> The requested device could not be found because no available devices matched 
> the request.
> Available destinations for the "Test" scheme:
> { platform:iOS Simulator, id:181675C1-B5A0-4728-A0B0-055D02C04A74, OS:9.2, 
> name:iPad 2 }
> { platform:iOS Simulator, id:35F6D0AC-60F0-4E31-8BEF-8675F8569983, OS:9.2, 
> name:iPad Air }
> { platform:iOS Simulator, id:FBF2E6EC-FA90-476A-9F64-E72DB7F61F78, OS:10.0, 
> name:iPad Air }
> { platform:iOS Simulator, id:934F42E1-2CE3-4B94-9C39-57167507EA24, OS:9.2, 
> name:iPad Air 2 }
> { platform:iOS Simulator, id:C48991BC-02B7-49D3-8E67-474A3AB0F08B, OS:10.0, 
> name:iPad Air 2 }
> { platform:iOS Simulator, id:2C76CA4C-D520-4D43-838E-AB1CCB1646F6, OS:9.2, 
> name:iPad Pro }
> { platform:iOS Simulator, id:F3BA6133-F186-4B9E-83C6-FCFA09DB425E, OS:10.0, 
> name:iPad Pro (9.7 inch) }
> { platform:iOS Simulator, id:6E7E6C2A-6EA0-40D5-B271-9C467B141795, OS:10.0, 
> name:iPad Pro (12.9 inch) }
> { platform:iOS Simulator, id:12E301B6-ED92-4980-B4FE-12EC36C9D20F, OS:9.2, 
> name:iPad Retina }
> { platform:iOS Simulator, id:0439C538-5BE1-4977-9A4F-F1CC6BD2AFD9, OS:10.0, 
> name:iPad Retina }
> { platform:iOS Simulator, id:7690E1D7-531B-44E5-9BF3-D3964BF778E8, OS:9.2, 
> name:iPhone 4s }
> { platform:iOS Simulator, id:74973E4E-FA23-4E67-AAA7-C3BC7C0C3051, OS:9.2, 
> name:iPhone 5 }
> { platform:iOS Simulator, id:ACF52894-3BEC-48F7-867E-2280292D3D95, OS:10.0, 
> name:iPhone 5 }
> { platform:iOS Simulator, id:61ABFF48-8C23-4860-98F1-2D1CA73E4838, OS:9.2, 
> name:iPhone 5s }
> { platform:iOS Simulator, id:FB8E4A4D-84BC-48B1-B36D-709A9B0A9C2D, OS:10.0, 
> name:iPhone 5s }
> { platform:iOS Simulator, id:7450DA0B-A46B-4BA1-87F6-94AA9B60DE91, OS:9.2, 
> name:iPhone 6 }
> { platform:iOS Simulator, id:8D403246-1557-482E-B033-C9F777A4C7CB, OS:10.0, 
> name:iPhone 6 }
> { platform:iOS Simulator, id:7DBEC86F-8700-4812-8883-A80AD16C6BD7, OS:9.2, 
> name:iPhone 6 Plus }
> Error: Error code 70 for command: xcodebuild with args: 
> -xcconfig,/Users/rahul/Desktop/demo/test/platforms/ios/cordova/build-debug.xcconfig,-workspace,test.xcworkspace,-scheme,test,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> 5s,build,CONFIGURATION_BUILD_DIR=/Users/rahul/Desktop/demo/test/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/rahul/Desktop/demo/test/platforms/ios/build/sharedpch
> {code}
> Cordova cli version 
> {code}
> elcapitan07:test rahul$ cordova -v
> 6.4.0
> elcapitan07:test rahul$ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12268) Cordova build Error Code 70

2017-01-09 Thread Rahul Pandey (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15814237#comment-15814237
 ] 

Rahul Pandey commented on CB-12268:
---

I created the project using cordova create command and just try to build the 
project. I am using Xcode 8.1 on Mac OS X Sierra. I do not understand why it is 
not able to find the simulator even if it is there - 

{code}
xcodebuild: error: Unable to find a destination matching the provided 
destination specifier:
{ platform:iOS Simulator, OS:latest, name:iPhone 5s }
{code}

I read somewhere suggesting that to use the id instead of name for proper 
matching.


> Cordova build Error Code 70
> ---
>
> Key: CB-12268
> URL: https://issues.apache.org/jira/browse/CB-12268
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 6.3.2
> Environment: Mac OS X ElCapitan
> Xcode 8.1
>Reporter: Rahul Pandey
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Unable to build the Xcode Project using command line. CLI is not able to find 
> the simulator - 
> {code}
> xcodebuild: error: Unable to find a destination matching the provided 
> destination specifier:
> { platform:iOS Simulator, OS:latest, name:iPhone 5s }
> The requested device could not be found because no available devices matched 
> the request.
> Available destinations for the "Test" scheme:
> { platform:iOS Simulator, id:181675C1-B5A0-4728-A0B0-055D02C04A74, OS:9.2, 
> name:iPad 2 }
> { platform:iOS Simulator, id:35F6D0AC-60F0-4E31-8BEF-8675F8569983, OS:9.2, 
> name:iPad Air }
> { platform:iOS Simulator, id:FBF2E6EC-FA90-476A-9F64-E72DB7F61F78, OS:10.0, 
> name:iPad Air }
> { platform:iOS Simulator, id:934F42E1-2CE3-4B94-9C39-57167507EA24, OS:9.2, 
> name:iPad Air 2 }
> { platform:iOS Simulator, id:C48991BC-02B7-49D3-8E67-474A3AB0F08B, OS:10.0, 
> name:iPad Air 2 }
> { platform:iOS Simulator, id:2C76CA4C-D520-4D43-838E-AB1CCB1646F6, OS:9.2, 
> name:iPad Pro }
> { platform:iOS Simulator, id:F3BA6133-F186-4B9E-83C6-FCFA09DB425E, OS:10.0, 
> name:iPad Pro (9.7 inch) }
> { platform:iOS Simulator, id:6E7E6C2A-6EA0-40D5-B271-9C467B141795, OS:10.0, 
> name:iPad Pro (12.9 inch) }
> { platform:iOS Simulator, id:12E301B6-ED92-4980-B4FE-12EC36C9D20F, OS:9.2, 
> name:iPad Retina }
> { platform:iOS Simulator, id:0439C538-5BE1-4977-9A4F-F1CC6BD2AFD9, OS:10.0, 
> name:iPad Retina }
> { platform:iOS Simulator, id:7690E1D7-531B-44E5-9BF3-D3964BF778E8, OS:9.2, 
> name:iPhone 4s }
> { platform:iOS Simulator, id:74973E4E-FA23-4E67-AAA7-C3BC7C0C3051, OS:9.2, 
> name:iPhone 5 }
> { platform:iOS Simulator, id:ACF52894-3BEC-48F7-867E-2280292D3D95, OS:10.0, 
> name:iPhone 5 }
> { platform:iOS Simulator, id:61ABFF48-8C23-4860-98F1-2D1CA73E4838, OS:9.2, 
> name:iPhone 5s }
> { platform:iOS Simulator, id:FB8E4A4D-84BC-48B1-B36D-709A9B0A9C2D, OS:10.0, 
> name:iPhone 5s }
> { platform:iOS Simulator, id:7450DA0B-A46B-4BA1-87F6-94AA9B60DE91, OS:9.2, 
> name:iPhone 6 }
> { platform:iOS Simulator, id:8D403246-1557-482E-B033-C9F777A4C7CB, OS:10.0, 
> name:iPhone 6 }
> { platform:iOS Simulator, id:7DBEC86F-8700-4812-8883-A80AD16C6BD7, OS:9.2, 
> name:iPhone 6 Plus }
> Error: Error code 70 for command: xcodebuild with args: 
> -xcconfig,/Users/rahul/Desktop/demo/test/platforms/ios/cordova/build-debug.xcconfig,-workspace,test.xcworkspace,-scheme,test,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> 5s,build,CONFIGURATION_BUILD_DIR=/Users/rahul/Desktop/demo/test/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/rahul/Desktop/demo/test/platforms/ios/build/sharedpch
> {code}
> Cordova cli version 
> {code}
> elcapitan07:test rahul$ cordova -v
> 6.4.0
> elcapitan07:test rahul$ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12268) Cordova build Error Code 70

2017-01-09 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15813348#comment-15813348
 ] 

Shazron Abdullah commented on CB-12268:
---

I can't repro this. What commands are you running? Please provide exact repro 
steps with a new project.

> Cordova build Error Code 70
> ---
>
> Key: CB-12268
> URL: https://issues.apache.org/jira/browse/CB-12268
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 6.3.2
> Environment: Mac OS X ElCapitan
> Xcode 8.1
>Reporter: Rahul Pandey
>Priority: Critical
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Unable to build the Xcode Project using command line. CLI is not able to find 
> the simulator - 
> {code}
> xcodebuild: error: Unable to find a destination matching the provided 
> destination specifier:
> { platform:iOS Simulator, OS:latest, name:iPhone 5s }
> The requested device could not be found because no available devices matched 
> the request.
> Available destinations for the "Test" scheme:
> { platform:iOS Simulator, id:181675C1-B5A0-4728-A0B0-055D02C04A74, OS:9.2, 
> name:iPad 2 }
> { platform:iOS Simulator, id:35F6D0AC-60F0-4E31-8BEF-8675F8569983, OS:9.2, 
> name:iPad Air }
> { platform:iOS Simulator, id:FBF2E6EC-FA90-476A-9F64-E72DB7F61F78, OS:10.0, 
> name:iPad Air }
> { platform:iOS Simulator, id:934F42E1-2CE3-4B94-9C39-57167507EA24, OS:9.2, 
> name:iPad Air 2 }
> { platform:iOS Simulator, id:C48991BC-02B7-49D3-8E67-474A3AB0F08B, OS:10.0, 
> name:iPad Air 2 }
> { platform:iOS Simulator, id:2C76CA4C-D520-4D43-838E-AB1CCB1646F6, OS:9.2, 
> name:iPad Pro }
> { platform:iOS Simulator, id:F3BA6133-F186-4B9E-83C6-FCFA09DB425E, OS:10.0, 
> name:iPad Pro (9.7 inch) }
> { platform:iOS Simulator, id:6E7E6C2A-6EA0-40D5-B271-9C467B141795, OS:10.0, 
> name:iPad Pro (12.9 inch) }
> { platform:iOS Simulator, id:12E301B6-ED92-4980-B4FE-12EC36C9D20F, OS:9.2, 
> name:iPad Retina }
> { platform:iOS Simulator, id:0439C538-5BE1-4977-9A4F-F1CC6BD2AFD9, OS:10.0, 
> name:iPad Retina }
> { platform:iOS Simulator, id:7690E1D7-531B-44E5-9BF3-D3964BF778E8, OS:9.2, 
> name:iPhone 4s }
> { platform:iOS Simulator, id:74973E4E-FA23-4E67-AAA7-C3BC7C0C3051, OS:9.2, 
> name:iPhone 5 }
> { platform:iOS Simulator, id:ACF52894-3BEC-48F7-867E-2280292D3D95, OS:10.0, 
> name:iPhone 5 }
> { platform:iOS Simulator, id:61ABFF48-8C23-4860-98F1-2D1CA73E4838, OS:9.2, 
> name:iPhone 5s }
> { platform:iOS Simulator, id:FB8E4A4D-84BC-48B1-B36D-709A9B0A9C2D, OS:10.0, 
> name:iPhone 5s }
> { platform:iOS Simulator, id:7450DA0B-A46B-4BA1-87F6-94AA9B60DE91, OS:9.2, 
> name:iPhone 6 }
> { platform:iOS Simulator, id:8D403246-1557-482E-B033-C9F777A4C7CB, OS:10.0, 
> name:iPhone 6 }
> { platform:iOS Simulator, id:7DBEC86F-8700-4812-8883-A80AD16C6BD7, OS:9.2, 
> name:iPhone 6 Plus }
> Error: Error code 70 for command: xcodebuild with args: 
> -xcconfig,/Users/rahul/Desktop/demo/test/platforms/ios/cordova/build-debug.xcconfig,-workspace,test.xcworkspace,-scheme,test,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> 5s,build,CONFIGURATION_BUILD_DIR=/Users/rahul/Desktop/demo/test/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/rahul/Desktop/demo/test/platforms/ios/build/sharedpch
> {code}
> Cordova cli version 
> {code}
> elcapitan07:test rahul$ cordova -v
> 6.4.0
> elcapitan07:test rahul$ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org