# macho: add basic support for building iOS binaries · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/049ff45430f7d556d1c6947c0bc44f3df67a8b00)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 049ff45430f7d556d1c6947c0bc44f3df67a8b00

Requested commit: 049ff45430f7d556d1c6947c0bc44f3df67a8b00

Commit: 049ff45430f7d556d1c6947c0bc44f3df67a8b00

Tree: 751aa2f9481ac12b00e3c5b0ab21591db92719d9

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: add basic support for building iOS binaries

* ensure we correctly transfer `-iwithsysroot` and
  `-iframeworkwithsysroot` flags with values from `build.zig` and that
  they are correctly transferred forward to `zig cc`
* try to look for `libSystem.tbd` in the provided syslibroot - one
  caveat that the user will have to specify library search paths too

```

## Parents

- [f2bf1390a29a9decaa5ca49d3ae720b360583b35](https://git.cafe/gitcafe/zig/commit/f2bf1390a29a9decaa5ca49d3ae720b360583b35?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/049ff45430f7d556d1c6947c0bc44f3df67a8b00?format=markdown)
