Post

Replies

Boosts

Views

Activity

Comment on "Couldn’t communicate with a helper application" error when uploading archive to notary service
It appears that accepting the updated agreement on https://developer.apple.com/account should suffice. This was the case for me. It took about 6 minutes between accepting the agreement and Xcode being able to upload the app to Apple's notary service. However, note that that the actual required wait time may be lesser. I didn't have to accept an updated Paid Apps agreement.
Jul ’23
Comment on @EnvironmentObject and Protocols?
Good approach. But it would require the parent view body to specify the type parameter for Provider, something like YourView<ConcreteAccessTokenProvider>(). Two issues: (1) Having to explicitly specify the type parameter defeats one of the purposes of using environmentObject in the first place, which is reducing explicit specification of property fields and types in each view. (2) Explicitly specifying the type parameter is acceptable in the topmost view, but how is an inner view know what concrete implementation was used when the object was instantiated in the .environmentObject() call? I think SwiftUI needs a better solution to this.
May ’22