Skip to content
Test project for integrating zig with ios, android, macos, etc
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Hello Zig
build
src
.gitignore
README.md
build.zig
build_ios_fat_lib.sh

README.md

Hello Zig

Attempt at getting a zig library compiled for use on ios and other platforms

Building

Using the zig build script (DOESNT WORK FOR IOS YET):

IPHONEOS_DEPLOYMENT_TARGET=9.0 zig build

Manually build for ios:

bash build_ios_fat_lib.sh

Then open Hello Zig/HelloZig.xcproject and build for ios from there

NOTES

  • The build script wont work cross compiling for ios, but build-lib directly does.. no idea why yet, looks like a linker issue.
  • Use https://github.com/mpiannucci/zig until the changes I made to enable ios support are pushed upstream
You can’t perform that action at this time.