Error migrating zig-ios-example project

Hi,
I am trying to migrate @kubkon 's now 2-year old zig-ios-sample to zig 0.14.1 and the latest macos system.
I have managed to fix most things but I cannot solve one link error which is the following:

(base) gegogi@gegogi-mba zig-ios-example % zig build -Dtarget=aarch64-ios-simulator
sdk_path=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.1.sdk
install
└─ install /Users/gegogi/Projects/zig-ios-example/zig-out/bin/app to bin/MadeWithZig.app/app
   └─ install Info.plist to bin/MadeWithZig.app/Info.plist
      └─ install app
         └─ zig build-exe app Debug aarch64-ios-simulator 1 errors
error: unable to find libSystem system library
error: warning: unable to open library directory '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.1.sdk/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.1.sdk/usr/lib': FileNotFound

error: the following command failed with 1 compilation errors:
/Users/gegogi/.zvm/0.14.1/zig build-exe /Users/gegogi/Projects/zig-ios-example/AppMain.m /Users/gegogi/Projects/zig-ios-example/AppDelegate.m -ODebug -target aarch64-ios-simulator -mcpu baseline -I . -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.1.sdk/System/Library/Frameworks -isystem /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.1.sdk/usr/include -L /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.1.sdk/usr/lib -Mroot=main.zig -framework Foundation -framework UIKit -lc --cache-dir /Users/gegogi/Projects/zig-ios-example/.zig-cache --global-cache-dir /Users/gegogi/.cache/zig --name app --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.1.sdk --zig-lib-dir /Users/gegogi/.zvm/0.14.1/lib/ --listen=- 
Build Summary: 0/5 steps succeeded; 1 failed
install transitive failure
└─ install /Users/gegogi/Projects/zig-ios-example/zig-out/bin/app to bin/MadeWithZig.app/app transitive failure
   └─ install Info.plist to bin/MadeWithZig.app/Info.plist transitive failure
      └─ install app transitive failure
         ├─ zig build-exe app Debug aarch64-ios-simulator 1 errors
         └─ zig build-exe app Debug aarch64-ios-simulator (reused)
error: the following build command failed with exit code 1:
/Users/gegogi/Projects/zig-ios-example/.zig-cache/o/37a5593af74832579f4c3cca4db7812d/build /Users/gegogi/.zvm/0.14.1/zig /Users/gegogi/.zvm/0.14.1/lib /Users/gegogi/Projects/zig-ios-example /Users/gegogi/Projects/zig-ios-example/.zig-cache /Users/gegogi/.cache/zig --seed 0x12598fcf -Zaa07effc5f827cb3 -Dtarget=aarch64-ios-simulator
(base) gegogi@gegogi-mba zig-ios-example % 
(base) gegogi@gegogi-mba zig-ios-example % 

I have tried to add -lSystem from command line or -L <proper system lib dir> just to find out what is going on but this was not successful either.
Maybe it’s just my lacking knowledge about macos system.
Can anybody help?