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";
}
Post
Replies
Boosts
Views
Activity
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
I had some crash when perform [self.sendPanel.inputTextView becomeFirstResponder],inputTextView inherits from UITextview, crash stack is in the log below. This is a system crash?
I need some help.
crash log
crash log EXC_BAD_ACCESS
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?
When I saw a crash, I analyzed the stack and found that the contents of the release UILabel crashed, but the contents of the UILabel is an NSString, which is a constant, how could crash be triggered?
Thread 0 Crashed:
0 libobjc.A.dylib objc_release + 16
1 libobjc.A.dylib object_cxxDestructFromClass(objc_object*, objc_class*) + 112
2 libobjc.A.dylib objc_destructInstance + 88
3 libobjc.A.dylib _objc_rootDealloc + 52
4 UIKitCore -[UILabel .cxx_destruct] + 232
5 libobjc.A.dylib object_cxxDestructFromClass(objc_object*, objc_class*) + 112
6 libobjc.A.dylib objc_destructInstance + 88
7 libobjc.A.dylib _objc_rootDealloc + 52
8 UIKitCore -[UIResponder dealloc] + 152
9 UIKitCore -[UIView dealloc] + 872
10 UIKitCore -[UILabel dealloc] + 172
11 libobjc.A.dylib AutoreleasePoolPage::releaseUntil(objc_object**) + 180
12 libobjc.A.dylib objc_autoreleasePoolPop + 224
13 UIKitCore -[UIView dealloc] + 844
14 libobjc.A.dylib AutoreleasePoolPage::releaseUntil(objc_object**) + 180
15 libobjc.A.dylib objc_autoreleasePoolPop + 224
16 UIKitCore -[UIView dealloc] + 844
17 UIKitCore -[UITableViewCellContentView dealloc] + 76
18 UIKitCore -[UITableViewCell .cxx_destruct] + 600
19 libobjc.A.dylib object_cxxDestructFromClass(objc_object*, objc_class*) + 112
20 libobjc.A.dylib objc_destructInstance + 88
21 libobjc.A.dylib _objc_rootDealloc + 52
22 UIKitCore -[UIResponder dealloc] + 152
23 UIKitCore -[UIView dealloc] + 872
24 UIKitCore -[UITableViewCell dealloc] + 236
25 homebrew -[CKBubbleCell dealloc] (CKBubbleCell.m:222)
26 CoreFoundation RELEASE_OBJECTS_IN_THE_ARRAY + 112
27 CoreFoundation -[__NSArrayM dealloc] + 272
28 UIKitCore -[UITableView .cxx_destruct] + 1524
29 libobjc.A.dylib object_cxxDestructFromClass(objc_object*, objc_class*) + 112
30 libobjc.A.dylib objc_destructInstance + 88
31 libobjc.A.dylib _objc_rootDealloc + 52
32 UIKitCore -[UIResponder dealloc] + 152
33 UIKitCore -[UIView dealloc] + 872
34 UIKitCore -[UIScrollView dealloc] + 852
35 UIKitCore -[UITableView dealloc] + 364