.IPA files from MDTool

前端 未结 1 646
情书的邮戳
情书的邮戳 2021-02-10 13:52

How can I make MDTool create .IPA files for my MonoTouch project?

When I build from within the MonoDevelop GUI application, .IPA files are created.

But md

1条回答
  •  终归单人心
    2021-02-10 14:22

    mdtool build automatically produces IPA files if this is enabled in the project settings, so you don't need to do anything special to make it happen.

    The problem in this case is that the codesign step which mdtool runs to produce an IPA file was failing with the error message "User interaction is not allowed" (it wasn't immediately obvious from the mdtool output that this was an error).

    This, in turn, is because the codesign tool cannot access the keychain containing the distribution certificate and provisioning file.

    To remedy this, you need to run security unlock-keychain /Users/user/Library/Keychains/login.keychain - or whichever keychain contains the keys.

    After this, mdtool build will produce IPA files automatically.

    0 讨论(0)
提交回复
热议问题