Xcode 9.2 Archive Succeed but unable to Export IPA

I am trying to continue the integration for Enterprise IOS Build for AdhocProd. Use the command below to build and archive.

Build Command:

    /usr/bin/xcodebuild -workspace "Project.xcworkspace" -scheme 
    "ProjectiOSPROD" -archivePath build/ProjectiOS -configuration Release 
    archive CODE_SIGN_STYLE=Manual 
   PROVISIONING_PROFILE="CompanyNameProdAdhocDistribution" 
   CODE_SIGNING_IDENTITY="iPhone Developer: Build Machine(XXXXXX)" 
    PRODUCT_BUNDLE_IDENTIFIER="com.Companyname.prod.ProjectiOS"

CONCLUSION: ** ARCHIVE SUCCESSFULLY **

Team Export:

/usr/bin/xcodebuild -exportArchive -archivePath "build/ProjectiOS.xcarchive" -exportPath "build/ProjectiOS.ipa" -exportOptionsPlist"../../ExportOptions.plist"

This Plist is ExportOptions.Plist, taken from the xcode IDE. and using it for jenkins workspace

Conclusion:

error: exportArchive: SDWebImage.framework does not support provisioning profiles.

Error Domain=IDEProvisioningErrorDomain Code=10 "SDWebImage.framework does not support provisioning profiles." UserInfo={NSLocalizedDescription=SDWebImage.framework does not support provisioning profiles., NSLocalizedRecoverySuggestion=SDWebImage.framework does not support provisioning profiles, but provisioning profile CompanyNameProdAdhocDistribution has been manually specified. Remove this item from the "provisioningProfiles" dictionary in your Export Options property list.}

error: exportArchive: Stripe.framework does not support provisioning profiles.

Error Domain=IDEProvisioningErrorDomain Code=10 "Stripe.framework does not support provisioning profiles." UserInfo={NSLocalizedDescription=Stripe.framework does not support provisioning profiles., NSLocalizedRecoverySuggestion=Stripe.framework does not support provisioning profiles, but provisioning profile CompanyNameProdAdhocDistribution has been manually specified. Remove this item from the "provisioningProfiles" dictionary in your Export Options property list.}
Dictionary

provisioningProfiles is already in the property list. If I remove this, let's say add it to the property list.

Any suggestions would be greatly appreciated.

+4
source share

Source: https://habr.com/ru/post/1693273/


All Articles