IOS Installation
To install and run NuxUI, your development environment must meet these minimum requirements:
1. golang 1.8+ Download and install golang
Dwonload golang
golang installation instructions
2. macOS Developer Tools
xcode-select --install
3. Xcode
Install build tool
go install nuxui.org/nuxui/cmd/nux@latest
Build for ios
nux build -target=ios -bundleid="your.bundle.id" .
Build for iossimulator
nux build -target=iossimulator -bundleid="your.bundle.id" .
If failed to pull the signing certificate to determine your team ID
, add teamid manual
Find any xcode project, open file project.pbxproj
and find DEVELOPMENT_TEAM = YOURTEAMID
, then:
nux build -target=iossimulator -bundleid="your.bundle.id" -teamid="YOURTEAMID" .
Install app to device
open -a Simulator
xcrun simctl install booted ./hello.app
Example
open -a Simulator
cd nuxui/samples/counter
/Users/mustodo/go/bin/nux build -target=iossimulator -bundleid="a.b" -teamid="MU53V3J3JA" .
xcrun simctl install booted ./counter.app
Preview
