Skip to content

Commit

Permalink
Fix assert failed: DiskFolder::Open(LiveContainer)
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Apr 21, 2024
1 parent 018f22d commit e8b3ea8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LCUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ + (void)removeCodeSignatureFromBundleURL:(NSURL *)appURL {
+ (NSProgress *)signAppBundle:(NSString *)path completionHandler:(void (^)(BOOL success, NSError *error))completionHandler {
NSError *error;

// Remove faulty file
[NSFileManager.defaultManager removeItemAtPath:[path stringByAppendingPathComponent:@"LiveContainer"] error:nil];
// Remove PlugIns folder
[NSFileManager.defaultManager removeItemAtPath:[path stringByAppendingPathComponent:@"PlugIns"] error:nil];

Expand Down

0 comments on commit e8b3ea8

Please sign in to comment.