I’m trying to build the iOS version of an Ionic app which uses capacitor in my continuous integration system (Azure).
This is the output I get:
/usr/bin/xcodebuild -sdk iphoneos -configuration Release -workspace /Users/runner/runners/2.160.1/work/1/s/ios/App/App.xcworkspace -scheme App build CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY=iPhone Distribution: <not_displayed> (ENT) PROVISIONING_PROFILE=5254b426-4af0-45e7-aeab-ec63a303d250 PROVISIONING_PROFILE_SPECIFIER=
Build settings from command line:
CODE_SIGN_IDENTITY = iPhone Distribution: swiss1mobile ag (ENT)
CODE_SIGN_STYLE = Manual
PROVISIONING_PROFILE = 5254b426-4af0-45e7-aeab-ec63a303d250
PROVISIONING_PROFILE_SPECIFIER =
SDKROOT = iphoneos13.1
note: Using new build system
note: Planning build
note: Constructing build description
error: Capacitor does not support provisioning profiles. Capacitor does not support provisioning profiles, but provisioning profile ent_frontwork has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor. (in target 'Capacitor' from project 'Pods')
error: CapacitorCordova does not support provisioning profiles. CapacitorCordova does not support provisioning profiles, but provisioning profile ent_frontwork has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor. (in target 'CapacitorCordova' from project 'Pods')
error: Pods-App does not support provisioning profiles. Pods-App does not support provisioning profiles, but provisioning profile ent_frontwork has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor. (in target 'Pods-App' from project 'Pods')
** BUILD FAILED **
I’ve been searching a lot but no luck.
Please, help!
Hey !
still not working, here is my podfile that I modify by powershell task before xcode build task run :
platform :ios, ‘12.0’
use_frameworks!
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings[‘EXPANDED_CODE_SIGN_IDENTITY’] = “”
config.build_settings[‘CODE_SIGNING_REQUIRED’] = “NO”
config.build_settings[‘CODE_SIGNING_ALLOWED’] = “NO”
end
end
end
def capacitor_pods
pod ‘Capacitor’, :path => ‘…/…/node_modules/@capacitor/ios’
pod ‘CapacitorCordova’, :path => ‘…/…/node_modules/@capacitor/ios’
pod ‘CapacitorApp’, :path => ‘…/…/node_modules/@capacitor/app’
pod ‘CapacitorHaptics’, :path => ‘…/…/node_modules/@capacitor/haptics’
pod ‘CapacitorKeyboard’, :path => ‘…/…/node_modules/@capacitor/keyboard’
pod ‘CapacitorStatusBar’, :path => ‘…/…/node_modules/@capacitor/status-bar’
end
error: CapacitorCordova does not support provisioning profiles. CapacitorCordova does not support provisioning profiles, but provisioning profile Test_POC.mobileprovision has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor. (in target ‘CapacitorCordova’ from project ‘Pods’)
if anyone have an idea i’m stuck since 2 days trying millions workaround that do not work… @Pizzicato, did your xcode build task look like mine ?