Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Distribute Swift App In-house

I have 2 applications one in Objective-C and one in swift using Xcode 6. Both are different application which has different aspect.

I try to distribute both apps in-house using Enterprise Certificate and Profile via Cisco Meraki.

Objective-C app successfully distribute, but Swift fails.

Even though my iPad can successfully download swift app from meraki but once it finishes installing it shows "Unable to Download App" - App Name could not be installed at this time.

So does Apple prevent us from distribute swift app even for in-house?

Thanks a lot.

like image 334
SaintTail Avatar asked Oct 01 '22 12:10

SaintTail


1 Answers

The answer is that we can get around it. This helped me out, build the Swift app, use following command to archive (replace capital names with your variables):

xcrun -sdk iphoneos PackageApplication -v "APP_NAME.app" \
-o "PATH/APP_NAME.ipa" \
--sign "SIGNING_IDENTITY" \
--embed "PROVISIONING_PROFILE"
like image 107
vladof81 Avatar answered Oct 27 '22 11:10

vladof81