Skip to content

Commit ec54ab7

Browse files
authored
Add missing <TargetConditionals.h> before TARGET_OS_OSX test (#6186)
1 parent cb06e7f commit ec54ab7

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

FirebaseInstallations/Source/Tests/Integration/FIRInstallationsIntegrationTests.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
// macOS requests a user password when accessing the Keychain for the first time,
2121
// so the tests may fail. Disable integration tests on macOS so far.
2222
// TODO: Configure the tests to run on macOS without requesting the keychain password.
23+
24+
#import <TargetConditionals.h>
2325
#if !TARGET_OS_OSX
2426

2527
#import <XCTest/XCTest.h>

FirebaseInstallations/Source/Tests/Utils/FIRTestKeychain.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
#import <TargetConditionals.h>
1718
#if TARGET_OS_OSX
1819

1920
#import "FirebaseInstallations/Source/Tests/Utils/FIRTestKeychain.h"

GoogleUtilities/Tests/Unit/Utils/GULTestKeychain.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
#import <TargetConditionals.h>
1718
#if TARGET_OS_OSX
1819

1920
#import "GoogleUtilities/Tests/Unit/Utils/GULTestKeychain.h"

0 commit comments

Comments
 (0)