iOS如何使用Xcode 10.2安装Realm
我试图安装RealmSwift,但出现此错误iOS如何使用Xcode 10.2安装Realm,ios,realm,xcode10.2,Ios,Realm,Xcode10.2,我试图安装RealmSwift,但出现此错误 马科斯:10.14.6莫哈韦 Xcode:10.2 我使用macMini 2012,因此无法更新到macOS Big Sur 在这种情况下,如何安装RealmSwift? 谢谢 您应该检查环境,确保您的环境满足这些要求。例如,当您应该使用Xcode 11.3或更高版本时,您正在使用Xcode:10.2。此外,您的播客文件与指南中的内容不匹配;您有pod'RealmSwift'当它应该是pod'RealmSwift','=10.1.4'时,以确保安
- 马科斯:10.14.6莫哈韦
- Xcode:10.2
pod'RealmSwift'
当它应该是pod'RealmSwift','=10.1.4'
时,以确保安装了最新版本。添加时,请确保您的CoCoapod也是最新的。
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup
Downloading dependency: sync 10.1.3 from https://static.realm.io/downloads/sync/realm-sync-xcframework-10.1.3.tar.xz
Undefined symbols for architecture x86_64:
"___isPlatformVersionAtLeast", referenced from:
realm::util::network::SecureTransportErrorCategory::message(int) const in librealm-sync-dbg.a(network_ssl.o)
realm::util::network::ssl::Stream::verify_peer() in librealm-sync-dbg.a(network_ssl.o)
realm::util::(anonymous namespace)::ensure_reclaimer_thread_runs() in librealm-sync-dbg.a(file_mapper.o)
realm::util::terminate_internal(std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in librealm-sync-dbg.a(terminate.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'
target 'Test' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Test
pod 'RealmSwift'
end