Facing the same issue, would appreciate any help!
Getting:
No Apple plug-in library path found at /Users/username/My project/Builds/ApplePluginLibraries
Command PhaseScriptExecution failed with a nonzero exit code
Building on Apple Silicon Mac for VisionOS