i try to use svg image in my pod, so i placed it in my pod's Assets.xcassests.
Then i encoutered this error:
error: An error occured while reading input image: ..../puffmain/Pod/Assets/PuffAssets.xcassets/search.imageset/search.svg
My XCode Version: 12.4
My Podspec file :
spec.resource_bundles = {
'PuffMainImage' => ['Pod/Assets/PuffAssets.xcassets', 'Pod/Assets/*/*', 'Pod/Assets/*/*/*'],
}
I have tried the following :
clean build cache
pod install again
rename the file
Other png assests in the same assets.xcassets are ok, and svg in the main project is OK, too.