Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit d180527

Browse files
committed
fix installer for iOS
1 parent be6cacc commit d180527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

publish/scripts/installer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ const pattern3 = /\\n\\s*\\/\\/Crashlytics 3 BEGIN[\\s\\S]*\\/\\/Crashlytics 3 E
455455
const string1 = \`
456456
//Crashlytics 1 BEGIN
457457
#else
458-
#import <Crashlytics/CLSLogging.h>
458+
@import FirebaseCrashlytics;
459459
#endif
460460
//Crashlytics 1 END
461461
\`;
@@ -465,7 +465,7 @@ const string2 = \`
465465
#if DEBUG
466466
#else
467467
static int redirect_cls(const char *prefix, const char *buffer, int size) {
468-
CLSLog(@"%s: %.*s", prefix, size, buffer);
468+
[[FIRCrashlytics crashlytics] logWithFormat:@"%s line %d $ " __FORMAT__, __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__];
469469
return size;
470470
}
471471

0 commit comments

Comments
 (0)