zig-template icon indicating copy to clipboard operation
zig-template copied to clipboard

Missing module 'macos_sdk'

Open marad opened this issue 1 year ago • 2 comments

Hi, I'm experimenting with zig, but cannot get this template to run. It complains about missing module and I have no idea how to fix that:

/User/homedir/.cache/zig/p/122034b3e15d582d8d101a7713e5f13c872b8b8eb6d9cb47515b8e34ee75e122630d/build.zig:13:28: error: no module named 'macos_sdk' available within module root.@dependencies.122034b3e15d582d8d101a7713e5f13c872b8b8eb6d9cb47515b8e34ee75e122630d
    if (add_paths) @import("macos_sdk").addPathsModule(objc);

I thought that maybe installing XCode and macos dev tools would help but it didn't.

marad avatar Oct 30 '24 07:10 marad

same issue here

rocketkim avatar Mar 10 '25 21:03 rocketkim

Still the same issue here.

I tried installing zvm, anyzig and zigup, and none of them could get the specific zig version to make this run

TimothyElems avatar May 26 '25 04:05 TimothyElems