RealmSwift installation on Xcode

筅森魡賤 提交于 2019-12-06 15:32:36

Its working now! Its so weird since I didn't do anything. I just went into my pod file commented out the use_frameworks! statement and ran pod update on the terminal. It gave me an error, so I added it back to my pod file. I wrote in pod update again and hit enter. I restarted Xcode cleaned it and built it and I wasn't getting this error anymore.

Need to uncomment platform in your pod file then try once again your pod.

# Uncomment this line to define a global platform for your project
  platform :ios, '9.0'   // Uncomment this 

# Uncomment this line if you're using Swift
 use_frameworks!

target 'Demo_Realm' do
pod 'RealmSwift'
end

target 'Demo_RealmTests' do

end

target 'Demo_RealmUITests' do

end
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!