Closed OPADA-Eng closed 3 years ago
You can try to follow this one: https://github.com/jibon57/nativescript-mediafilepicker/issues/106#issuecomment-608887271
I have tried that and didn't get any success result.
any solution?
I think that you can check your pod version for SDWebImage. Because with this plugin uses 5.9.0. Please check SDWebImage used in different plugin podfile used in your application and update it to 5.9.0. this issue will be resolved.
Hi, i am also having same issue. @pap5508 - i update the the SDWebImage to 5.9.0 and its not working.
Hi, i am also having same issue. @pap5508 - i update the the SDWebImage to 5.9.0 and its not working.
Please search version of SDwebImage in node_modules as well. There is some plugin that uses SDwebImage 4.4.1. For example nativescript-web-image-cache use 4.4.1
You can change that version to 5.9.0 and run npm install. Try again with running application.
If doesnt work please share me your package.json so that I can look further into your problem.
{
"nativescript": {
"id": "org.nativescript.project1",
"tns-ios": {
"version": "6.5.0"
},
"tns-android": {
"version": "6.5.3"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN
this is the package.jons used should i change any other version.
I got it to work finally with the following steps:
change the pod file in the plugin nativescript-web-image-cache to pod 'SDWebImage', '~> 5.9.0'
add the below to app/App_Resources/iOS/Podfile :
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'DKImagePickerController'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '5.0'
end
end
end
end
This should fix the error and build the project.
Describe the bug There is a problem when building for ios and it's showing error regarding rename functions in DKImagePickerController To Reproduce Steps to reproduce the behavior: tns run plugin add tns run ios
Expected behavior Build failed
NativeScript Info(please run tns info): "tns-core-modules": "~6.5.0", "tns-ios": { "version": "6.5.1" }
Sample Code(please provide minimum code to reproduce problem): Error Msg:
Additional context This happened before adding any code regarding the plugin.