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

dyld: Library not loaded: @rpath/Charts.framework/Charts #3250

Closed
uttampawar opened this issue Feb 8, 2018 · 1 comment
Closed

dyld: Library not loaded: @rpath/Charts.framework/Charts #3250

uttampawar opened this issue Feb 8, 2018 · 1 comment

Comments

@uttampawar
Copy link

uttampawar commented Feb 8, 2018

I've a IOS swift application which uses 2 external packages, 1) SwiftKeychainWrapper and 2) Charts. Both these packages have been installed using 'pod' and my Podfile is as follows,

platform :ios, '9.0'
use_frameworks!

target 'MyApp' do
pod 'SwiftKeychainWrapper', '~> 3.0'
pod 'Charts'

target 'MyAppTests' do
inherit! :search_paths
end
target 'MyAppUITests' do inherit! :search_paths # Pods for testing end end

I'm using Xcode version 9.2

Both SwiftKeychainWrapper and Charts is installed using 'pod install'.

I also added "Charts.framework" under Linked Frameworks and Libraries but I got above (library not loaded) error.

If I follow current instructions from https://github.com/danielgindi/Charts which says following,

Drag the Charts.xcodeproj to your project
Go to your target's settings, hit the "+" under the "Embedded Binaries" section, and select the Charts.framework
@import Charts
Which says to add this under 'Embedded binaries'. If I do that then the build fails for 'SwiftKeychainWrapper'.

BTW, this error happens when I tried to run it on my physical iphone6 device. It works ok on simulator. I really don't know how to proceed. Any help is appreciated.

@uttampawar
Copy link
Author

This turn out to be a 'certificate issue'. After re-creating new development and production certificates, the issue got resolved by itself.

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

1 participant