GeekyAnts / GeekyAnts/NativeBase
Upgrade from 2.x to 3.4, issue with not finding fonts errors, referenced in project.pbxproj file
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
missing referenced fonts in project.pbxproj file
### CodeSandbox/Snack link
none
### Steps to reproduce
_No response_
### NativeBase Version
3.4.18
### Platform
- [ ] Android
- [ ] CRA
- [ ] Expo
- [X] iOS
- [ ] Next
### Other Platform
_No response_
### Additional Information
I'm upgrading my react native project using native base v2.x to the latest 3.4.x. I"m running into an issue during ios build where the build is looking for referenced font files in /node_modules/native-base/Fonts/ directory that no longer exists.
Here is one such error:
error build: $rootDirectory/node_modules/native-base/Fonts/MaterialCommunityIcons.ttf: No such file or directory
I think what might be happening is that these fonts were referenced in the old version, and I can see the reference in this file:
/ios/PROJECT.xcodeproj/project.pbxproj file in the /* Begin PBXFileReference section */.
The main question I have is how to update the project.pbxproj, so it doesnt show the old referenced files?
I could manually edit this project.pbxproj file or add the old Fonts directory, but was wondering if anyone has encountered this problem and a cleaner way to solve it?
The other option I was thinking of was to completely clean out the /ios directory and rebuid from scratch. But, I am worried about any customizations I've made to the ios project files that I will lose.
Thanks for any suggestions.
Contributor guide
Assessment
This issue has not been assessed yet.