This commit is contained in:
Mitchell Hashimoto 2024-11-03 15:09:38 -08:00
parent a708e543be
commit 962941d291
No known key found for this signature in database
GPG key ID: 523D5DC389D273BC

View file

@ -86,6 +86,11 @@ pub fn build(b: *std.build.Builder) !void {
}
```
Note that `zig-objc` will find and link to headers from the target SDK
(macOS, iOS, etc.) automatically by finding your Xcode installation. If
Xcode is not installed, you can add it manually but you must set the
`-Dadd-paths=false` flag.
**`zig-objc` only works with released versions of Zig.** We don't support
nightly versions because the Zig compiler is still changing too much.