-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ios): add install failed error message #13350
Conversation
Try to replace next(new appc.exception(err, details)); with next(new appc.exception(details)); Thats at least how the other |
Same error. Easier way to test: detach the device before it installs. |
I'm fine with this change, though the error message is curious. Maybe the |
Since the error message will not be printed out so far (maybe due to a Node.js breaking change that broke |
https://github.com/tidev/node-appc/blob/master/lib/exception.js#L34 AppcException.prototype = new Error(); to AppcException.prototype = Object.create(Error.prototype);
// or AppcException.prototype = Error.prototype; but that is "bad form" according to the SO article below I'll see the error messages again. Got the hint from https://stackoverflow.com/a/871646/5193915 and it even was like this a loooong time ago: https://github.com/tidev/node-appc/blob/ba568e1bf744f76ac522214ad09c970c392b0d73/lib/exception.js#L32 Perhaps there was a change in nodejs how to handle |
Makes sense for me. @cb1kenobi Thoughts? The reason it may have worked for years without a code change was likely a behavioral change in a certain Node.js version. |
I deregistered my device in the provisioning file and tried to install. see the new error message 👍🏻 |
Removed the |
@m1ga The new version of node-appc should be released and included here as well, then we can merge! |
|
Fixes #13349
Adds a new error message
Failed to transfer app to device. Check if your devices is registered in your provisioning profile.
for0xe800001a
when the build process can't install the iOS app the end. In our case it was not registered in the prov. profile.Side note:
Still have to figure out why the error (or default) error message is not showing but
Happens with the current GA and 10.2.0. The default
For some reason the app failed to install on the device.
message is not showing up!