XCode not honoring IOS target version.

Hi everyone.

I have been stuck with this issue for a few days now.

My application and POD file is configured for iOS 14 - all build settings etc has been configure for ios 14. But I still get this issue below.

Compiling for iOS 12.0, but module 'AzureCommunicationCommon' has a minimum deployment target of iOS 14.0: /Users/willieb/Library/Developer/Xcode/DerivedData/App-fbunysyijrmxnyhgtolshrstzrfz/Build/Products/Debug-iphoneos/AzureCommunicationCommon/AzureCommunicationCommon.framework/Modules/AzureCommunicationCommon.swiftmodule/arm64-apple-ios.swiftmodule

My POD file looks like this:

platform :ios, '14.0'

target 'App' do use_frameworks! pod 'AzureCommunicationUICalling', '1.3.0'

pod 'OpenCV', '> 4.3.0' pod 'Starscream', '> 4.0.0' end

post_install do |installer| assertDeploymentTarget(installer)

installer.pods_project.targets.each do |target|
  target.build_configurations.each do |config|
    config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
  end
  installer.pods_project.build_configurations.each do |config|
    config.build_settings['SWIFT_VERSION'] = '5.0'
    config.build_settings['IOS_DEPLOYMENT_TARGET'] = '14.0'
    config.build_settings['ENABLE_BITCODE'] = 'NO'
  end
end

end`

I still get the reference to IOS 12 when building - but I only reference 14. Any assistance will be greatly appreciated.

XCode not honoring IOS target version.
 
 
Q