Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Sometimes working , sometimes not working #4

@kevinGan

Description

@kevinGan

I use this lib in my app , through viewdidload or init . but sometimes log shows proxy success and show me the proxy infomation , sometimes not shown.
what can I do for this issue , it is not method for check .
xCode5 ios7
after use this change

include "dlfcn.h"

if 0

origin_SCDynamicStoreCopyProxies = &SCDynamicStoreCopyProxies;

else

void* libHandle = dlopen("/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration", RTLD_LAZY);
origin_SCDynamicStoreCopyProxies = dlsym(libHandle, "SCDynamicStoreKeyCreateProxies");

endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions