Skip to content

Commit a72a3b6

Browse files
authored
Xcode 14.3 test_specs always need requires_app_host (#11198)
1 parent 6bf654b commit a72a3b6

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

FirebaseAppDistribution.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ iOS SDK for App Distribution for Firebase.
4646
'FirebaseAppDistribution/Tests/Unit*/*.[mh]',
4747
'FirebaseAppDistribution/Tests/Unit/Swift*/*.swift',
4848
]
49+
unit_tests.requires_app_host = true
4950
unit_tests.resources = 'FirebaseAppDistribution/Tests/Unit/Resources/*'
5051
unit_tests.dependency 'OCMock'
5152
end

FirebaseCore.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration
9696
swift_unit_tests.pod_target_xcconfig = {
9797
'SWIFT_OBJC_BRIDGING_HEADER' => '$(PODS_TARGET_SRCROOT)/FirebaseCore/Tests/SwiftUnit/FirebaseCore-unit-Bridging-Header.h'
9898
}
99+
swift_unit_tests.requires_app_host = true
99100
swift_unit_tests.dependency 'OCMock'
100101
swift_unit_tests.resources = 'FirebaseCore/Tests/Unit/Resources/GoogleService-Info.plist'
101102
end

FirebaseCrashlytics.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,6 @@ Pod::Spec.new do |s|
117117
unit_tests.resources = 'Crashlytics/UnitTests/Data/*',
118118
'Crashlytics/UnitTests/*.clsrecord',
119119
'Crashlytics/UnitTests/FIRCLSMachO/machO_data/*'
120+
unit_tests.requires_app_host = true
120121
end
121122
end

FirebaseFunctions.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Cloud Functions for Firebase.
5454
objc_tests.source_files = [
5555
'FirebaseFunctions/Tests/ObjCIntegration/ObjC*'
5656
]
57+
objc_tests.requires_app_host = true
5758
end
5859

5960
s.test_spec 'integration' do |int_tests|
@@ -63,5 +64,6 @@ Cloud Functions for Firebase.
6364
:tvos => tvos_deployment_target
6465
}
6566
int_tests.source_files = 'FirebaseFunctions/Tests/Integration/*.swift'
67+
int_tests.requires_app_host = true
6668
end
6769
end

FirebaseStorage.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Firebase Storage provides robust, secure file uploads and downloads from Firebas
7070
:tvos => tvos_deployment_target
7171
}
7272
unit_tests.source_files = 'FirebaseStorage/Tests/Unit/StorageAPITests.swift'
73+
unit_tests.requires_app_host = true
7374
end
7475

7576
s.test_spec 'integration' do |int_tests|

0 commit comments

Comments
 (0)