Skip to content

Cocoapods's pods that depend on PromiseKit 6.22.1+ fail to pod lib lint while using Xcode 14.3 #1317

@crsantos

Description

@crsantos

Version: 6.22.1
Installed via: Cocoapods

Hi,

I'm following up after this issue #1308 and the PR that fixed it: #1311.

That PR fixed Xcode 14.3 builds, but while using Cocoapods, as you said on the issue, it creates a temporary project for the linting process, based on the podspec.

Any pod that depends on PromiseKit will fail on linting due to the iOS 8.0 deployment target.

I know you referred here that dropping support for older versions is tricky, #1311 (comment)

But this also blocks people from using Xcode 14.3 and beyond, hence my question:

are we good to also bump the podspec's deployment target to 11.0?

(Same as #1311 did for the xcodeproj)

Log

This can be replicated with a simple pod lib lint on the repo:

Expand
  PromiseKit on  v6 via 🏎
➜  pod lib lint

 -> PromiseKit (6.22.1)
    - NOTE  | url: The URL (https://twitter.com/mxcl) is not reachable.
    - ERROR | [PromiseKit/Accounts, PromiseKit/Alamofire, PromiseKit/AddressBook, and more...] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - NOTE  | [PromiseKit/Accounts, PromiseKit/Alamofire, PromiseKit/AddressBook, and more...] xcodebuild:  note: Using codesigning identity override: -
    - NOTE  | [PromiseKit/Accounts, PromiseKit/Alamofire, PromiseKit/AddressBook, and more...] xcodebuild:  note: Building targets in dependency order
    - NOTE  | [PromiseKit/Accounts, PromiseKit/Alamofire, PromiseKit/AddressBook, and more...] xcodebuild:  clang: error: linker command failed with exit code 1 (use -v to see invocation)
    - NOTE  | [PromiseKit/Accounts, PromiseKit/Alamofire, PromiseKit/AddressBook, and more...] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [PromiseKit/Accounts, PromiseKit/Alamofire, PromiseKit/AddressBook, and more...] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'App' from project 'App')
    - NOTE  | [PromiseKit/Accounts, PromiseKit/Alamofire, PromiseKit/AddressBook, and more...] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [PromiseKit/Accounts, PromiseKit/Alamofire, PromiseKit/Bolts, and more...] xcodebuild:  note: Using codesigning identity override:
    - NOTE  | [PromiseKit/Accounts, PromiseKit/Bolts, PromiseKit/CoreBluetooth, and more...] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.10, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'App' from project 'App')
    - NOTE  | [PromiseKit/Accounts, PromiseKit/Bolts, PromiseKit/CoreBluetooth, and more...] xcodebuild:  Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.10, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [PromiseKit/Accounts, PromiseKit/Bolts, PromiseKit/CoreBluetooth, and more...] xcodebuild:  Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.10, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [PromiseKit/Alamofire, PromiseKit/Bolts, PromiseKit/CloudKit, and more...] xcodebuild:  note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [PromiseKit/Alamofire, PromiseKit/Bolts, PromiseKit/CloudKit, and more...] xcodebuild:  note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'App' from project 'App')
    - NOTE  | [PromiseKit/Alamofire, PromiseKit/Bolts, PromiseKit/CorePromise, and more...] xcodebuild:  Pods.xcodeproj: warning: The watchOS Simulator deployment target 'WATCHOS_DEPLOYMENT_TARGET' is set to 2.0, but the range of supported deployment target versions is 4.0 to 9.4.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [PromiseKit/Alamofire, PromiseKit/Bolts, PromiseKit/CorePromise, and more...] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The watchOS Simulator deployment target 'WATCHOS_DEPLOYMENT_TARGET' is set to 2.0, but the range of supported deployment target versions is 4.0 to 9.4.99. (in target 'App' from project 'App')
    - NOTE  | [PromiseKit/Alamofire, PromiseKit/Bolts, PromiseKit/CorePromise, and more...] xcodebuild:  Pods.xcodeproj: warning: The watchOS Simulator deployment target 'WATCHOS_DEPLOYMENT_TARGET' is set to 2.0, but the range of supported deployment target versions is 4.0 to 9.4.99. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [PromiseKit/Alamofire, PromiseKit/Bolts, PromiseKit/CoreBluetooth, and more...] xcodebuild:  Pods.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [PromiseKit/Alamofire, PromiseKit/Bolts, PromiseKit/CoreBluetooth, and more...] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'App' from project 'App')
    - NOTE  | [PromiseKit/Alamofire, PromiseKit/Bolts, PromiseKit/CoreBluetooth, and more...] xcodebuild:  Pods.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'PromiseKit' from project 'Pods')
    - ERROR | [PromiseKit/Accounts, PromiseKit/Alamofire, PromiseKit/AddressBook, and more...] file patterns: The `source_files` pattern did not match any file.
    - NOTE  | [iOS] [PromiseKit/Alamofire] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Alamofire' from project 'Pods')
    - NOTE  | [OSX] [PromiseKit/Alamofire] xcodebuild:  Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [OSX] [PromiseKit/Alamofire] xcodebuild:  Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [OSX] [PromiseKit/Alamofire] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'App' from project 'App')
    - NOTE  | [OSX] [PromiseKit/Alamofire] xcodebuild:  Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.10, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'Alamofire' from project 'Pods')
    - NOTE  | [PromiseKit/Alamofire] xcodebuild:  note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'Alamofire' from project 'Pods')
    - NOTE  | [watchOS] [PromiseKit/Alamofire] xcodebuild:  Pods.xcodeproj: warning: The watchOS Simulator deployment target 'WATCHOS_DEPLOYMENT_TARGET' is set to 2.0, but the range of supported deployment target versions is 4.0 to 9.4.99. (in target 'Alamofire' from project 'Pods')
    - NOTE  | [tvOS] [PromiseKit/Alamofire] xcodebuild:  Pods.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Alamofire' from project 'Pods')
    - NOTE  | [iOS] [PromiseKit/Bolts] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Bolts' from project 'Pods')
    - NOTE  | [OSX] [PromiseKit/Bolts] xcodebuild:  Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.8, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'Bolts' from project 'Pods')
    - NOTE  | [watchOS] [PromiseKit/Bolts] xcodebuild:  Pods.xcodeproj: warning: The watchOS Simulator deployment target 'WATCHOS_DEPLOYMENT_TARGET' is set to 2.0, but the range of supported deployment target versions is 4.0 to 9.4.99. (in target 'Bolts' from project 'Pods')
    - NOTE  | [tvOS] [PromiseKit/Bolts] xcodebuild:  Pods.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Bolts' from project 'Pods')
    - NOTE  | [iOS] [PromiseKit/CloudKit] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [iOS] [PromiseKit/CloudKit] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'App' from project 'App')
    - NOTE  | [iOS] [PromiseKit/CloudKit] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [OSX] [PromiseKit/CloudKit] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.12, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'App' from project 'App')
    - NOTE  | [OSX] [PromiseKit/CloudKit] xcodebuild:  Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.12, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [OSX] [PromiseKit/CloudKit] xcodebuild:  Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.12, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [PromiseKit/CloudKit,PromiseKit/Photos] xcodebuild:  Pods.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [PromiseKit/CloudKit,PromiseKit/Photos] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'App' from project 'App')
    - NOTE  | [PromiseKit/CloudKit,PromiseKit/Photos] xcodebuild:  Pods.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [PromiseKit/CloudKit, PromiseKit/CoreLocation, PromiseKit/HomeKit, and more...] xcodebuild:  Pods.xcodeproj: warning: The watchOS Simulator deployment target 'WATCHOS_DEPLOYMENT_TARGET' is set to 3.0, but the range of supported deployment target versions is 4.0 to 9.4.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [PromiseKit/CloudKit, PromiseKit/CoreLocation, PromiseKit/HomeKit, and more...] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The watchOS Simulator deployment target 'WATCHOS_DEPLOYMENT_TARGET' is set to 3.0, but the range of supported deployment target versions is 4.0 to 9.4.99. (in target 'App' from project 'App')
    - NOTE  | [PromiseKit/CloudKit, PromiseKit/CoreLocation, PromiseKit/HomeKit, and more...] xcodebuild:  Pods.xcodeproj: warning: The watchOS Simulator deployment target 'WATCHOS_DEPLOYMENT_TARGET' is set to 3.0, but the range of supported deployment target versions is 4.0 to 9.4.99. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [iOS] [PromiseKit/HealthKit] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [iOS] [PromiseKit/HealthKit] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'App' from project 'App')
    - NOTE  | [iOS] [PromiseKit/HealthKit] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [tvOS] [PromiseKit/MapKit] xcodebuild:  Pods.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 9.2, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [tvOS] [PromiseKit/MapKit] xcodebuild:  /var/folders/l3/pnhb_1ln5pbcnc_hmpxz0lr00000gp/T/CocoaPods-Lint-20230531-97323-6wyw61-PromiseKit/App.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 9.2, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'App' from project 'App')
    - NOTE  | [tvOS] [PromiseKit/MapKit] xcodebuild:  Pods.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 9.2, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'PromiseKit' from project 'Pods')
    - NOTE  | [iOS] [PromiseKit/OMGHTTPURLRQ] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'OMGHTTPURLRQ' from project 'Pods')
    - NOTE  | [OSX] [PromiseKit/OMGHTTPURLRQ] xcodebuild:  Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.9, but the range of supported deployment target versions is 10.13 to 13.3.99. (in target 'OMGHTTPURLRQ' from project 'Pods')
    - NOTE  | [watchOS] [PromiseKit/OMGHTTPURLRQ] xcodebuild:  Pods.xcodeproj: warning: The watchOS Simulator deployment target 'WATCHOS_DEPLOYMENT_TARGET' is set to 2.0, but the range of supported deployment target versions is 4.0 to 9.4.99. (in target 'OMGHTTPURLRQ' from project 'Pods')
    - NOTE  | [tvOS] [PromiseKit/OMGHTTPURLRQ] xcodebuild:  Pods.xcodeproj: warning: The tvOS Simulator deployment target 'TVOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'OMGHTTPURLRQ' from project 'Pods')

[!] PromiseKit did not pass validation, due to 2 errors.
You can use the `--no-clean` option to inspect any issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions