我正在使用 Xcode 7 beta,并且一直在尝试使用 Cocoapods 集成 Parse iOS SDK。
我已经创建了bridging-header.h
,我已经导入了 Parse #import <Parse/Parse.h>
。我已经在我的AppDelegate.swift
.
当我尝试使用与 Parse 相关的任何类/对象时,会发生错误。实际上,我只是用以下方式调用 Parse:Parse.setApplicationId(ParseAPI.AppID, clientKey: ParseAPI.ClientKey)
我收到以下错误:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_Parse", referenced from:
type metadata accessor for ObjectiveC.Parse in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已经多次清理了这个项目,甚至是一个完整的清理版本。