react-native-vector-icons icon indicating copy to clipboard operation
react-native-vector-icons copied to clipboard

autolinking

Open ghost opened this issue 3 years ago • 6 comments

Does this package support autolinking? If so, will you include a section in the docs?

ghost avatar Jan 23 '21 08:01 ghost

@oblador This package doesn't support autolinking, even though React Native is trying to do it.

gabimoncha avatar Feb 05 '21 10:02 gabimoncha

Nope. https://github.com/oblador/react-native-vector-icons/issues/1294#issuecomment-774457601

parazitenew avatar Feb 06 '21 13:02 parazitenew

@vigzmv have you tried before recommending this ? its doesn't work

ardyfeb avatar Feb 24 '21 19:02 ardyfeb

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.

MacPardo avatar May 01 '21 19:05 MacPardo

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!

LogicAnalysis avatar Oct 29 '21 04:10 LogicAnalysis

It always fails whatever I do I get this error

levepic avatar Apr 01 '24 15:04 levepic