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 I package the project in a dynamic library (.framework)? #681

Closed
carlosandresSanchez opened this issue Jan 15, 2016 · 1 comment
Closed

Comments

@carlosandresSanchez
Copy link

I need to create the .framework library from the project in order to use it Appcelerator native module. I generate the .framework by making the build (Command + B) and i get it, but when I use it in a xcode project i get the following error :

Undefined symbols for architecture x86_64:
"OBJC_CLASS$__TtC6Charts12BarChartView", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@danielgindi
Copy link
Collaborator

You have probably compiled against it but not linked it.
You have to make sure that the framework is marked as Embedded.

Also, you can follow the README to use Carthage to build the framework as a ".framework" file, or take it from the releases.

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