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

Swift Package Manager: reusable deployment target warning #107

Open
chrisvanbuskirk opened this issue Sep 14, 2020 · 3 comments
Open

Swift Package Manager: reusable deployment target warning #107

chrisvanbuskirk opened this issue Sep 14, 2020 · 3 comments
Assignees

Comments

@chrisvanbuskirk
Copy link

FYI, receiving this warning using Xcode 12 Beta 6 and SPM

Xcode version: Xcode 12 beta 6
Reusable 4.1.1

The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.

Screen Shot 2020-09-14 at 2 58 34 PM

@adamjansch
Copy link

adamjansch commented Nov 10, 2020

This is also happening with Cocapods.

@arkulpaKonstantin
Copy link

@aj-bmdi for Cocoapods there is a solution. I used a similar solution to this. Just put this code snippet at the end of your Podfile:

 post_install do |pi|
   pi.pods_project.targets.each do |t|
     t.build_configurations.each do |config|
       if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 9 then
         config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
       end
     end
   end
 end

Sadly I don't know of a solution for Swift Package Manager beside updating the Package.swift file of the package itself to iOS 9.0.

Repository owner deleted a comment from fespinoza May 7, 2021
Repository owner deleted a comment from Ewg777 May 7, 2021
Repository owner deleted a comment from hixfield May 7, 2021
Repository owner deleted a comment from finnsch May 7, 2021
Repository owner deleted a comment from Deub27 May 7, 2021
@AliSoftware
Copy link
Owner

Hi there, sorry for the delay replying there. I'll try to take a look this week-end!

@AliSoftware AliSoftware self-assigned this Sep 10, 2021
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

Successfully merging a pull request may close this issue.

4 participants