在两个区域实现相同的类名

时间:2018-09-25 23:42:39

标签: ios class parse-platform frameworks xcode10

我刚刚更新到Xcode 10,开始出现此错误。

objc[5123]: Class PFFile is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/PhotoFoundation.framework/PhotoFoundation (0x11cece590) and /Users/erich/Library/Developer/CoreSimulator/Devices/8C3C176C-90F1-4464-AC03-2A987FDC8A9A/data/Containers/Bundle/Application/96DFFB9F-BD2A-4F70-93E4-D7DCEF8A8D21/TourneyMe.app/Frameworks/Parse.framework/Parse (0x1044739a0). One of the two will be used. Which one is undefined.

所以从错误中看来,我的Parse服务器后端似乎与Apple引入的框架(照片基础)冲突。 我的问题是双重的。

1)我可以确定当我调用“ PFFile”时,它不会与apples Framework冲突吗?

2)如何消除错误?

0 个答案:

没有答案