mirror of
https://github.com/Drop-OSS/libtailscale.git
synced 2026-01-30 20:55:18 +01:00
updates tailscale/tailscale#15802 This adds the required targets to build for the iOS simulator. We support both ios, ios-sim, and ios-fat framework targets. The sample app is updated to link in the ios-fat version so it can be run on any target device or sim.
544 B
544 B
TailscaleKitHello
Instructions
First build TailscaleKit for the platform you wish to target:
From /swift:
$ make macos
$ make ios-fat
The ios target expects the universal xcframework produced by make ios-fat and can be run on either a device or the simulator.
In TailnetSettings, configure an auth key and a server/service to query.
let authKey = "your-auth-key-here"
let tailnetServer = "http://your-server-here.your-tailnet.ts.net"
Run the project. Phone Home. The output should be the response from the server.