【发布时间】:2015-09-28 08:03:36
【问题描述】:
我正在使用 Xcode 7 beta,并且一直在尝试使用 Cocoapods 集成 Parse iOS SDK。
我已经创建了bridging-header.h,我已经导入了 Parse #import <Parse/Parse.h>。我已经在AppDelegate.swift 中调用了 Parse。
当我尝试使用与 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)
我已经多次清理项目,甚至是complete clean build。
【问题讨论】:
-
有一个完全相同的问题,我只是将它与 cocapods 一起使用
-
@AndriusSteponavičius 我认为问题是 CocoaPods 或 Xcode 或两者兼而有之,但我认为问题是 Parse 1.7.5 pod。我尝试过使用稳定的环境(Xcode 6.3 和 Xcode 6.4),但 Parse 也无法正常工作,除了 Parse,所有 pod 都在工作。
标签: ios swift parsing cocoapods xcode7-beta2