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

My project within framework target and pod Charts into my framework target can't load Charts framework #3328

Closed
Sarkizz opened this issue Mar 12, 2018 · 1 comment

Comments

@Sarkizz
Copy link

Sarkizz commented Mar 12, 2018

podfile like this:

target 'TestProject' do
    project 'TestProject'
end

 target 'TextFM' do
    project 'TextFM/TextFM'
    pod 'Charts'
end

The TextFM is a Dynamic Library

code like this:
d169b78c-70ae-41f0-83f4-499b44b58430
2ae212b4-2f82-493b-b89b-e1615b32430e

Then, it built success.(When TextFM is a Static Library, it failed.)

But
When I run,
4d030a49-e669-435b-891b-78f123a92054

My solution

Download Charts code,drag into TextFM,and link charts.framework,it works!

Question

Can pod support framework too?

@liuxuan30
Copy link
Member

liuxuan30 commented Mar 22, 2018

it should, but from your log, it's libSwift dylib is missing on your device, I don't know where it comes from. As long as you have swift code, libSwift will be bundled by Xcode automatically. It's the first time I saw this error. You might want to check your build settings as well.

Ask on Stack Overflow or pod site to get better support.

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