Posts

Post not yet marked as solved
1 Replies
410 Views
Hi, I want to understand the format of crash file generated by MacOs. is there any link or document that states the proper format of crash file.
Posted Last updated
.
Post not yet marked as solved
6 Replies
387 Views
Hi I am working on a MacOs based application. we were signing application using certificate via Xcode. but now my company is not going to provide certificate to us due to some security issue. I have xcarchive file and need to sign it, is it a correct way to get .app signed it and put it back in xcarchive. I am trying to sign .app through command line. there are some third party static libraries in code (SparkleFramework). so signed those too. and then signed .app as well. When I check code sign using "codesign -vvv --deep --strict" it shows me error .app: a sealed resource is missing or invalid any help would be appreciated.
Posted Last updated
.
Post not yet marked as solved
2 Replies
919 Views
I want graphics card details using objective c. used IOServiceGetMatchingServices api for it, its working fine in Intel processor machine, but not returning model info for M1 machine. here is the code I was using    CFMutableDictionaryRef matchDict = IOServiceMatching("IOPCIDevice");        io_iterator_t iterator;        if (IOServiceGetMatchingServices(kIOMasterPortDefault,matchDict,                    &iterator) == kIOReturnSuccess)   {      io_registry_entry_t regEntry;            while ((regEntry = IOIteratorNext(iterator))) {        CFMutableDictionaryRef serviceDictionary;        if (IORegistryEntryCreateCFProperties(regEntry,                          &serviceDictionary,                           kCFAllocatorDefault,                           kNilOptions) != kIOReturnSuccess)       {          IOObjectRelease(regEntry);          continue;       }        const void *GPUModel = CFDictionaryGetValue(serviceDictionary, @"model");                if (GPUModel != nil) {          if (CFGetTypeID(GPUModel) == CFDataGetTypeID()) {            NSString *modelName = [[NSString alloc] initWithData:                       (NSData *)GPUModel encoding:NSASCIIStringEncoding];                        NSLog(@"GPU Model: %@", modelName);           [modelName release];         }       }        CFRelease(serviceDictionary);        IOObjectRelease(regEntry);     }      IOObjectRelease(iterator);   }
Posted Last updated
.
Post not yet marked as solved
0 Replies
586 Views
Hi,I am getting this Xcode error "Problems with launching via XPC. XPC error : Connection interrupted", while debug as root. Though i have not use XPC or XPC framework in my code.I have not uploaded my application on App store.when i start xcode and run very first time it runs properly but when i stop and run it again it gives me this error.I am using macOS Mojave and Xcode version 11.1Error Details -DetailsCould not launch “test2”Domain: IDEDebugSessionErrorDomainCode: 3Failure Reason: Problems with launching via XPC. XPC error : Connection interrupted--Problems with launching via XPC. XPC error : Connection interruptedDomain: IDEDebugSessionErrorDomainCode: 3--I am unable to understand what is the exact issue.Appreciate if anyone can help.Thanks.
Posted Last updated
.