(filename)
Generic way to locate a dyld framework or dyld
Generic way to locate a dyld framework or dyld
Generic way to locate a dyld framework or dyld
def dyld_find(filename):
    """Generic way to locate a dyld framework or dyld"""
    filename = os.path.realpath(filename)
    res = infoForFramework(filename)
    if res:
        framework_loc, framework_name, version = res
        return dyld_framework(filename, framework_name, version)
    else:
        return dyld_library(filename, os.path.basename(filename))
def dyld_find ( filename ) : filename = os . path . realpath ( filename ) res = infoForFramework ( filename ) if res : framework_loc , framework_name , version = res return dyld_framework ( filename , framework_name , version ) else : return dyld_library ( filename , os . path . basename ( filename ) )