The easiest way to create Enterprise.ipa using the default distribution certificate on the command line

What is the easiest way to create an .ipa enterprise using the default distribution certificate on the command line?

I am trying to build as follows:

xcodebuild archive

=== CREATE A PUBLIC GOAL. MyProject of PROJECT MyProject DEFAULT CONFIGURATION (release) === Checking the dependent actions of an unsupported assembly 'Archive'

** BUILD FAILED **

The following build commands failed to run: Dependency Check

Thank.

+3
source share
1 answer

I have found a solution. Here's how to do it:

/usr/bin/xcrun -sdk iphoneos PackageApplication -v MyProject.app -o /Users/user/Desktop/MyProject.ipa --sign " iPhone: My Company LLC" - "My_Company_Ad_Hoc.mobileprovision"

My_Company_Ad_Hoc.mobileprovision MyProject.app( )

+3

All Articles