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.
Post
Replies
Boosts
Views
Activity
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.
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);
}