Out of the blue, I start getting the black screen on the device after saving a few simple CSS changes… I can kill every node.exe instance, I can uninstall and reinstall the app, I can reboot my PC and tablet - all to no avail… ![]() I’ve been working in this app all day without so much as the first issue. Like now… Why I am replying to this thread is because the black screen issue began randomly again and so I again went looking for info on how to resolve it… Just as you’ve described, I can run without livereload using this exact codebase without any issues… It’s actually quite infuriating, as it seems to begin randomly and end just as randomly… 10:13:18.913 ios-deploy Can't access app path '/Users/MyUsername/Development/TestApp/platforms/ios/build/device/TestApp.app' : No such file or directoryĮrror: Error code 253 for command: ios-deploy with args: -justlaunch,-no-wifi,-d,-b,/Users/MyUsername/Development/TestApp/platforms/ios/build/device/TestApp.app Comments: If I now open the platforms/ios folder in Xcode and build to the connected device, the build completes and installs to device, and livereload functionality works as intended.Ĭan anyone shine any light on this? Although (10) offers a workaround for now I'd really like to understand why so many of the CLI commands are failing and hanging.I also have this issue sometimes, though I’ve yet to put my finger on what actually brings it about… Command: ionic run ios -l -c -s Build: SUCCEEDED Logged Error(s): To add further confusion, the following test scenario works with a device connected. Everything functions as expected, with no live reload functionality. Command: cordova run ios Build: SUCCEEDED Logged Error(s): None Comments: The app builds correctly and is loaded in the simulator. Command: ionic run ios Build: SUCCEEDED Logged Error(s): None Comments: The app builds correctly and is loaded in the simulator. ![]() The build hangs on the same command and never completes. Command: ionic run ios -device -l -c -s Build: HANGS Logged Error(s): None Comments: Same behaviour as (2). ![]() Command: ionic run ios -l -c -s Build: SUCCEEDED Logged Error(s): None Comments: The build succeeds, the simulator is launched and LiveReload works as expected 7. Everything functions as expected, with no livereload functionality. Command: cordova run ios -device Build: SUCCEEDED Logged Error(s): None Comments: The app builds correctly and is loaded on the device. Command: ionic run ios Build: SUCCEEDED Logged Error(s): None Comments: As with (1), two errors are thrown when the build completes and an attempt is made to install the app on the device.ĥ. No error is logged out and the shell returns to the prompt, sometimes even clipping the output part way through a word 4. Command: ionic run ios -device -c -s Build: CRASHES WITHOUT ERROR Logged Error(s): None Comments: Without the live reload command, the build phase quits out on the same command as in (2). The specific command that it locks up on is /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang (with a whole load of parameters that I've removed from here for legibility) 3. ![]() Command: ionic run ios -device -l -c -s Build: HANGS Logged Error(s): None Comments: With the -device flag set the build locks up part way through. I presume as the -device flag is missing from the run command 2. Command: ionic run ios -l -c -s Build: SUCCEEDED Logged Error(s):Ĭan't access app path '/Users/MyUsername/Development/TestApp/platforms/ios/build/device/TestApp.app' : No such file or directory.Įrror: Error code 253 for command: ios-deploy with args: -justlaunch,-no-wifi,-d,-b,/Users/MyUsername/Development/TestApp/platforms/ios/build/device/TestApp.app Comments: The build/device directory is indeed not created during the build process. Xcode version: Xcode 8.1 Build version 8B62ġ. I'm seeing a variety of problems depending on the command used / whether or not a device is connected. Since performing a clean install of MacOS Sierra and installing the latest versions of node, ionic, cordova etc live reload doesn't work on device for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |