Add Signing&Capabilities to XCode project from command line. How?

Hello all!

My project is C++ project for iOS. It's using In-App Purchase from StoreKit. To build this project need to add "In-App Purchase" to the project "Signing&Capabilities" from command line. How to add it?

Is there any manuals how to handle properties of XCode project from command line and the list of all values that used for it?

Signing & Capabilities is a nice UI on top of a number of existing facilities:

  • The Developer website, for manipulating signing assets

  • Properties in your Info.plist file

  • Properties in your .entitlements file

  • Frameworks that you link to

If you’re doing this without Xcode you’ll have to consult the resources for the specific feature you’re working with. In the case of StoreKit, that’s:

  • Giving your app an explicit App ID

  • Linking to the StoreKit framework

As to the exact steps to take, it’s hard to say without knowing more about how you code is set up. Do you have an Xcode project and thus are building from the command-line with xcodebuild? Or are you building with some other build system, like make?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Add Signing&Capabilities to XCode project from command line. How?
 
 
Q