Posts

Post not yet marked as solved
4 Replies
818 Views
Hi, I am getting and invalidJWTResponse when using WeatherKit Swift API, I have setup everything correctly including enabling WeatherKit in both Capabilities and App Services, Added WeatherKit" to Xcode Capabilities, and waited for more than one day! But still it's not working! invalidJWTResponse(Optional(<NSHTTPURLResponse: 0x6000008d8300> { URL: https://weather-data.apple.com/v2/token } { Status Code: 401, Headers {     Connection =     (         close     );     "Content-Length" =     (         0     );     Date =     (         "Thu, 09 Jun 2022 18:24:24 GMT"     );     Server =     (         "AppleHttpServer/5712591c84160e0cbbf19c8f434c32ab02f2a7f4"     );     "Strict-Transport-Security" =     (         "max-age=31536000"     );     "X-Apple-Origin" =     (         "01ca7adc-14e8-31f5-9654-4375b40868e2"     );     "X-B3-TraceId" =     (         795fbfea426330d9     );     "X-Cache" =     (         "TCP_MISS from a88-221-161-85.deploy.akamaitechnologies.com (AkamaiGHost/10.8.2-41841244) (-)"     );     "X-REQUEST-ID" =     (         "3e6d21c8-ffa0-4c56-aa91-8466619a4993"     ); } }))
Posted
by FarouKz.
Last updated
.
Post marked as solved
2 Replies
1.7k Views
After the release of iOS 15.4, I am receiving so many crash reports for CarPlay, and the percentage increased to +140%! Here is one of the crash logs: Crash Log And here is a screenshot from Xcode Organizer, which shows too many wired crashes:
Posted
by FarouKz.
Last updated
.
Post not yet marked as solved
0 Replies
616 Views
I am trying to use SFSymbols with the newly introduced CPNowPlayingImageButton, but I am always getting the image as a black image. let shuffleButton = CPNowPlayingImageButton(image: UIImage(systemName: "shuffle")!) { button in             button.isSelected = PlayerManager.shared.playMode == .random             PlayerManager.shared.playMode = .random } I tried changing the color of the SFSymbol image but it didn't work at all, it always shows a black image regardless of anything else!
Posted
by FarouKz.
Last updated
.
Post not yet marked as solved
0 Replies
549 Views
I am trying to localize my widgets depending on the app language, but when I try to get supported languages in my app from the widget extension using: Bundle.main.preferredLocalizations // returns "en" only But if I used the same code in the main app, it returns all languages supported in my app. Any solution for that?
Posted
by FarouKz.
Last updated
.