I am linking a executable with a plist using -sectcreate __TEXT linker flags. Reason for this is mainly to use the SMJobBless() method. But I need to read plist lin
-sectcreate __TEXT
A much simpler approach:
#include unsigned long *len; char *data = getsectdata("__TEXT", "__info_plist");
man getsectdata. There's lots of examples on how to access various pieces (current executable, arbitrary executable, framework, etc).