File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
FirebaseMessaging/Sources Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,8 @@ BOOL FIRMessagingIsProductionApp(void) {
334
334
#if TARGET_OS_OSX || TARGET_OS_MACCATALYST
335
335
NSString *path = [[[[NSBundle mainBundle ] resourcePath ] stringByDeletingLastPathComponent ]
336
336
stringByAppendingPathComponent: @" embedded.provisionprofile" ];
337
- #elif TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH
337
+ #elif TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH || \
338
+ (defined (TARGET_OS_VISION) && TARGET_OS_VISION)
338
339
NSString *path = [[[NSBundle mainBundle ] bundlePath ]
339
340
stringByAppendingPathComponent: @" embedded.mobileprovision" ];
340
341
#endif
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ - (NSMutableDictionary *)keychainQueryForService:(NSString *)service account:(NS
92
92
NSMutableDictionary *keychainQuery = [self keychainQueryForService: service account: account];
93
93
NSMutableArray <NSData *> *results;
94
94
keychainQuery[(__bridge id )kSecReturnData ] = (__bridge id )kCFBooleanTrue ;
95
- #if TARGET_OS_IOS || TARGET_OS_TV
95
+ #if TARGET_OS_IOS || TARGET_OS_TV || (defined(TARGET_OS_VISION) && TARGET_OS_VISION)
96
96
keychainQuery[(__bridge id )kSecReturnAttributes ] = (__bridge id )kCFBooleanTrue ;
97
97
keychainQuery[(__bridge id )kSecMatchLimit ] = (__bridge id )kSecMatchLimitAll ;
98
98
// FIRMessagingKeychain should only take a query and return a result, will handle the query here.
You can’t perform that action at this time.
0 commit comments