Same; first occurrence at 2020-01-24 14:23 UTC
Post
Replies
Boosts
Views
Activity
It is up to you to implement logic determining when and when subscription offers are provided to a user, so you can choose to only provide a subscription offer after the subscription has expired, if you wish. This logic must be implemented on a server since the offer needs to be signed by a secret token that must be kept secure and not shipped in your app.
Encountered after attempting only 1 MB on watchOS 7, which is very unexpected, considering the docs state the only size limit is on tvOS:
Currently, there is only a size limit for data stored to local user defaults on tvOS, which posts a warning notification when user defaults storage reaches 512kB in size, and terminates apps when user defaults storage reaches 1MB in size.
https://developer.apple.com/documentation/foundation/userdefaults/1617187-sizelimitexceedednotification
I was able to eliminate the hundreds of duplicate definition warnings by changing the Intent Class Generation Language build setting (INTENTS_CODEGEN_LANGUAGE) from Swift to Objective-C. I also had to import the auto generated intent headers into my Swift bridging header, since most of my intent usage is in Swift.
I suspect this is only an issue in projects that still use Obj-C, since all the errors only originated in Obj-C files that imported my project's Swift header, and as @CannedMango pointed out, the duplicate definitions seem to be due the new async/await functions translating to the same Obj-C method signatures as the earlier completion-based functions.
API supporting this was added in iOS 16.4 (docs)
Menu {
...
}
.menuActionDismissBehavior(.disabled)