kubkon / zig-ios-example

Minimal build.zig for targeting iOS
The Unlicense
128 stars 7 forks source link

Add guide to codesigning and running on a real device #3

Open kubkon opened 3 years ago

kubkon commented 3 years ago

It'd be cool if the README included a guide to codesigning and running the generated app on a real device using codesign and xcrun tools (or otherwise).

@jmrico01 would you be willing to add such a short guide to the README?

jmrico01 commented 3 years ago

For sure! I'll write something and PR it here when I get the chance. Working on my Zig app at the moment :)

MaxLeiter commented 2 years ago

Is there an update on this? I'm interested in using Zig to build an iOS app.

jmrico01 commented 2 years ago

Hey! Sorry I stopped working on my iOS project for a bit, but this is good timing because I've been meaning to revisit. I'll try to add something to the readme in the next day or two - feel free to ping me if I forget.

jmrico01 commented 2 years ago

Aha, seems like @kubkon made some progress while I was away. I had some very rough setup for code signing and hadn't really figured out programmatic deployment to an iOS device, so I am checking out https://github.com/kubkon/zignature and https://github.com/kubkon/zig-deploy, tweaking some outdated things, and seeing if I can make them work.

kubkon commented 2 years ago

Aha, seems like @kubkon made some progress while I was away. I had some very rough setup for code signing and hadn't really figured out programmatic deployment to an iOS device, so I am checking out https://github.com/kubkon/zignature and https://github.com/kubkon/zig-deploy, tweaking some outdated things, and seeing if I can make them work.

Yes I did :-) In order to make this example work fully programmatically with zignature and zig-deploy and with any valid and Apple issued developer certificate, there's quite a bit of work left, and in particular:

Anyhow, here's what the entire workflow should look like in the end and what I am aiming for: iOS DX with Zig: demo at Zig Milan meetup.