Cocoapods trunk push verification fails on pods dependent on RxSwift using Xcode 15+
mjohnson12 opened this issue · comments
Short description of the issue:
While attempting to push out a new pod version for WorkflowRxSwift cocoapods gets an error doing the verification build when using Xcode 15.x. This pod depends on RxSwift and the error is as follows:
- ERROR | xcodebuild: RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift:17:29: error: 'Date' is only available in application extensions for macOS 10.10 or newer
It is failing because the minimum deployment target in the podspec for Mac OS for RxSwift is 10.9. The package file for RxSwift currently has the minimum deployment target set to 10.10 here.
Can you update the minimum deployment target to 10.10 on your podspec please to fix this issue?
The only workaround we have at the moment is using Xcode 14.x to do the push but because Sonoma does not support Xcode 14.x this won't work much longer for us.
Expected outcome:
Expected to be able to pod trunk push
a pod that depends on RxSwift without compilation failure.
What actually happens:
The push fails with 25 errors.
RxSwift/RxCocoa/RxBlocking/RxTest version/commit
6.6
Platform/Environment
- iOS
- macOS
- tvOS
- watchOS
- playgrounds
How easy is to reproduce? (chances of successful reproduce after running the self contained code)
- easy, 100% repro
- sometimes, 10%-100%
- hard, 2% - 10%
- extremely hard, %0 - 2%
Xcode version:
Xcode 15.1
Installation method:
- CocoaPods
- Carthage
- Git submodules
I have multiple versions of Xcode installed:
(so we can know if this is a potential cause of your issue)
- yes (which ones)
- no
Level of RxSwift knowledge:
(this is so we can understand your level of knowledge
and formulate the response in an appropriate manner)
- just starting
- I have a small code base
- I have a significant code base