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
* Saved with Xojo 2023r4
* Update jo-tools/applescript-automation
* Xojo: Auto Convert to API 2
* Add Pragma unused
* Xojo API 2: Fix Deprecations
* Xojo API 2: Dim - Var
* Style: Whitespace
* Xojo API 2: Post Build Script
* Update Comments in Post Build Script
* Version 2.0.0
* Adjust DMG Settings
* Update ReadMe and ScreenShots
* Update Example Build
@@ -9,19 +9,19 @@ A requirement for that is to CodeSign with Hardened Runtime. This might lead to
9
9
That's why I encourage everyone to CodeSign *(with Hardened Runtime)* each and every DebugRun on macOS, allowing you to develop and debug as close to a Release Build as possible.
10
10
11
11
This example shows how a Post Build Script can be used in a Xojo project in order to create a customized DiskImage, sign and notarize both .app and .dmg.
12
-
You can easily customize the DiskImage's appearance by setting a couple of Variables in the Post Build Script. Additionally, even Notarization can be performed fully scripted. That requires to set up an item in your Keychain - see Info in the Script provided.
12
+
You can easily customize the DiskImage's appearance by setting a couple of Variables in the Post Build Script. Additionally, even Notarization can be performed fully scripted. That requires to set up an item in your Keychain - see Info in the Scripts provided.
13
13
14
14
15
15
### Requirements
16
16
1. Xojo running on macOS *(obviously... you can't CodeSign for macOS on Windows)*
17
17
2. CodeSigning, CodeSigning-Validation and Notarization requires Xcode to be installed
18
-
5. Xojo2DMG requires
19
-
1. to be run on **macOS 11.3***(or later)*
20
-
2. have **Xcode 13***(or later)* installed
18
+
3. Xojo2DMG requires
19
+
* to be run on **macOS 11.3***(or later)*
20
+
* have **Xcode 13***(or later)* installed
21
21
22
22
23
23
### ScreenShots
24
-
[This DMG](example-build/Xojo2DMG.dmg) has been created with Xojo2DMG *(built with Xojo 2022r2, macOS 12.6, Xcode 14.0.1 for CodeSigning/Notarization)*. It contains the built example app *(built as macOS Universal: x86_64 & ARM64)*.
24
+
[This DMG](example-build/Xojo2DMG.dmg) has been created with Xojo2DMG *(built with Xojo 2023r4, macOS 14.4, Xcode 15.3 for CodeSigning/Notarization)*. It contains the built example app *(built as macOS Universal: x86_64 & ARM64)*.
25
25

26
26
27
27
Xojo IDE with the Post Build Script:
@@ -31,16 +31,15 @@ Xojo IDE with the Post Build Script:
31
31
### Requirements
32
32
[Xojo](https://www.xojo.com/) is a rapid application development for Desktop, Web, Mobile & Raspberry Pi.
33
33
34
-
The Desktop application Xojo example project ```Xojo2DMG.xojo_project``` is using:
35
-
- Xojo 2018r4
36
-
- API 1
34
+
The Desktop application Xojo example project ```Xojo2DMG.xojo_project```and its Post Build Script is using:
35
+
- Xojo 2023r4
36
+
- API 2
37
37
38
38
### How to use in your own Xojo project?
39
39
1. Copy the folder ```scripts``` to your project folder.
40
-
2. Create a PostBuild Script in your project and copy-and-paste the example PostBuild Script provided in Xojo2DMG.
41
-
3. If you're using **Xojo 2022r1***(or newer)*: make sure this PostBuild Script runs after the Step 'Sign'. Otherwise Xojo will overwrite the CodeSigning again with it's 'Sign' step.
42
-
*Note: You even need to do this if you're opening this example project in Xojo 2022r1+. The reason is that Xojo 2018r4 *(which has been used to save this example project)* doesn't have Xojo's 'Sign' step - and all existing Post Build steps are being placed before 'Sign' by default.*
43
-
4. Read the Comments in PostBuild Script, modify according to your needs *(CodeSign Entitlements, Notarization, DMG look and feel)*.
40
+
2. Create a PostBuild Script in your project and copy-and-paste the example PostBuild Script provided in ```Xojo2DMG.xojo_project```.
41
+
3. If you're using **Xojo 2022r1***(or newer)*: make sure this PostBuild Script runs after the Step 'Sign'. Otherwise Xojo will overwrite the CodeSigning again with it's 'Sign' step.
42
+
4. Read the cComments in the provided Post Build Script, modify it according to your needs *(CodeSign Entitlements, Notarization, DMG look and feel)*.
44
43
45
44
## About
46
45
Juerg Otter is a long term user of Xojo and working for [CM Informatik AG](https://cmiag.ch/). Their Application [CMI LehrerOffice](https://cmi-bildung.ch/) is a Xojo Design Award Winner 2018. In his leisure time Juerg provides some [bits and pieces for Xojo Developers](https://www.jo-tools.ch/).
0 commit comments