MonoTouch: create an iOS application using mdtool from the command line: several provisioning profiles

I want to create ios-apps Appstore-ready directly from the command line using mdtool from MonoTouch (Xamarin).

I use the following command:

'/Applications/Xamarin Studio.app/Contents/MacOS/mdtool' -v build '--configuration:AppStore|iPhone' MyAppProject.csproj 

Now, in xCode, I have several preparation profiles, and mdtool seems to be confused which one to use:

enter image description here

Any opportunity to tell mdtool the required provisioning profile that I want to use for this build?

+4
source share
1 answer

In Xamarin Studio, go to the "iOS Bundle Signing Signing" section in the "Project Settings" section. This means that you can specify the Provisioning Profile and Code-sign keys for each build configuration.

Right now, you probably have the value "Automatic", and therefore it does not know which one to choose, because you have several positions that correspond to the value of CFBundleIdentifier from your Info.plist

+7
source

All Articles