Closed mattmook closed 3 years ago
hi!
do you have platform :ios, '11.0'
in your Podfile? with required for you version. Just our generated podspec not contains any target version and as i think this line set target for all pods which not have any own settings.
in sample app i not see any problems
I have platform :ios, '14.1'
in my Podspec as the code I was attempting to generate uses SwiftUI and Combine. platform
sets the main projects target not that of its dependencies.
See https://stackoverflow.com/a/37289688/425538 and https://github.com/CocoaPods/CocoaPods/issues/4859
ability to set iosDeploymentTarget was added in 0.3.0 - see readme for details
Thanks, much appreciated. Worth adding the same for macOS, tvOS and watchOS?
i not test kswift with not ios apple targets, not know what will work what not...i think it should be separated issue for support all of apple targets - we should implement samples for testing at all, and deployment_target control
Because there's no way to specify the iOS deployment target, the build defaults to the lowest support iOS version (I believe iOS 4.3) for the
sharedSwift
project. This results in the build failing with:This can be worked around by forcing the target in the projects Podfile, but this is obviously not ideal.
Firstly it would be good to have a setting to be able to specify this. Although, would it make sense for a future version to use the
cocoapods
plugin configuration if available?