Testing UI Builder Locally
Local changes can only be tested on the iOS Simulator, included with Xcode.
Setup
In order to test changes to UI builder:
- Install a local server program, such as ws
- Run
ws
from the command terminal. - In the root folder from which you are running
ws
, create a folder calledui_builder
. - Download the latest version of the UI builder's AppDefine.json file into that folder.
Download your app's
rivers.json
file:In Zapp, find your app and open its Info screen, as shown below.
Press the
Reveal Build Parameters
button in the top-right.- Find the "rivers" JSON URL at the bottom, which represents the layouts defined in UI builder.
Download the JSON and save it to your
ui_bulider
folder (created in step 3).
- Your
ui_builder
folder should now look like this:
Running in app
In order to test your changes in the app:
Open the
Settings
app and find your app in the bottom section.In the app settings, change the
APPLICASTER COMPONENTS SERVER
toLocal
.Restart the application.