Skip to content

Commit 8605120

Browse files
authored
Add IAM headless to CI (#2341)
* Fix new Xcode 10.2 warning
1 parent 456e8eb commit 8605120

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

Firebase/InAppMessaging/Data/FIRIAMFetchResponseParser.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ NS_ASSUME_NONNULL_BEGIN
3232
// @param fetchWaitTime would be non nil if fetch wait time data is found in the api response.
3333
- (NSArray<FIRIAMMessageDefinition *> *)parseAPIResponseDictionary:(NSDictionary *)responseDict
3434
discardedMsgCount:(NSInteger *)discardCount
35-
fetchWaitTimeInSeconds:(NSNumber **)fetchWaitTime;
35+
fetchWaitTimeInSeconds:
36+
(NSNumber *_Nullable *_Nonnull)fetchWaitTime;
3637

3738
- (instancetype)init NS_UNAVAILABLE;
3839
- (instancetype)initWithTimeFetcher:(id<FIRIAMTimeFetcher>)timeFetcher;

InAppMessaging/Example/App/InAppMessaging-Example-iOS/AppDelegate.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ - (BOOL)application:(UIApplication *)application
5353
sdkSetting.loggerSizeAfterReduce = 600;
5454
sdkSetting.appFGRenderMinIntervalInMinutes = 0.1;
5555
sdkSetting.loggerInVerboseMode = YES;
56-
sdkSetting.conversionTrackingExpiresInSeconds = 180;
5756
sdkSetting.firebaseAutoDataCollectionEnabled = NO;
5857

5958
sdkSetting.clearcutStrategy =

InAppMessaging/Example/Podfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
21
use_frameworks!
32

43
# Uncomment the next two lines for pre-release testing on public repo
5-
source 'https://github.com/Firebase/SpecsStaging.git'
6-
source 'https://github.com/CocoaPods/Specs.git'
4+
# source 'https://github.com/Firebase/SpecsStaging.git'
5+
# source 'https://github.com/CocoaPods/Specs.git'
76

87
pod 'FirebaseCore', :path => '../..'
98

scripts/build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,13 @@ case "$product-$method-$platform" in
233233
;;
234234

235235
InAppMessagingDisplay-xcodebuild-iOS)
236+
RunXcodebuild \
237+
-workspace 'InAppMessaging/Example/InAppMessaging-Example-iOS.xcworkspace' \
238+
-scheme 'InAppMessaging_Example_iOS' \
239+
"${xcb_flags[@]}" \
240+
build \
241+
test
242+
236243
# Run UI tests on both iPad and iPhone simulators
237244
# TODO: Running two destinations from one xcodebuild command stopped working with Xcode 10.
238245
# Consider separating static library tests to a separate job.

scripts/install_prereqs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ case "$PROJECT-$PLATFORM-$METHOD" in
4848
InAppMessagingDisplay-iOS-xcodebuild)
4949
gem install xcpretty
5050
bundle exec pod install --project-directory=InAppMessagingDisplay/Example --repo-update
51+
bundle exec pod install --project-directory=InAppMessaging/Example --repo-update
5152
;;
5253

5354
Firestore-*-xcodebuild | Firestore-*-fuzz)

0 commit comments

Comments
 (0)