File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change
1
+ # Unreleased
2
+ - [ fixed] Fixed the APS Environment key on visionOS. (#13173 )
3
+
1
4
# 10.29.0
2
5
- [ fixed] Renamed "initWithFileName" internal method that was causing submission issues for some
3
6
users. (#13134 ).
Original file line number Diff line number Diff line change 28
28
29
29
static NSString *const kFIRMessagingWatchKitExtensionPoint = @" com.apple.watchkit" ;
30
30
31
- #if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH
32
- static NSString * const kEntitlementsAPSEnvironmentKey = @" Entitlements.aps-environment " ;
33
- # else
31
+ #if TARGET_OS_OSX
32
+ // macOS uses a different entitlement key than the rest of Apple's platforms:
33
+ // https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_aps-environment
34
34
static NSString *const kEntitlementsAPSEnvironmentKey =
35
35
@" Entitlements.com.apple.developer.aps-environment" ;
36
- #endif
36
+ #else
37
+ // Entitlement key for all non-macOS platforms:
38
+ // https://developer.apple.com/documentation/bundleresources/entitlements/aps-environment
39
+ static NSString *const kEntitlementsAPSEnvironmentKey = @" Entitlements.aps-environment" ;
40
+ #endif // TARGET_OS_OSX
37
41
static NSString *const kAPSEnvironmentDevelopmentValue = @" development" ;
38
42
39
43
#pragma mark - URL Helpers
You can’t perform that action at this time.
0 commit comments