Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook SDK #734

Closed
lucasderraugh opened this issue Sep 5, 2015 · 9 comments
Closed

Facebook SDK #734

lucasderraugh opened this issue Sep 5, 2015 · 9 comments

Comments

@lucasderraugh
Copy link

I've added the facebook/facebook-ios-sdk github entry to my Cartfile, however I always get this as output:

*** Building scheme "Bolts" in FacebookSDK.xcworkspace
A shell task failed with exit code 1:
error: cannot parse the debug map for "/Users/username/Developer/Spring 2015/project/Carthage/Build/iOS/Bolts.framework/Bolts": The file was not recognized as a valid object file

Is there a way around this issue? Does it have something to do with Bolts being a submodule of the Facebook SDK? Thanks for the help.

@t-unit
Copy link

t-unit commented Sep 19, 2015

+1
Having the same problem.

Also completely unsure why Carthage is compiling Bolts:

*** Building scheme "MacBolts" in FacebookSDK.xcworkspace
*** Building scheme "Bolts" in FacebookSDK.xcworkspace

Since when opening FacebookSDK.xcworkspace no shared scheme for Bolts can be found.

@collindonnell
Copy link

Also seeing this exact same issue.

@nathanhosselton
Copy link

This is still an issue in 0.9.2 (in my case I am only building Bolts, not the entire Facebook SDK). Using xcodebuild works fine. So it seems to be an issue with Carthage even though Bolts is (as far as I know) the only framework currently exposing the issue.

@nathanhosselton
Copy link

The "Bolts" file which is the point of failure is a binary file that is also generated (without issue) by the Mac version of Bolts. I'm not sure what the purpose of these files are or what specifically is generating them. I have mentioned this in the open issue at BoltsFramework/Bolts-ObjC#152.

@lucasderraugh
Copy link
Author

Looking into it more, it comes down to the fact that Bolts is a static library, not dynamic. I'm going to close this as a Carthage issue as it is not. BoltsFramework/Bolts-ObjC#152

@sirvine
Copy link

sirvine commented Jan 31, 2016

FYI — It looks like Bolts is Carthage-ready now (BoltsFramework/Bolts-ObjC#152 (comment)), but the FB SDK does not seem to be.

@fatuhoku
Copy link

fatuhoku commented Mar 9, 2016

What's the latest on this? Will the FBSDK ever be manageable by Carthage?

@mdiep
Copy link
Member

mdiep commented Mar 9, 2016

Can you open a new issue with information about what you're seeing? The specific issue here seems to have been addressed.

@jamesone
Copy link

Any update on the FBSDK setup with carthage?

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

No branches or pull requests

8 participants