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
First of all thank you for this amazing and easy to setup library :)
I've been using it for a couple apps using SPM and it works perfectly. I've only encountered one issue: when archiving a catalyst target it fails when running spp:
/bin/sh -c /Users/user/Library/Developer/Xcode/DerivedData/App-fuvpklgnlnmjljbizexrsmuamxxm/Build/Intermediates.noindex/LicenseList.build/Release-maccatalyst/LicenseList.build/Script-9591152079458176390.sh
sandbox-exec: execvp() of '//Users/user/Library/Developer/Xcode/DerivedData/App-fuvpklgnlnmjljbizexrsmuamxxm/Build/Products/Release/spp' failed: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
Indeed, spp exists but in the Release-maccatalyst folder, not Release.
For now I'm gonna do a simple symlink, but if you have any idea on how to fix this that would be amazing :)
Because the build folder always changes I had to be a bit creative. I created an aggregate build target, containing the following script, and added it as a dependecy for my main target
# Type a script or drag a script file from your workspace to insert its path.
SIMLINK_DIR=${BUILT_PRODUCTS_DIR/Release-maccatalyst/Release}
[ ! -d "$SIMLINK_DIR" ] && ln -s "$BUILT_PRODUCTS_DIR" "$SIMLINK_DIR"
This is...suboptimal, but at least lets the project archive for catalyst properly
The text was updated successfully, but these errors were encountered:
Hi there!
First of all thank you for this amazing and easy to setup library :)
I've been using it for a couple apps using SPM and it works perfectly. I've only encountered one issue: when archiving a catalyst target it fails when running
spp
:Indeed,
spp
exists but in theRelease-maccatalyst
folder, notRelease
.For now I'm gonna do a simple symlink, but if you have any idea on how to fix this that would be amazing :)
EDIT:
it does look awfully similar to https://forums.swift.org/t/package-manager-executable-not-available-when-building-for-platforms-other-than-macos/56279/2, and the solution doesn't seem that simple to setup.
EDIT2:
Because the build folder always changes I had to be a bit creative. I created an aggregate build target, containing the following script, and added it as a dependecy for my main target
This is...suboptimal, but at least lets the project archive for catalyst properly
The text was updated successfully, but these errors were encountered: