question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[native-run] ERR_UNKNOWN: Path 'platforms/ios/build/device/

See original GitHub issue

Version:

0.2.8

Description:

Cannot install to device using ionic cordova run ios --device. Standard command from native-run works fine. Appears to be a pathing issue.

This works. native-run ios --app platforms/ios/build/device/myapp.ipa

This does not work. ionic cordova run ios --device

Command Output:

native-run ios --app platforms/ios/build/device/ myapp .ipa --device [native-run] ERR_UNKNOWN: Path ‘platforms/ios/build/device/ [native-run] myapp [native-run] .ipa’ not found [ERROR] An error occurred while running subprocess native-run.

native-run ios --app platforms/ios/build/device/
		myapp
	.ipa --device exited with exit code 1.

Environment Info:

Ionic:

Ionic CLI : 5.2.5 (/usr/local/lib/node_modules/ionic) Ionic Framework : @ionic/angular 4.7.4 @angular-devkit/build-angular : 0.13.9 @angular-devkit/schematics : 7.3.9 @angular/cli : 7.3.9 @ionic/angular-toolkit : 1.5.1

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 8.0.0, ios 5.0.1 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 21 other plugins)

Utility:

cordova-res : 0.3.0 (update available: 0.6.0) native-run : 0.2.8

System:

Android SDK Tools : 26.1.1 (/Users/markmccorkle/Library/Android/sdk/) ios-deploy : 1.9.4 ios-sim : 8.0.1 NodeJS : v10.16.2 (/usr/local/Cellar/node@10/10.16.2/bin/node) npm : 6.9.0 OS : macOS Mojave Xcode : Xcode 10.3 Build version 10G8 macOS version:

Xcode version:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
imhoffdcommented, Aug 21, 2019

@MarkAMcCorkle As a workaround, in config.xml, change <name>(whitespace)NAME(whitespace)</name> to <name>NAME</name>. We just need to trim the whitespace.

1reaction
imhoffdcommented, Aug 21, 2019

Haha, I see the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found