when I run the build command in terminal everything builds fine, but if I run the same command as a (pre)build plugin for my swift package, I get this 😕
Would it be a sandboxing issue or something like that?
l
Lammert Westerhoff
04/18/2023, 2:59 PM
could be that running from Xcode is using a different shell than your terminal. For example, I always have to change the Shell in Xcode to
/bin/zsh -l
Lammert Westerhoff
04/18/2023, 2:59 PM
image.png
j
Jerry
04/19/2023, 8:12 AM
No, thats not it. Some context:
I'm trying to build a Swift Package Plugin. My intention is that the plugin runs the gradle script (similar to the run script you would add to your project build phases in Xcode), and then expose the built xcframework as a dependency in my package.