Skip to content

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

Open
@elefantel

Description

@elefantel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions