Post

Replies

Boosts

Views

Activity

Deleting an event deletes the event on the iPhone calendar, but not on the MacBook one.
Hello! I receive events in this way: let store = EKEventStore() let predicate = store.predicateForEvents(withStart: startDate, end: endDate, calendars: nil) let events = store.events(matching: predicate) And remove one of them in this way: try store.remove(event, span: .thisEvent, commit: true) It removes event from iPhone's calendar, but does not from MacBook's. The event came from Google calendar. If I do these things with an event came from iCloud calendar, it works both on iPhone and MacBook. I have tried different ways to solve this problem but without success. I would appreciate any help.
2
0
874
Jul ’23
Apple Music developer token - I always get 401
I generated tons of developer tokens with these generators: https://github.com/pelauimagineering/apple-music-token-generator https://github.com/ethanhuang13/CupertinoJWT And I've recreated keys and identifiers many times in the apple developer account too. But requests in my app to https://api.music.apple.com/v1/me/library/artists?offset= always returns 401. Also this test returns 401: curl -v -H 'Authorization: Bearer [developer token]' "https://api.music.apple.com/v1/test" The most interesting thing is that the method SKCloudServiceController().requestUserToken(forDeveloperToken: ...) returns the user token without errors. Using the developer token I created. I don't know what I'm doing wrong. I guess maybe the problem with my developer account with AM subscription and can't use it to test AM functionality? Or maybe AM service isn't working. But https://www.apple.com/support/systemstatus/ looks ok. I'll be glad for any information.
1
0
1.1k
Aug ’22