Open NishanthMurugan opened 3 years ago
I'm running into the same thing. It looks like the validations used to be in https://github.com/kylef/JSONSchema.swift/blob/0.5.0/Sources/Validators.swift , but they were refactored/migrated to https://github.com/kylef/JSONSchema.swift/tree/0.6.0/Sources/Validation in 0.6.0
. It's unclear what's causing the compilation issue.
The issue has to do with their Tag Release 0.6.0. There's a mistake on the JSONSchema.podspec
file.
Specifically:
spec.source_files = 'Sources/**.swift'
should be spec.source_files = ['Sources/**/*.swift', 'Sources/*.swift']
They need to release a new tag with this change. In fact, it's already been fixed in master.
For anyone needing a quick fix:
Change your podfile to download from the following:
pod 'JSONSchema', :git => 'https://github.com/kylef/JSONSchema.swift'
The issue has to do with their Tag Release 0.6.0. There's a mistake on the
JSONSchema.podspec
file.Specifically:
spec.source_files = 'Sources/**.swift'
should bespec.source_files = ['Sources/**/*.swift', 'Sources/*.swift']
They need to release a new tag with this change. In fact, it's already been fixed in master.
For anyone needing a quick fix: Change your podfile to download from the following:
pod 'JSONSchema', :git => 'https://github.com/kylef/JSONSchema.swift'
Any update when the new tag will release ?
The issue has to do with their Tag Release 0.6.0. There's a mistake on the
JSONSchema.podspec
file.Specifically:
spec.source_files = 'Sources/**.swift'
should bespec.source_files = ['Sources/**/*.swift', 'Sources/*.swift']
They need to release a new tag with this change. In fact, it's already been fixed in master.
For anyone needing a quick fix: Change your podfile to download from the following:
pod 'JSONSchema', :git => 'https://github.com/kylef/JSONSchema.swift'
I just used the following
pod "JSONSchema", "0.5.0"
Create a new project and pod 'JSONSchema'
After pod install in a fresh project and compile. It is showing, No reference to this variables error..