-
Notifications
You must be signed in to change notification settings - Fork 41
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
Does not run on simulator using LiveSync #5
Comments
That's very weird. Seems as though the MBProgressHUD constant which should be available by means of the JS bridge isn't being found when livesyncing. I'll see if the {N} guys know what might be up. Could be a bug in livesync. |
@maknz you might be on to something there. I just experience the same error with another module (https://www.npmjs.com/package/nativescript-toast) with LiveSync ... although I am not 100% sure about that because I can't build that in the simulator either. I can on a device!!!
|
@maknz I also have that error "Can't find variable: JLToast" when trying to run the app, I thought this plugin was not supported or something and now I use snackbar instead. |
Best report that to nativescript-toast then. |
@maknz agree, shouldn't even be mentioned here... |
Did you find a solution for this? It makes debugging troublesome. |
@Daxito @raefa The original issue reported here is related to an issue when starting a project for the first time using
Then after that, you will be able to run |
@NathanWalker I have the same issue but
|
go ahead and upgrade to 2.2.1. |
Hello there, I am having the same issue, I am using Telerik AppBuilder for write/debug/build my projects, the latest {N} version available is 2.2.0. Will this situation prevent me to use this feature if I am using 2.2.0 or 2.1.0? Thanks! |
Latest is |
AppBuilder does, I am testing on an Android simulator and the plugin works fine, but in iOS doesnt. I am compiling the app in debug mode and installing it in my iPhone 6 via iTunes and the App crashes. |
Yep this error is indicative of the pod not installing. |
Hi @NathanWalker , "nativescript": {
"platforms": {
"android": "2.2.0",
"ios": "2.2.1"
}
} This says to NativeScript CLI, that in case the Android platform version is 2.1.0, this plugin cannot be used. So when processing the node_modules of a project, this plugin will not be moved to So in the current case, if users have Android runtime 2.1.0 or iOS Runtime 2.2.0 (or earlier), they cannot use the plugin as NativeScript CLI will not add it to the native project. Nathan, are these limitations necessary? Can we at least change the versions to 2.2.0 (or even earlier) and upload a new version of the plugin in npm. At the moment AppBuilder has 2.2.0 version of iOS runtime and the plugin cannot be used there. |
Hello,
I was wondering if anyone else was experiencing this ... and has a solution. When I run this on the simulator (
$ tns livesync ios --device --watch
) and my controller callsloader.show();
the app crashes. This is in the log:It works fine on a device (
tns run ios --release
) and on the simulator without livesync ($ tns run ios --emulator
)FYI
The text was updated successfully, but these errors were encountered: