Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package product requires minimum platform version 11.0 for the iOS platform, but this target supports 9.0 (in target from project 'XMPPFramework') #1225

Open
LeoMarliereYassir opened this issue May 23, 2023 · 3 comments

Comments

@LeoMarliereYassir
Copy link

LeoMarliereYassir commented May 23, 2023

Hi everyone.

Im currently building an iOS package with the XMPPFramework. Everything is fine, but when I run some test with Bitrise, I have the 3 following issues :

  • The package product 'CocoaLumberjackSwift' requires minimum platform version 11.0 for the iOS platform, but this target supports 9.0 (in target 'XMPPFrameworkSwift' from project 'XMPPFramework')
  • The package product 'CocoaLumberjack' requires minimum platform version 11.0 for the iOS platform, but this target supports 9.0 (in target 'XMPPFramework' from project 'XMPPFramework')
  • The package product 'CocoaLumberjack' requires minimum platform version 11.0 for the iOS platform, but this target supports 9.0 (in target 'XMPPFrameworkSwift' from project 'XMPPFramework')

All theses package product that are requiring the minimum plateform version 11.0 are package that are coming from the package XMPPFramework, that does support 9.0. So how can I solve this issue ?

Im not using Cocoapods and I don't have a Podfile for this project. Im managing my dependencies with the Swift Package Manager. Theses error are also only triggered by Bitrise when I build and run my main scheme.

Thanks

@Monks-Giorgio
Copy link

Monks-Giorgio commented May 23, 2023

Hi,
just add something like:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11'
    end
  end
end

to your Podfile

@LeoMarliereYassir
Copy link
Author

I don't have any podfile in my project.
Should I had one just to fix this issue, or is there a way to do it without ?

@mahesh-reddy-ios
Copy link

when we are going to install XMPP Frame Work it is better do install using Pods then we can resolve this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants