Skip to content

Commit 1e72896

Browse files
FirebaseInAppMessagingSwift: explicitly import UIKit (#8497)
* FirebaseInAppMessagingSwift: explicitly import UIKit * FIAM podspecs: add explicit UIKit dependency
1 parent 1039e45 commit 1e72896

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

FirebaseInAppMessaging.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ See more product details at https://firebase.google.com/products/in-app-messagin
7474
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
7575
}
7676

77+
s.framework = 'UIKit'
78+
7779
s.dependency 'FirebaseCore', '~> 8.0'
7880
s.dependency 'FirebaseInstallations', '~> 8.0'
7981
s.dependency 'FirebaseABTesting', '~> 8.0'

FirebaseInAppMessaging/Swift/Source/SwiftUIPreviewHelpers.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
import UIKit
16+
1517
import FirebaseInAppMessaging
1618

1719
@available(iOS 13.0, tvOS 13.0, *)

FirebaseInAppMessagingSwift.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,7 @@ See more product details at https://firebase.google.com/products/in-app-messagin
3333
unit_tests.requires_app_host = true
3434
end
3535

36+
s.framework = 'UIKit'
37+
3638
s.dependency 'FirebaseInAppMessaging', '~> 8.0-beta'
3739
end

0 commit comments

Comments
 (0)