Post

Replies

Boosts

Views

Activity

Comment on App rejected because of code inside #if DEBUG conditions
Sure, I tested the production config, and the conditional compilation with #if DEBUG behaved just as expected. Nevertheless, analyzing the archived app with strings did produce LSApplicationWorkspace among other strings. I suspect this may have to do with Strip Debug Symbols During Copy (COPY_PHASE_STRIP) and/or Generate Debug Symbols (GCC_GENERATE_DEBUGGING_SYMBOLS) build settings which default to NO and YES, respectively, for all configurations. Haven’t tested it yet, though.
Jul ’22
Comment on How to create NSCollectionView programatically?
This behavior is super strange, but I can confirm the single-line change Isaac proposed fixes it. Thank you! For reference, I’m using an NSCollectionView with an NSCollectionViewCompositionalLayout. The item is registered with its class name (not NIB). macOS 15.4 SDK.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Apr ’25
Comment on Apple Pay enforced for order tracking
I found https://developer.apple.com/documentation/financekitui/addordertowalletbutton and https://developer.apple.com/documentation/financekit, but neither of them has any documentation whatsoever—it’s like they’re not meant to be discovered. Could you confirm I’m looking in the right place?
Replies
Boosts
Views
Activity
Jan ’24
Comment on App rejected because of code inside #if DEBUG conditions
You’re right in that LSApplicationWorkspace is a pretty powerful class. Among other things, it can launch apps by bundle IDs, which I initially wanted to use for opening Settings’s main screen (the UIApplication.openSettingsURLString constant points to an app’s settings, which wan’t quite suitable for my goal).
Replies
Boosts
Views
Activity
Jul ’22
Comment on App rejected because of code inside #if DEBUG conditions
Sure, I tested the production config, and the conditional compilation with #if DEBUG behaved just as expected. Nevertheless, analyzing the archived app with strings did produce LSApplicationWorkspace among other strings. I suspect this may have to do with Strip Debug Symbols During Copy (COPY_PHASE_STRIP) and/or Generate Debug Symbols (GCC_GENERATE_DEBUGGING_SYMBOLS) build settings which default to NO and YES, respectively, for all configurations. Haven’t tested it yet, though.
Replies
Boosts
Views
Activity
Jul ’22