forked from getsentry/sentry-cocoa
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove categories functions that are striped of static library (g…
…etsentry#3764) Remove categories functions that are striped of static library Co-authored-by: Philipp Hofmann <[email protected]>
- Loading branch information
1 parent
a8ec641
commit d29d6fb
Showing
61 changed files
with
256 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Changelog | ||
|
||
## Unreleased | ||
|
||
- Fix runtime error when including Sentry as a static lib (#3764) | ||
|
||
## 8.22.1 | ||
|
||
### Fixes | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,29 @@ | ||
#import "NSArray+SentrySanitize.h" | ||
#import "NSDate+SentryExtras.h" | ||
#import "NSDictionary+SentrySanitize.h" | ||
#import "SentryDateUtils.h" | ||
#import "SentryNSDictionarySanitize.h" | ||
|
||
@implementation | ||
NSArray (SentrySanitize) | ||
@implementation SentryArray | ||
|
||
- (NSArray *)sentry_sanitize | ||
+ (NSArray *)sanitizeArray:(NSArray *)array; | ||
{ | ||
NSMutableArray *array = [NSMutableArray array]; | ||
for (id rawValue in self) { | ||
|
||
NSMutableArray *result = [NSMutableArray array]; | ||
for (id rawValue in array) { | ||
if ([rawValue isKindOfClass:NSString.class]) { | ||
[array addObject:rawValue]; | ||
[result addObject:rawValue]; | ||
} else if ([rawValue isKindOfClass:NSNumber.class]) { | ||
[array addObject:rawValue]; | ||
[result addObject:rawValue]; | ||
} else if ([rawValue isKindOfClass:NSDictionary.class]) { | ||
[array addObject:[(NSDictionary *)rawValue sentry_sanitize]]; | ||
[result addObject:sentry_sanitize((NSDictionary *)rawValue)]; | ||
} else if ([rawValue isKindOfClass:NSArray.class]) { | ||
[array addObject:[(NSArray *)rawValue sentry_sanitize]]; | ||
[result addObject:[SentryArray sanitizeArray:rawValue]]; | ||
} else if ([rawValue isKindOfClass:NSDate.class]) { | ||
[array addObject:[(NSDate *)rawValue sentry_toIso8601String]]; | ||
NSDate *date = (NSDate *)rawValue; | ||
[result addObject:sentry_toIso8601String(date)]; | ||
} else { | ||
[array addObject:[rawValue description]]; | ||
[result addObject:[rawValue description]]; | ||
} | ||
} | ||
return array; | ||
return result; | ||
} | ||
|
||
@end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.