-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
React-native-vector-icons not working in ios #1604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
have you found any solution for this yet? |
Similar issues reported on this older issue #1317 (though I think it is better that you created a new issue). I am working on a fresh new react-native app and icons were working just fine. I just stumbled upon this problem after i ran
My package.json "dependencies": {
"react": "18.2.0",
"react-native": "0.73.6",
"react-native-vector-icons": "^10.0.3"
}, The project was created by my Android-colleague. Then I cloned our project on my mac and went though the installation steps for react-native-vector-icons (adding the Fonts to the iOS project file) and the icons were working fine. I added RNVectorIcons to my
I cannot see that it would have been there in my git history. I wonder:
|
@durandt You should not need to add anything to the Podfile. cocapods should detect the Are using able to share your entire Podfile? |
@johnf sure:
Git history says file hasn't changed since it was created with |
same issue counter any solution? |
tanks it's work |
I have the same Issue. Tried installing React-Native-Vector-Icons 10.0.3 in my RN 0.72 project. worked fine, but when I run the same version in RN version 0.73.6, it tells me the same as @durandt: I also tried newest version: 10.1.0 - Also no luck with RN version 0.73.6 |
Unfortuntely I'm unable to replicate this. If someone can share a git repo or send me something privately I'll be happy to debug |
Same issue with latest react-native-vector-icon and RN 0.74.2 Confirm @durandt 's manual update to Podfile fixes it: #1604 (comment) |
By adding that line to the Podfile, it's installed, but then when building the App, I get the error: 'error: Multiple commands produce '/path/of/the/project/ios/build/NameOfTheProject/Build/Products/Debug-iphonesimulator/NameOfTheProject.app/Zocial.ttf':'. What's the correct way to configure it? I'm using these versions:
|
getting the same issue "react": "18.3.1",
"react-native": "^0.75.1",
"react-native-vector-icons": "^10.1.0" |
I don't know if this will help any of you. I upgraded to expo 51 and installed @react-native/assets-registry and all my assets and icons stopped working. I removed the dependency on @react-native/assets-registry and all of my stuff starting working again.
Here is where I got a clue: |
Same issue, anyone found a fix ? Sometimes it works on simulator but not on device for FontAwesome6
|
this was happening to me because i had a "leftover" (?) react-native.config.js which disabled react-native-vector-icons for ios module.exports = {
dependencies: {
'react-native-vector-icons': {
platforms: {
ios: null,
},
},
},
}; |
Any fix ? |
ALready fixed |
what is the fix? |
the only icons that work reliably for me are fontAwesome6 I’m on the latest version and tried every fix |
Definately not fixed. Using 10.1.0 on ReactNaive 0.75.2 |
error Multiple commands produce '/Users/carlos/Library/Developer/Xcode/DerivedData/NavigationApp-csomqekbcehsjyeqvgwvsukhfqub/Build/Products/Debug-iphonesimulator/NavigationApp.app/Ionicons.ttf' [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Error: Failed to build ios project. "xcodebuild" exited with error code '65'. To debug build logs further, consider building your app with Xcode.app, by opening 'NavigationApp.xcworkspace'.".] { Node.js v20.11.0 my public repo: ANDROID works! iOS (Simulator) doesn't!! |
why is this closed? still same problem. doesnt work on ios. only |
I have the same problem. All workink OK for ANDROID, but don't working for ios.
My repo : https://github.com/sofiacoder3000/tasks-manager-react-native |
hi 👋 , I have the problem. This is my repo: https://github.com/sofiacoder3000/tasks-manager-react-native |
Im facing the same issue "Error: Unable to resolve module react-native-vector-icons/ionicons" "dependencies": { |
This is how I fixed the issue with:
I noticed that earlier for workaround we've added this line in our Podfile
Removing this line fixed the issue for me. |
"I'm currently working on a React Native project (version 0.73.2) and encountering an issue with react-native-vector-icons integration. Despite following the installation steps (npm install --save react-native-vector-icons followed by pod install), the RNVectorIcons library does not seem to be added to my Podfile.lock or properly linked in my Xcode project. Auto-linking should work with my React Native version, but it appears to be missing. Is there a known issue or step I'm overlooking for React Native 0.73.2?"
The text was updated successfully, but these errors were encountered: