Я сделал pod init и написал RealmSwift в Podfile.
Я использую Swift5, Xcode 11.3.1, cocoaPod 1.9.1, ruby 2.3.0
# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'
target 'project' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for project
pod 'RealmSwift'
target 'projectTests' do
inherit! :search_paths
# Pods for testing
end
target 'projectUITests' do
# Pods for testing
end
end
У меня JSON parserError вот так
JSON::ParserError - A JSON text must at least contain two octets!
Что мне нужно сделать, чтобы исправить ParseError? И я мог бы установить SwiftDate. Я не могу установить только RealmSwift.