Quinn,
Can I use another approach?
Create a small APP bundle (Auto Update utility), not sandboxed. Include this utility to resources of main product APP bundle.
Old APP copies this small APP utility to Application Support > MyAppFolderSettings
Run small APP utility.
Launched small APP utility deletes еру old APP bundle in Applications. And copies a new APP bundle to Applications (downloaded and extracted in Application Support > MyAppFolderSettings folder).
Post
Replies
Boosts
Views
Activity
Hi Quinn,
Thanks for your reply.
My app is not sandboxed.
I tried another idea. The old app copies own APP bundle from Applications to Application Support > MyAppFolder. And tries to run it (as an agent to perform the Auto Update). The same problem - the copied APP gets com.apple.quarantine attribute and cannot be launched.
Hi Quinn,
Thanks for your fast reply and suggested solution.
I will keep using spctl command, because use of a clean VM is very complicated.
Why Apple cannot simply modify Gatekeeper to add a special mode for developers for testing apps? In this special mode any caching would not be used.
I believe that building a software package should be fully automated to save time of developers.
It seems that Apple solved this problem in macOS 13 Ventura. I checked Beta 6 today and it offers several HiDPI resolutions for my external display Dell 24" QuadHD (2560x1440) connected to Mac mini M1. No need to use BetterDummy utility or dummy 4K HDMI emulator.
Thanks, I'll try this.
I found a solution.
I use QuadHD monitor with Mac Mini M1, but macOS doesn't support HighDPI on this monitor. Fonts small & sharp or large & blurry. So I use Better Dummy free utility which emulates secondary 4K monitor and use mirroring to use HighDPI 2560x1440 on this display.
Visual artefacts appear after screen lock or sleep. When I disabled this utility to use native non-Retina resolution the problem didn't appear. I found "Disconnect and reconnect after sleep” option in this utility and it helped to solve that problem.
However it can be a bug in macOS.
I contacted with Apple support. And they manually approved the updated contract. Now I can notarize macOS apps.
I have a similar strange problem.
Today I discovered that I cannot longer notarize my macOS app (outside AppStore):
"Error: You must first sign the relevant contracts online. (1048)". I tried on 3 Macs, no VPN.
I check developer.apple.com > App Store Connect > Agreements, Tax, and Banking.
I see updated License Agreement. But I cannot sign it. There is no sign or accept button! Why?
I'm a holder and admin of this Apple ID for our small team. I tried in Safari and Chrome.
It shows a lack of information for software developers. I didn't find any official info how to implement 120 Hz ProMotion support in my macOS app.
Thanks for your reply!
It would be helpful if Apple could show several learning videos (or just screenshots) with examples how our apps look at a normal window size and in fullscreen mode with different modes. I think that many macOS developers have the same question now.
Thanks, Matt!
I found a solution for QuadHD monitor and M1 Mac and posted on Macrumors forum.
Search "Solution. QuadHD monitor with HiDPI and Mac Mini M1" in Google.
Briefly, you need to buy 4K HDMI EDID emulator (8 USD), USB-C to DisplayPort or HDMI converter (8-12 USD) and enable Mirror Displays option in macOS. Now you'll see scaled HiDPI resolutions.
Thanks
It's not good to see such noise in logs in the final product...
Quinn,
Thanks for your replies!
My workflow is the following:
Build my APP
Codesign my APP
Create a DMG from my APP
Notarize DMG...
Staple notarization to DMG
Create ZIP from APP (from step 1) for Auto-Update
Notarize ZIP...
Staple notarization to original APP (from step 1)
Delete ZIP
Create a new ZIP from APP.
Is it correct?
I've understood about timestamp servers.
I tried again a command from your article:
spctl -a -t open -vvv --context context:primary-signature googlechrome.dmg
and now it works on iMac (Intel) Big Sur 11.2.3. Earlier it didn't work on DTK with Big Sur 11.1.0