Post

Replies

Boosts

Views

Activity

What do Xcode Project Versioning settings do?
I'm trying to figure out what the Versioning settings (such as MARKETING_VERSION, CURRENT_PROJECT_VERSION, etc) under the PROJECT / BUILD SETTINGS tab do. The version numbers embedded in the binary, etc. seem to be taken from the TARGETS / BUILD SETTINGS tab, which beg the question regarding the PROJECT settings. I ended up down this rabbit hole because I wanted to automate my versioning settings, but agvtool doesn't work with things like the standard macos app template because agvtool seems to assume an Info.plist file (from what I can tell). I suspect I'll have to parse the project.pbxproj file. Running Xcode 14.0 beta 2.
4
1
22k
Jun ’22
How to specify MacOS Safari profile in Apple Script?
Hi. I have some Apple Script (below) that opens new Safari windows. How would I specify a particular Profile to use when opening the new window? Thanks! tell application "Safari" set mydocument to (make new document at end of documents) activate end tell
Replies
0
Boosts
2
Views
775
Activity
Jan ’24
What do Xcode Project Versioning settings do?
I'm trying to figure out what the Versioning settings (such as MARKETING_VERSION, CURRENT_PROJECT_VERSION, etc) under the PROJECT / BUILD SETTINGS tab do. The version numbers embedded in the binary, etc. seem to be taken from the TARGETS / BUILD SETTINGS tab, which beg the question regarding the PROJECT settings. I ended up down this rabbit hole because I wanted to automate my versioning settings, but agvtool doesn't work with things like the standard macos app template because agvtool seems to assume an Info.plist file (from what I can tell). I suspect I'll have to parse the project.pbxproj file. Running Xcode 14.0 beta 2.
Replies
4
Boosts
1
Views
22k
Activity
Jun ’22
How can I revoke INFocusStatusCenter.default.requestAuthorization on macOS?
Hi. I'm experimenting with some code that calls INFocusStatusCenter.default.requestAuthorization How can I revoke the authorisation on macOS so it will trigger the prompt again? Thanks.
Replies
1
Boosts
0
Views
904
Activity
May ’22