background - How add entitlement via ldid -
i have problems. want use in app next function:
int sbslaunchapplicationwithidentifier(cfstringref displayidentifier, boolean suspended);
- i add springboardservices.framework in project
- i add url schemes app
- created file entitlement.xml with
<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.springboard.launchapplications</key> <true/> </dict> </plist>
paste entitlement.xml in `developer/xcode/deriveddata/myapp-efjwoxgwdyixnfassijmwtptxvlj/build/products/debug-iphoneos/
paste ldid in
developer/xcode/deriveddata/myapp-efjwoxgwdyixnfassijmwtptxvlj/build/products/debug-iphoneos/
did
./ldid -sentitlement.xml myapp.app/myapp
in console. it's working but saw problem:- i did ./ldid -e myapp.app/myapp , saw next in console(double output entitlement.xml):
<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "apple.com/dtds/propertylist-1.0.dtd">; <plist version="1.0"> <dict> <key>com.apple.springboard.launchapplications</key> <true/> </dict> </plist> <?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "apple.com/dtds/propertylist-1.0.dtd">; <plist version="1.0"> <dict> <key>com.apple.springboard.launchapplications</key> <true/> </dict> </plist>
- i create myapp.ipa file consist with:
itunesartwork payload |---myapp.app |---info.plist
- i installed ipa file on jailbreak iphone via itools myapp run can't function. try authorization via internet , it's false. when installed app without added entitlement didn't instruction ldid, application working fine.
p.s: didn't set in true targets->appname->summary->entitlements property (is true or false ?) please me
Comments
Post a Comment