Hello, My app builds and runs fine but on Xcode's ...
# multiplatform
o
Hello, My app builds and runs fine but on Xcode's canvas to preview SwiftUI components, I'm getting build error on "Embed and sign shared code" build phase The logs aren't very helpful but here it is.
Copy code
export
export
export
...
/bin/sh -c /Users/***/Library/Developer/Xcode/DerivedData/***-bnvacbqslsvvixekiyryrsoiawlx/Build/Intermediates.noindex/***.build/Debug-iphonesimulator/***.build/Script-7555FFB5242A651A00829871.sh

Command PhaseScriptExecution failed with a nonzero exit code
I'm using Xcode 26 and kotlin 2.0.10 but I've also tried with 16. It was working fine before but I have no idea where it broke initially. Any idea why this happens and how to debug this further?