Skip to content

Conversation

@kubkon
Copy link
Member

@kubkon kubkon commented Aug 15, 2021

Fixes #9565

When developing an iOS app for example, the developer is required to use Apple's codesign utility to generate a valid signature as done by Xcode.

When developing an iOS app for example, the developer is required
to use Apple's codesign utility to generate a valid signature
as done by Xcode.
@jmrico01
Copy link
Contributor

jmrico01 commented Aug 15, 2021

PR already, nice! Came to post a build error, seems like CI checks are already complaining about it haha

./src/link/MachO.zig:402:49: error: cannot store runtime value in type 'comptime_int'
    const page_size = if (cpu_arch == .aarch64) 0x4000 else 0x1000;
                                                ^

That error doesn't make too much sense to me, but anyways, I got around it by using an explicit int type for now. More importantly though...

codesign works! AND I can run my Zig iOS app on a real iPhone! 🎉 🥳 THANK YOU!!!

@kubkon kubkon merged commit 4c9d417 into master Aug 16, 2021
@kubkon kubkon deleted the issue-9565 branch August 16, 2021 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't codesign aarch64-ios binaries on Intel mac

2 participants