Unable to create file *.hot-update.json error is thrown when trying to run application with hmr logic on iOS device #1005
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
-
CLI: 6.0.2
-
Cross-platform modules:
-
Android Runtime:
-
iOS Runtime:
-
Plugin(s):
-
Node.js:
-
Please, attach your package.json and webpack.config.js as these configurations are usually critical for investigating issues with webpack
Describe the bug
Currently NativeScript CLI is not able to run an application with hmr logic enabled on iOS device when the .ipa
file is uploaded through Xcode.
To Reproduce
-
tns create myApp
-
tns run ios
-
Open the
.xcworkspace
file in<project dir>/platforms/ios
with Xcode. -
Uninstall the application from the iOS Device
-
Deploy the application to device from Xcode.
-
tns create myApp
-
tns run ios
-
Get the produced
.ipa
file from platforms directory and try to upload it to another device through Xcode -
A runtime error will be thrown from application
Expected behavior
Sample project
Additional context