Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
developer [2022/12/15 09:57] – [MacOS] hete | developer [2024/04/23 07:32] (Version actuelle) – [Avant compilation] hete | ||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
todo | todo | ||
===== Publishing Kanjo.Desktop ===== | ===== Publishing Kanjo.Desktop ===== | ||
+ | |||
+ | ==== Avant compilation ==== | ||
+ | Tester création de la base de données: | ||
+ | - Rouler en débuguer Kanjo.Desktop | ||
+ | - Ouvrir la fenêtre SQLdebug via le menu débug | ||
+ | - Cliquer sur Test création DB | ||
==== MacOS ==== | ==== MacOS ==== | ||
+ | |||
+ | |||
+ | === Après compilation === | ||
+ | |||
+ | |||
* Signer le logiciel dans Xojo en utilisant le [[https:// | * Signer le logiciel dans Xojo en utilisant le [[https:// | ||
+ | |||
+ | <WRAP center round box 60%> | ||
+ | codesign --timestamp -f -s ' | ||
+ | </ | ||
+ | <WRAP center round box 60%> | ||
+ | codesign --timestamp -f -s ' | ||
+ | </ | ||
+ | <WRAP center round box 60%> | ||
+ | codesign --timestamp -f --options runtime --deep -s ' | ||
+ | </ | ||
+ | |||
* Créer le fichier .pkg | * Créer le fichier .pkg | ||
<WRAP center round box 60%> | <WRAP center round box 60%> | ||
- | pkgbuild --install-location / | + | pkgbuild --install-location / |
</ | </ | ||
* Enregistrer le .pkg chez [[https:// | * Enregistrer le .pkg chez [[https:// | ||
<WRAP center round box 60%> | <WRAP center round box 60%> | ||
- | xcrun altool --notarize-app --primary-bundle-id "com.bdj.kanjo" | + | xcrun notarytool submit kanjo.mac.pkg --keychain-profile |
</ | </ | ||
* Copier le fichier dans le nextcloud, s' | * Copier le fichier dans le nextcloud, s' | ||
<WRAP center round box 60%> | <WRAP center round box 60%> | ||
- | \mv kanjo.mac.pkg ~/ | + | mv kanjo.mac.pkg ~/ |
+ | </ | ||
+ | |||
+ | Pour voir les logs : | ||
+ | <WRAP center round box 60%> | ||
+ | codesign -d -vvvv Kanjo.app | ||
+ | </ | ||
+ | <WRAP center round box 60%> | ||
+ | pkgutil --check-signature kanjo.mac.pkg | ||
+ | </ | ||
+ | <WRAP center round box 60%> | ||
+ | xcrun notarytool log bcc7f11c-7b58-45d6-b227-af11f8c9afbe | ||
</ | </ | ||