You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: