diff --git a/admin/osx/mac-crafter/README.md b/admin/osx/mac-crafter/README.md index 572d5e519..4875b7dde 100644 --- a/admin/osx/mac-crafter/README.md +++ b/admin/osx/mac-crafter/README.md @@ -17,23 +17,21 @@ It will create the application bundle with the option to sign it, which is requi https://github.com/nextcloud/desktop.git ``` -2. Create the build folder +2. Build the desktop client: ``` -mkdir -``` - -3. Build the desktop client: -``` -swift run --build-path --package-path /admin/osx/mac-crafter mac-crafter +cd admin/osx/mac-crafter +swift run mac-crafter ``` 3.1 Sign the application bundle by adding the following parameter: -`-c "Apple Development: "` +`-c ` The whole command will look like this: ``` -swift run --build-path --package-path /admin/osx/mac-crafter mac-crafter -c "Apple Development: " +swift run mac-crafter -c "Apple Development: " ``` +The resulting app bundle will be placed under the `product` folder in the mac-crafter folder. + > [!TIP] > Check [Apple's oficial documentation about code signing](https://developer.apple.com/documentation/xcode/using-the-latest-code-signature-format).