doorxp-blog

doorxp.com

THEOS tool openurl

CF_EXTERN_C_BEGIN
int SBSLaunchApplicationWithIdentifier(CFStringRef bid, BOOL flags);
bool SBSProcessIDForDisplayIdentifier(CFStringRef id, pid_t *pid);
bool SBSOpenSensitiveURL(CFURLRef url);
bool SBSOpenSensitiveURLAndUnlock(CFURLRef url, char flags);
CF_EXTERN_C_END

xxx_CODESIGN_FLAGS = -Sentitlements.xml


entitlements.xml

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.coreaudio.allow-amr-decode</key>
    <true/>
    <key>com.apple.coremedia.allow-protected-content-playback</key>
    <true/>
    <key>com.apple.managedconfiguration.profiled-access</key>
    <true/>
    <key>com.apple.springboard.opensensitiveurl</key>
    <true/>
    <key>dynamic-codesigning</key>
    <true/>
    <key>com.apple.springboard.launchapplications</key>
    <true/>
    <key>keychain-access-groups</key>
    <array>
        <string>com.apple.cfnetwork</string>
        <string>com.apple.identities</string>
        <string>com.apple.mobilesafari</string>
    </array>
    <key>platform-application</key>
    <true/>
</dict>
</plist>


发表评论:

Powered By Z-BlogPHP 1.5.1 Zero

Copyright doorxp.com Rights Reserved.