You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Pax] 💻 Building xcodeproject...
2023-10-30 22:41:04.134 xcodebuild[39987:197212] Writing error result bundle to /var/folders/y2/188hpfyd2_bbprjnwclm6b9h0000gn/T/ResultBundle_2023-30-10_22-41-0004.xcresult
xcodebuild: error: Could not resolve package dependencies:
the package at '/Users/wjz/Rust/hello-world/.pax/pkg/pax-chassis-common/pax-swift-cartridge' cannot be accessed (Error Domain=NSCocoaErrorDomain Code=260 "The folder “pax-swift-cartridge” doesn’t exist." UserInfo={NSFilePath=/Users/wjz/Rust/hello-world/.pax/pkg/pax-chassis-common/pax-swift-cartridge, NSUserStringVariant=(
Folder
), NSUnderlyingError=0x7fa7f4508da0 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}})
Failed to build project with xcodebuild. Aborting.
The text was updated successfully, but these errors were encountered:
cd xcodetest && pax-cli run --target=macos. The same error message is presented.
Thanks for the report @Vjze ; we've filed this bug in our tracker and will update this issue when we resolve it.
For whoever takes this on, it looks like the published version of the CLI (as opposed to the monorepo libdev version) is failing to unpack pax-swift-cartridge. Either it isn't getting bundled with the binary, or perhaps our recursive unpacking logic is failing (possibly not handling a symlink/etc. correctly — and we do have symlinks in pax-swift-cartridge.)
Notice the missing pax-swift-cartridge below; this is in xcodetest/.pax/pkg/pax-chassis-common after getting the error above:
[Pax] 💻 Building xcodeproject...
2023-10-30 22:41:04.134 xcodebuild[39987:197212] Writing error result bundle to /var/folders/y2/188hpfyd2_bbprjnwclm6b9h0000gn/T/ResultBundle_2023-30-10_22-41-0004.xcresult
xcodebuild: error: Could not resolve package dependencies:
the package at '/Users/wjz/Rust/hello-world/.pax/pkg/pax-chassis-common/pax-swift-cartridge' cannot be accessed (Error Domain=NSCocoaErrorDomain Code=260 "The folder “pax-swift-cartridge” doesn’t exist." UserInfo={NSFilePath=/Users/wjz/Rust/hello-world/.pax/pkg/pax-chassis-common/pax-swift-cartridge, NSUserStringVariant=(
Folder
), NSUnderlyingError=0x7fa7f4508da0 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}})
Failed to build project with xcodebuild. Aborting.
The text was updated successfully, but these errors were encountered: