Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有大问题,今天我想在我的项目中更新 POD,更新后我立即收到很多错误,但我修复了它,除了一个。
我在我的项目中使用ParseUI pod,在 pod 更新后我得到了这样的错误:
'Parse/PFFile.h' 文件未找到
我的播客文件:
pod 'Parse' pod 'ParseUI'
在网络上搜索后,我什么也没找到,我该如何解决这个错误?
我使用Swift 4.2
错误图片:
您好 Parse 用户!
pod 'ParseUI'已弃用,您应该pod 'Parse/UI'改用。改变它,删除你的 pods 文件夹和 podfile.lock。从你的应用程序目录运行 pod install --repo-update,希望你能解决这个问题。
pod 'ParseUI'
pod 'Parse/UI'
pod install --repo-update
您不再需要在您的应用程序中导入 ParseUI。导入“Parse”现在会导入与 Parse 相关的所有内容,例如 ParseUI、Parse/TwitterUtils 和 Parse/FacebookUtils。仅导入“解析”,您就可以访问所有内容。