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

Deployment target out of range #578

Open
clm57 opened this issue Mar 6, 2024 · 4 comments
Open

Deployment target out of range #578

clm57 opened this issue Mar 6, 2024 · 4 comments

Comments

@clm57
Copy link

clm57 commented Mar 6, 2024

I don’t have a lot of experience with Xcode, Cocoapods, Carthage, so I’ll apologize up front. I’ve tried both pods and carthage to build MQTT frameworks. Currently using carthage, I get:
"macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.10, but the range of supported deployment target versions is 10.13 to 14.4.99. (in target 'Mac MqttCocoaAsyncSocket' from project 'MqttCocoaAsyncSocket’)”
My project has deployments set to MacOS 14. And I’ve searched on all settings for any other MacOs setting and cannot find any. When I look at the generated CocoaMQTT.xcodeproj, it indeed has a MacOs setting of 10.13, and the CocoaMQTT.podspec file also specifies a deployment target of 10.12.
My Cartfile contains: GitHub "emqx/CocoaMQTT" “master”
I’m using xcode 15.3, although I saw the same issue with 15.2.

Can anyone share any insight into what I’m doing wrong?

thanks in advance!

@VidalSpierings
Copy link

What is your minimum deployment target set to?

@clm57
Copy link
Author

clm57 commented Mar 15, 2024 via email

@VidalSpierings
Copy link

I have personally worked around with this libary for only a couple hours. Perhaps you could try to use an older version of this libary and see if that resolves the issues, if you haven't tried to do that already

@clm57
Copy link
Author

clm57 commented Mar 17, 2024

I believe the issue is that the deployment target in the MQTT library is 10.13 and lower and xcode no longer supports that. Switching to an earlier version isn’t going to fix that.

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

2 participants