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

Can't link to app #28

Closed
lastcc opened this issue Oct 25, 2017 · 5 comments
Closed

Can't link to app #28

lastcc opened this issue Oct 25, 2017 · 5 comments

Comments

@lastcc
Copy link

lastcc commented Oct 25, 2017

ld: '/Users/cc/Library/.../TwitterImagePipeline.framework/TwitterImagePipeline' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/cc/Library/.../TwitterImagePipeline.framework/TwitterImagePipeline' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This framework was built by carthage and embedded manually.

Xcode 9.1 beta 2.
iOS 11.1 beta 5.
macOS High Sierra 10.13.1 beta

@lastcc
Copy link
Author

lastcc commented Oct 25, 2017

won't work out with cocoapods, too.

ld: framework not found TwitterImagePipeline for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

iOS 11.1 beta 5, Xcode 9.1 beta 2.

App dep. target 11.0

@lastcc
Copy link
Author

lastcc commented Oct 25, 2017

Well, I have 3 targets. The app, the shared lib, the app extension.

the shared lib, which is written by myself to share code, is embedded in the main app and linked against both app extension and main app.

Both my main app target and shard lib target contains pod 'TwitterImagePipeline'

@lastcc
Copy link
Author

lastcc commented Oct 25, 2017

The idea behind TIP is amazing. But I just don't have the luck, at the moment.

@NSProgrammer
Copy link
Collaborator

You might consider cloning the repo or just getting a dump of the code and integrating it into your project/workspace. We do not use CocoaPods nor Carthage at Twitter and support for those is a convenience that was added by the Open Source community, so I will be unable to personally assist. (Maybe a nice open source member could take a look?)

I you try integrating directly, I'd be interested in learning in what you observe. Good Luck!

@lastcc
Copy link
Author

lastcc commented Oct 26, 2017

@NSProgrammer Thanks for the reply. Got that, integrate as submodule should solve this.

@lastcc lastcc closed this as completed Oct 26, 2017
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

2 participants