Friday, 15 January 2010

ios - How to generate entitlements in xml format without xcode? -



ios - How to generate entitlements in xml format without xcode? -

i have build ios application, without using xcode. problem in pass entitlements application.

my entitlements file looks this:

<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict> <key>keychain-access-groups</key> <array> <string>$(appidentifierprefix)com.domain</string> </array> </dict> </plist>

and xcode formats (.xcent file):

<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict> <key>application-identifier</key> <string>a1b2c3d4e5.product.name</string> <key>com.apple.developer.team-identifier</key> <string>e5d4c3b2e1</string> <key>get-task-allow</key> <true/> <key>keychain-access-groups</key> <array> <string>a1b2c3d4e5.com.domain</string> </array> </dict> </plist>

by using command:

builtin-productpackagingutility app.entitlements -entitlements -format xml -o ${home}/library/developer/xcode/deriveddata/app//build/intermediates/app.build/debug-iphoneos/app.build/app.xcent

can explain command , how can invoke manually? or how can simulate command phone call hand?

thanks.

if can utilize xcodebuild, builtin-productpackagingutility invoked step. need supply entitlements build setting variable in command line.

ios xcode build entitlements

No comments:

Post a Comment