Skip to content

xcode 14.3 compatibility #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NishanthReddyKuninti
Copy link

@NishanthReddyKuninti NishanthReddyKuninti commented Jun 20, 2023

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.

@NishanthReddyKuninti
Copy link
Author

@kylef can you please review this? thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants