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

Compiling for iOS 11.0, but module 'Starscream' has a minimum deployment target of iOS 12.0 #1481

Open
elefantel opened this issue Mar 18, 2024 · 2 comments

Comments

@elefantel
Copy link

Xcode version: 15.2
Cocoapods version: 1.14.3
macOS version: 14.2.1 (23C71)

I am getting error:

xcodebuild:  Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift:27:8: 
error: compiling for iOS 11.0, but module 'Starscream' has a minimum deployment target of iOS 12.0: 
path-to-derved-data/Build/Products/Release-iphonesimulator/Starscream/Starscream.framework/
Modules/Starscream.swiftmodule/x86_64-apple-ios-simulator.swiftmodule

xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' 
is set to 11.0, but the range of supported deployment target versions is 12.0 to 17.2.99.
 (in target 'Socket.IO-Client-Swift' from project 'Pods')

I see that in your podspec on line 14 you have s.ios.deployment_target = '11.0' while Starscream in their podspec have s.ios.deployment_target = '12.0' hence the problem. I think you need to bump your minimum deployment target to iOS 12 to match Starscream.

@elefantel
Copy link
Author

I have created a pull request to address this issue #1482

@elefantel
Copy link
Author

I managed to get this working in the meantime by fixing Starscream version in podspec. See #1482 (comment)

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

1 participant