Post

Replies

Boosts

Views

Activity

Reply to Does SWIFT_ACTIVE_COMPILATION_CONDITIONS and inherited from included files work?
You are doing nothing wrong, but have probably hit a bug in Xcode dating back to Xcode 10.1 beta: " As of Xcode 10 beta 1, it seems the build settings editor GUI doesn't properly resolve the correct value for variables defined in the xcconfig files, and displays the values as if resolved with the old pre-Xcode 10 behavior. " Basically the settings really are being inherited correctly, but Xcode itself doesn't display them as if they are. This had me stumped today until I came across the above on stackoverflow /1393987/how-to-append-values-in-xcconfig-variables. To be sure, actually do a #if DEBUG .... #endif section in your code and see if the enclosed code gets called at runtime. It sure would be nice if this were fixed!
Feb ’21
Reply to Setting "com.apple.configuration.managed" via Apple Configurator?
I finally got around to trying Profile Manager, but whatever I did, I couldn't get it to upload the configuration plist to the device. I tested pushing other restrictions (e.g enabling and disabling the camera) and that worked, but nothing involving 'App Configuration' seems to work. My plist is pretty simple and the bundle ID is correct: xml ?xml version="1.0" encoding="UTF-8"? !DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd" plist version="1.0" dict keyManagedAppConfigurationVersion/key string1/string keyLicenseKey/key stringabcdef12345/string keyUserID/key stringwellington/string /dict /plist Watching the server's Activity Tasks view shows activity for any modification to the 'Restrictions', but setting a new 'App Configuration' doesn't create a task.
Mar ’21