can we use appcelerator titanium liveview in iOS devices? -


i tried run app in live view mode on iphone device appcelerator studio , error :

[liveview] file server unavailable. host unreachable @ 192.168.1.122:8324 [liveview]please ensure device , computer on same network , port not blocked. 

conditions :
1. device : iphone 5s ios 9.2.1
2. titanium sdk 5.1.1.ga
3. firewall off , connected same wifi
4. xcode 7.2
5. appcelerator studio 4.4.0
6. latest appcelerator cli

can't use live view when deploying ios device?

nb : works when use ios simulator , android devices

i looked through liveview code , confirmed issue happens when liveview code inside ios app can't see liveview server running on computer. claim both computer , device on same network , firewall off. suppose next thing check liveview server running?

liveview lives inside appcelerator studio directory. on machine it's located @ /applications/appcelerator_studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1445037865.

you can manually check server status running:

/applications/appcelerator_studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1445037865/node_modules/liveview/bin/liveview server status 

there's couple other subcommands can pass in: start, stop, , restart. if status command above says server running, stop using:

/applications/appcelerator_studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1445037865/node_modules/liveview/bin/liveview server stop 

build app again , studio start liveview server again , time works. don't think need manually start liveview server. i'm not sure if work.

i hope fixes problem.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -