Profile Photo
What I had done: I enabled full screen mode on the simulator so I executed the following command: defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES    Question: How can I remove this rectangular bar shown in the image (so that it is like the default setting when xcode is installed)?     I have tried the following without any… (Show more)
in iOS Simulator and Devices
Profile Photo
Overview: I have a class called Player and a class called Song. Player contains a Song A view is showing the song title Aim: When I change the player.song.title, the view needs to be updated. Problem: When the song's attributes changes, it wouldn't update the view automatically. Only when a new song is assigned will the changes be reflected. My… (Show more)
in SwiftUI
Profile Photo
Hi,   I have created a new command line tool project, where I am trying to add a key to the keychain.   Error: OSStatus: -34018 Error Description: A required entitlement isn't present.   Questions: 1. How can I resolve this error ? I am able to do the same thing using a mac app instead of a command line tool project. 2. Am I missing some… (Show more)
in Security
Profile Photo
I have two Mac Minis: one running Xcode Server 10 (production) and one running Xcode Server 11 beta (development & testing) These two machines share a developer account only used for server-related things.   Until this week, everything was moving smoothly on my Xcode 11b3 server, then I started having UI test failures. The tests don't even… (Show more)
Profile Photo
Hi,   I am trying to extract the data from the P8 file to use it generate JWT.   I understand that it is possible using dumpasn1 and extracting the OCTET STRING section. This is great, and is definitely possible.   I was wondering if it was possible to do it on macOS using Apple's APIs (example SecItemImport), would make it simpler if it was… (Show more)
in Security
Profile Photo
Hi,   I would like to create a JWT to interact with Apple's Webservices.   As the first step, I have a private key file, I have loaded it as Data.   I would like to create an instance of Private Key instance (not sure what is the correct struct to use, tried HMAC, P256.Signing.PrivateKey etc)   Every time an exception is thrown.   Any help… (Show more)
in Security
Profile Photo
Aim: I have a model which is an ObservableObject. It has a Bool property, I would like to use this Bool property to initialise a @Binding variable. Questions: How to convert an @ObservableObject to a @Binding ? Is creating a @State the only way to initialise a @Binding ? Note: I do understand I can make use of @ObservedObject /… (Show more)
in SwiftUI