Post

Replies

Boosts

Views

Activity

Reply to C++ include path completion for header using .hpp as a suffix
Sadly autocompletion for headers in C++ is completely broken in Xcode. If you search the web you'll find complaints back from Xcode 9 or 10 and Apple does not seem to care at all. As a workaround you could go to File > Project Settings and switch the Build System to Legacy and then back again. This should at least give you autocompletion for .h files. I was even able to get autocomplete for iostream once for a short fraction of a second. But I didn't get it to work with .hpp files, although this is is Xcode's standard.
Feb ’22
Reply to Xcode chooses dynamic library to link although static version was explicitly specified
In case someone else has the problem: a temporary manual workaround for this is to move the static binary (e.g.libfmt.a) to a subdirectory, maybe static/ and use this as the library search path. This can of course lead to problems if you installed the library with a package manager like brew and want to update. I hope this can help someone until Apple fixes this.
Jan ’22
Reply to How to export an app bundle from an archive with multiple binaries?
Hi Quinn, thanks for your response. I was finally able to get it to work from the command line. At first I've built an app bundle target and the helper binary target (which would be compiled and then copied into the app bundle) and both targets had the exact same bundle identifier (because they'd be both deployed in the same bundle eventually). That seemed to be what was causing the problem on the command line, because the export options plist would assign both the helper binary as well as the main app bundle binary the same provisioning profile. Now I've changed the bundle identifier for the helper binary target to something unique and used the same export options plist, which only lists the bundle identifier and the corresponding provisioning profile for the main binary and everything works as expected. (The helper binary does not need a provisioning profile and is a single binary). In the Xcode GUI I'm able to select the provisioning profile for each target manually, that's probably why it wasn't an issue there.
Dec ’21
Reply to AssociatedBundleIdentifiers for LaunchAgents/Daemons
any updates on this? It's still not working for me.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to General > Login Items > Allow in Background (User visible item names) in Ventura
Did you find a solution? According to the docs one would have to add the AssociatedBundleIdentifiers key to the .plist with the bundle identifier. However, this does not seem to be enough. It still does not show up correctly. The docs also mention a call to LSRegisterURL may be necessary, but that's still unclear to me.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to How to convert timestamp in ips crash report on macOS 12.3
I've constructed a crash which happens after 10s runtime. procExitAbsTime = 2089330565123 and procStartAbsTime = 2089084171024. The difference is 246.394.099 and should somehow correlate to ~10s.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to C++ include path completion for header using .hpp as a suffix
Sadly autocompletion for headers in C++ is completely broken in Xcode. If you search the web you'll find complaints back from Xcode 9 or 10 and Apple does not seem to care at all. As a workaround you could go to File > Project Settings and switch the Build System to Legacy and then back again. This should at least give you autocompletion for .h files. I was even able to get autocomplete for iostream once for a short fraction of a second. But I didn't get it to work with .hpp files, although this is is Xcode's standard.
Replies
Boosts
Views
Activity
Feb ’22
Reply to C++ include header path autocomplete functionality
having the same problem. How on earth can this be? Apple please fix this asap
Replies
Boosts
Views
Activity
Jan ’22
Reply to Xcode chooses dynamic library to link although static version was explicitly specified
In case someone else has the problem: a temporary manual workaround for this is to move the static binary (e.g.libfmt.a) to a subdirectory, maybe static/ and use this as the library search path. This can of course lead to problems if you installed the library with a package manager like brew and want to update. I hope this can help someone until Apple fixes this.
Replies
Boosts
Views
Activity
Jan ’22
Reply to Safari WebExtension distribution
Any new insights on this?
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to How to export an app bundle from an archive with multiple binaries?
Hi Quinn, thanks for your response. I was finally able to get it to work from the command line. At first I've built an app bundle target and the helper binary target (which would be compiled and then copied into the app bundle) and both targets had the exact same bundle identifier (because they'd be both deployed in the same bundle eventually). That seemed to be what was causing the problem on the command line, because the export options plist would assign both the helper binary as well as the main app bundle binary the same provisioning profile. Now I've changed the bundle identifier for the helper binary target to something unique and used the same export options plist, which only lists the bundle identifier and the corresponding provisioning profile for the main binary and everything works as expected. (The helper binary does not need a provisioning profile and is a single binary). In the Xcode GUI I'm able to select the provisioning profile for each target manually, that's probably why it wasn't an issue there.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Xcode 13 vim mode documentation?
Is vim mode still only available in the Xcode Beta? I can't find the mentioned setting in Xcode 13.1.
Replies
Boosts
Views
Activity
Nov ’21