Open ghost opened 3 years ago
@oblador This package doesn't support autolinking, even though React Native is trying to do it.
@vigzmv have you tried before recommending this ? its doesn't work
Apparently autolinking did work for me. I am using react-native 0.64.0 and react-native-vector-icons 8.1.0.
I tried use the manual configuration for iOS, but got the following error
error: Multiple commands produce '/Users/<my username>/Library/Developer/Xcode/DerivedData/<app name>-efeosujuydrjlrdwqlyvdundviil/Build/Products/Debug-iphonesimulator/<app name>.app/MaterialIcons.ttf':
1) Target '<app name> (project '<app name>') has copy command from '/Users/<my username>/Documents/code/<project directory>/ios/MaterialIcons.ttf' to '/Users/<my username>/Library/Developer/Xcode/DerivedData/<app name>-efeosujuydrjlrdwqlyvdundviil/Build/Products/Debug-iphonesimulator/<app name>.app/MaterialIcons.ttf'
2) That command depends on command in Target '<app name>' (project '<app name>'): script phase “[CP] Copy Pods Resources”
I was able to fix this by removing the ttf files from my Xcode project, but keeping the Info.plist configuration detailed in the manual configuration section.
Apparently autolinking did work for me. I am using react-native 0.64.0 and react-native-vector-icons 8.1.0.
I tried use the manual configuration for iOS, but got the following error
error: Multiple commands produce '/Users/<my username>/Library/Developer/Xcode/DerivedData/<app name>-efeosujuydrjlrdwqlyvdundviil/Build/Products/Debug-iphonesimulator/<app name>.app/MaterialIcons.ttf': 1) Target '<app name> (project '<app name>') has copy command from '/Users/<my username>/Documents/code/<project directory>/ios/MaterialIcons.ttf' to '/Users/<my username>/Library/Developer/Xcode/DerivedData/<app name>-efeosujuydrjlrdwqlyvdundviil/Build/Products/Debug-iphonesimulator/<app name>.app/MaterialIcons.ttf' 2) That command depends on command in Target '<app name>' (project '<app name>'): script phase “[CP] Copy Pods Resources”
I was able to fix this by removing the ttf files from my Xcode project, but keeping the Info.plist configuration detailed in the manual configuration section.
Thank you so much!! I've been having this issue and couldn't find a solution anywhere else!
It always fails whatever I do I get this error
Does this package support autolinking? If so, will you include a section in the docs?