Post

Replies

Boosts

Views

Activity

Unable to capture the view hierarchy
I always get an error when I try to view the interface hierarchy in Xcode.And I have no idea about this.I really need help. An error is as follows: The operation couldn’t be completed. Log Title: Data source expression execution failure. Log Details: error evaluating expression “(id)[[(Class)objc_getClass("DBGTargetHub") sharedHub] performRequestWithRequestInBase64:@""]”: error: Execution was interrupted, reason: EXC_BREAKPOINT (code=1, subcode=0x1a987b62c). The process has been returned to the state before expression evaluation. Log Method: -[DBGDataSourceConnectionLibViewDebugger _executeLLDBExpression:forRequest:onPotentialThread:iteration:]_block_invoke Domain: DBGViewDebuggerErrorDomain Code: 0 Failure Reason: Log Title: Data source expression execution failure. Log Details: error evaluating expression “(id)[[(Class)objc_getClass("DBGTargetHub") sharedHub] performRequestWithRequestInBase64:@""]”: error: Execution was interrupted, reason: EXC_BREAKPOINT (code=1, subcode=0x1a987b62c). The process has been returned to the state before expression evaluation. Log Method: -[DBGDataSourceConnectionLibViewDebugger _executeLLDBExpression:forRequest:onPotentialThread:iteration:]_block_invoke User Info: {   request = "Initial request"; }
2
0
3.1k
Aug ’23
After the iOS16 upgrade, the IDFV changes?
After users upgraded iOS16 beta, some users' sandbox database cannot opening. After checking code logic, it is found that the encrypted key of the database has changed after upgraded iOS16. The code logic of the generated key is as follows: (NSString *)mtdxSHA256DatabaseBinaryKeyFromnNSString:(NSString *)string {   NSString *IDFV = [[[UIDevice currentDevice] identifierForVendor] UUIDString];   NSString *clearString = [IDFV stringByAppendingString:string];   const char *cstr = [clearString cStringUsingEncoding:NSUTF8StringEncoding];   NSData data = [NSData dataWithBytes:cstr length:clearString.length];   uint8_t digest[CC_SHA256_DIGEST_LENGTH];   CC_SHA256(data.bytes, (uint32_t)data.length, digest);   NSMutableString result = [NSMutableString stringWithCapacity:CC_SHA256_DIGEST_LENGTH * 2];   for(int i = 0; i < CC_SHA256_DIGEST_LENGTH; i++) {     [result appendFormat:@"%02x", digest[i]];   }   NSString *key = [NSString stringWithFormat:@"x'%@'",[result uppercaseString]];   return [key copy]; } This method contains identifierForVendor. I wonder if the IDFV has changed after the iOS16 upgrade? Could apple official help to confirm and reply? Not an official APP Store package, but the bundle ID has not changed
6
1
3.4k
Aug ’22
createFileAtPath with imageData failed
when I use [[NSFileManager defaultManager] createFileAtPath:filePath contents:imageData attributes:nil] store image data, in some case this method return failed.I really don't know why. And the path is right,just like '/var/mobile/Containers/Data/Application/XXXXXXXX-XXXX-XXXX-XXXX-8A642743A991/Library/Caches/com.hackemist.SDWebImageCache.default/c513458d06b63d4561e39f77269e520d'. And I find in the same path,invoke [data writeToFile:filePath options:0 error:&error] work well, no error. Can someone tell me some of the reasons?
1
0
812
Nov ’21
Unable to capture the view hierarchy
I always get an error when I try to view the interface hierarchy in Xcode.And I have no idea about this.I really need help. An error is as follows: The operation couldn’t be completed. Log Title: Data source expression execution failure. Log Details: error evaluating expression “(id)[[(Class)objc_getClass("DBGTargetHub") sharedHub] performRequestWithRequestInBase64:@""]”: error: Execution was interrupted, reason: EXC_BREAKPOINT (code=1, subcode=0x1a987b62c). The process has been returned to the state before expression evaluation. Log Method: -[DBGDataSourceConnectionLibViewDebugger _executeLLDBExpression:forRequest:onPotentialThread:iteration:]_block_invoke Domain: DBGViewDebuggerErrorDomain Code: 0 Failure Reason: Log Title: Data source expression execution failure. Log Details: error evaluating expression “(id)[[(Class)objc_getClass("DBGTargetHub") sharedHub] performRequestWithRequestInBase64:@""]”: error: Execution was interrupted, reason: EXC_BREAKPOINT (code=1, subcode=0x1a987b62c). The process has been returned to the state before expression evaluation. Log Method: -[DBGDataSourceConnectionLibViewDebugger _executeLLDBExpression:forRequest:onPotentialThread:iteration:]_block_invoke User Info: {   request = "Initial request"; }
Replies
2
Boosts
0
Views
3.1k
Activity
Aug ’23
After the iOS16 upgrade, the IDFV changes?
After users upgraded iOS16 beta, some users' sandbox database cannot opening. After checking code logic, it is found that the encrypted key of the database has changed after upgraded iOS16. The code logic of the generated key is as follows: (NSString *)mtdxSHA256DatabaseBinaryKeyFromnNSString:(NSString *)string {   NSString *IDFV = [[[UIDevice currentDevice] identifierForVendor] UUIDString];   NSString *clearString = [IDFV stringByAppendingString:string];   const char *cstr = [clearString cStringUsingEncoding:NSUTF8StringEncoding];   NSData data = [NSData dataWithBytes:cstr length:clearString.length];   uint8_t digest[CC_SHA256_DIGEST_LENGTH];   CC_SHA256(data.bytes, (uint32_t)data.length, digest);   NSMutableString result = [NSMutableString stringWithCapacity:CC_SHA256_DIGEST_LENGTH * 2];   for(int i = 0; i < CC_SHA256_DIGEST_LENGTH; i++) {     [result appendFormat:@"%02x", digest[i]];   }   NSString *key = [NSString stringWithFormat:@"x'%@'",[result uppercaseString]];   return [key copy]; } This method contains identifierForVendor. I wonder if the IDFV has changed after the iOS16 upgrade? Could apple official help to confirm and reply? Not an official APP Store package, but the bundle ID has not changed
Replies
6
Boosts
1
Views
3.4k
Activity
Aug ’22
createFileAtPath with imageData failed
when I use [[NSFileManager defaultManager] createFileAtPath:filePath contents:imageData attributes:nil] store image data, in some case this method return failed.I really don't know why. And the path is right,just like '/var/mobile/Containers/Data/Application/XXXXXXXX-XXXX-XXXX-XXXX-8A642743A991/Library/Caches/com.hackemist.SDWebImageCache.default/c513458d06b63d4561e39f77269e520d'. And I find in the same path,invoke [data writeToFile:filePath options:0 error:&error] work well, no error. Can someone tell me some of the reasons?
Replies
1
Boosts
0
Views
812
Activity
Nov ’21