Reputation: 153
Hello recently I upgraded my Mac mini from Mojave to Catalina (10.15.4) for new Xcode. Before updating my CI/CD pipeline used to work fine. My CI/CD pipeline is based on Azure. (I use my Machine as a build machine).
After updating to latest OS version and updating even the XCode. While running the pipeline it fails at "Flutter packages get" step showing this message ##[error]bash: "/Users/soap/documents/flutter/bin/flutter: Operation not permitted"
But when i run locally in machine (Navigating to my build agents folder and run these commands) it just work fine.
Note:
Please help me out.
Upvotes: 3
Views: 1687
Reputation: 176
You need to grant Java with Full Disk Access privileges.
+
button to add an application/usr/bin/java
. If you don't see the /usr/ folder, type cmd+shift+.Thanks to that, the “Operation not permitted” error was fix on our side.
Upvotes: 4