currently here is my code
目前这是我的代码
NSFileManager *fileManager = [[NSFileManager alloc] init];
BOOL receiptExists = NO;
BOOL didLog = NO;
while (!receiptExists) {
receiptExists = [fileManager fileExistsAtPath:PATH];
if (!didLog) {
NSLog(@"[NOTICE]: Waiting for the file to appear...\n");
didLog = YES;
}
}
// rest of the code
NSFileM