Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Extracts a plist that’s been embedded in the __TEXT __info_plist section

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 BVPlistExtractor.xcodeproj
Octocat-spinner-32 BVPlistExtractor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENCE.txt
Octocat-spinner-32 README.md
README.md

BVPlistExtractor

BVPlistExtractor exports BVExtractPlist(), a function that extracts a plist that has been embedded in the __TEXT __info_plist section of a binary file. It's known to support i386 Mach-O binaries, x86_64 Mach-O binaries, and fat/universal binaries containing at least one of i386 Mach-O and x86_64 Mach-O.

Usage

Copy BVPlistExtractor.{h,m} into your project. Then:

#import "BVPlistExtractor.h"

NSError *error = nil;
id plist = BVExtractPlist(url, &error);
if (plist) {
    if ([plist isKindOfClass:[NSDictionary class]]) {
        NSDictionary *plistDict = plist;
        …
    }
}
else NSLog(@"Error whilst extracting plist: %@", error);

(at the moment error reporting is experimental)

Licence

BVPlistExtractor is released under the MIT licence.

Something went wrong with that request. Please try again.