Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes below issues when using Xcode 14.3 to run pod lib lint on the pod spec. Also updated Package.swift file
-> JSONSchema (0.6.0)
- NOTE | url: The URL (http://twitter.com/kylefuller) is not reachable.
- ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code.
- NOTE | xcodebuild: note: Using codesigning identity override: -
- NOTE | xcodebuild: note: Building targets in dependency order
- WARN | xcodebuild:
- ERROR | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:76:33: error: 'range(withName:)' is only available in iOS 11.0 or newer
- NOTE | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:76:33: note: add 'if #available' version check
- NOTE | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:71:3: note: add @available attribute to enclosing initializer
- NOTE | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:58:8: note: add @available attribute to enclosing struct
- ERROR | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:79:35: error: 'range(withName:)' is only available in iOS 11.0 or newer
- NOTE | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:79:35: note: add 'if #available' version check
- ERROR | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:82:35: error: 'range(withName:)' is only available in iOS 11.0 or newer
- NOTE | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:82:35: note: add 'if #available' version check
- ERROR | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:85:20: error: 'range(withName:)' is only available in iOS 11.0 or newer
- NOTE | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:85:20: note: add 'if #available' version check
- ERROR | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:86:41: error: 'range(withName:)' is only available in iOS 11.0 or newer
- NOTE | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:86:41: note: add 'if #available' version check
- ERROR | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:88:41: error: 'range(withName:)' is only available in iOS 11.0 or newer
- NOTE | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:88:41: note: add 'if #available' version check
- ERROR | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:91:43: error: 'range(withName:)' is only available in iOS 11.0 or newer
- NOTE | xcodebuild: /Users/nkuninti/Documents/JSONSchema/JSONSchema.swift/Sources/Format/time.swift:91:43: note: add 'if #available' version check
- NOTE | [iOS] 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 | [iOS] 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 'JSONSchema' from project 'Pods')
- NOTE | [iOS] xcodebuild: /var/folders/qm/2j1_fcg57bq62slhfc1sy2880000gr/T/CocoaPods-Lint-20230620-46296-1lpzd6a-JSONSchema/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 | xcodebuild: note: Using codesigning identity override:
- NOTE | [OSX] xcodebuild: note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'JSONSchema' from project 'Pods')
- NOTE | [OSX] xcodebuild: note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'App' from project 'App')
[!] JSONSchema did not pass validation, due to 8 errors.
You can use the
--no-clean
option to inspect any issue.