Post

Replies

Boosts

Views

Activity

Cannot find 'TARGET_OS_SIMULATOR' in scope
This code was compiling fine on Xcode 16.2 public var hasSecureHardware: Bool { let isSimulator = TARGET_OS_SIMULATOR == 1 return !isSimulator && isAvailable } However, now the build breaks with the message: Cannot find 'TARGET_OS_SIMULATOR' in scope
Replies
2
Boosts
1
Views
1.5k
Activity
Apr ’25