Reputation: 161
I am getting two errors after adding Parse in my Project:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_ParseClientConfiguration", referenced from:
objc-class-ref 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)
Steps I followed are as follows:
Downloaded Parse iOS SDK from https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/releases
Added Parse iOS SDK manually in Project
Added #import in AppDelegate.m
and then added the code below in didFinishLaunchingWithOptions.
[Parse initializeWithConfiguration:[ParseClientConfiguration configurationWithBlock:^(id<ParseMutableClientConfiguration> configuration) {
configuration.applicationId = @"YOUR_APP_ID";
configuration.clientKey = @"YOUR_APP_CLIENT_KEY";
configuration.server = @"http://localhost:1337/parse";
}]];
Note: I did not add Bolts.Framework because when I install FBSDKCoreKit via Pod, Bolts is added as a dependency.
Upvotes: 4
Views: 529
Reputation: 161
I solved this issue by installing Parse SDK via pod and adding FBSDKCoreKit manually (but did not add Bolts framework). Parse and FBSDKCoreKit both require Bolts but different versions. I believe that FBSDKCoreKit installs older version of Bolts while Parse needs newer version and that was the issue.
Upvotes: 2