Trying to get .framework package version. Tried to find the file using the path for the resource and then use NSBundle something like ...
NSString *path = [[NSBundle mainBundle] pathForResource:@"SomeFramework" ofType:@"framework"]; NSBundle *bundle = [[NSBundle alloc] initWithPath:path]; _version = [bundle objectForInfoDictionaryKey:(NSString *)kCFBundleVersionKey];
But the path keeps coming back ...
The best way?
ort11 source share