Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

duplicate symbol for architecture x86_64 #741

Closed
seyhunak opened this issue Jan 16, 2015 · 2 comments
Closed

duplicate symbol for architecture x86_64 #741

seyhunak opened this issue Jan 16, 2015 · 2 comments
Labels

Comments

@seyhunak
Copy link

I installed JSQMessagesViewController using CocoaPods. Using Xcode 6.1.1 version

Podfile
platform :ios, '8.1'
pod 'Canvas', '~> 0.1'  
pod 'Firebase', '>= 2.1.0'
pod 'JSQMessagesViewController' 
pod 'JSQSystemSoundPlayer'

Bridging-Header.h

#import <Firebase/Firebase.h>
#import <Parse/Parse.h>
#import <FacebookSDK/FacebookSDK.h>    
#import <ParseFacebookUtils/PFFacebookUtils.h>
#import <Bolts/Bolts.h>
#import "JSQMessages.h"
#import "JSQMessageData.h"

Build Settings > Other Linked Flags
screen shot 2015-01-16 at 16 34 23

If I remove -ObjC flag, it works but can't use JQSMessagesViewController.

Here is the stack trace
https://gist.github.com/seyhunak/bb896c70eac31a509edf

What can I fix this problem?

Thanks

@pflenker
Copy link

Hey, this is an issue with using parse and pods in parallel. I solved this
by removing the bolts framework and the parse facebook frameworks and
leaving the objc flag intact.

On 16 January 2015 at 15:38, Seyhun Akyürek notifications@github.com
wrote:

I installed JSQMessagesViewController using CocoaPods. Using Xcode 6.1.1
version

Podfile
platform :ios, '8.1'
pod 'Canvas', '~> 0.1'
pod 'Firebase', '>= 2.1.0'
pod 'JSQMessagesViewController'
pod 'JSQSystemSoundPlayer'

Bridging-Header.h

#import <Firebase/Firebase.h>
#import <Parse/Parse.h>
#import <FacebookSDK/FacebookSDK.h>
#import <ParseFacebookUtils/PFFacebookUtils.h>
#import <Bolts/Bolts.h>
#import "JSQMessages.h"
#import "JSQMessageData.h"

Build Settings > Other Linked Flags
[image: screen shot 2015-01-16 at 16 34 23]
https://cloud.githubusercontent.com/assets/170820/5777742/0c3658a2-9d9e-11e4-96c1-fb7ba3a01f0f.png

If I remove -ObjC flag, it works but can't use JQSMessagesViewController.

Here is the stack trace
https://gist.github.com/seyhunak/bb896c70eac31a509edf

What can I fix this problem?

Thanks


Reply to this email directly or view it on GitHub
#741.

@seyhunak
Copy link
Author

@pflenker yes same in here, removed pods and installed using putting folder references to frameworks folder fixed the issue, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants