Skip to content

Get hello world compiling for iOS #5145

@tanis2000

Description

@tanis2000

I'm just figuring out at what point in time you are with iOS support for Zig. I tried to compile the basic project that you get when you initialize a new Zig project with the following command:

zig build-exe ./src/main.zig -target aarch64-ios

And I get the following error:

/usr/local/Cellar/zig/0.6.0_1/lib/zig/std/debug.zig:662:21: error: openSelfDebugInfo unsupported for this platform
            else => @compileError("openSelfDebugInfo unsupported for this platform"),
                    ^

Does that mean that iOS is not supported at all or is there anything I could do to help adding support for that platform?

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions