When we upgrade to 2.1.5 and above from an older version of native-base, there are multiple build errors.
This is happening because we have removed the unused fonts from the package #900.
If you've not many any changes to native code:
Deleting the android/ios directories and running react-native upgrade fixes it.
Otherwise
Unlinking vector-icons and cleaning the build should fix it.
Steps


react-native link
Seems like I haveing this issue. Do you think it's related?

I just removed the references from the project but now I have a different issue .. seems like everytime I upgrade there is a problem in native-base :\
I am having issues as well.

Did you follow the steps mentioned?
I ran your first piece of code with no effect. I dont know what you mean by deleting my ios/android directories
did you create your app with CRNA?
no it is an old project. I just pulled it down from git ran, npm install and it freaked out with all these errors
ios/android directory means folders named ios and android inside your project.
@yaronlevi Yes, that's because of the breaking change. Let me know if that fixes it.
i guess I am lost...and i guess more new that what i actually considered. Why do i need to delete these with all my custom java and custom ios code. What value does that give me?
@stadiumbeejm okay hold on, I'll just get back with an alternative.
@stadiumbeejm The steps have been updated in the initial comment. can you try that out and let me know.
I pulled fresh from git
npm install
npm link
react-native run-ios
I got the below


你好,
我在执行过
react-native upgrade
npm install
react-native link
之后,在模拟器上运行app时,
我得到了这样一个错误,
Bundlingindex.android.js100.0% (989/989), done.
Opening /xxxxxxx/node_modules/native-base/dist/src/index.js with code
spawn code ENOENT
有什么解决思路吗?
Hi guys,
After remove fonts from "Copy Bundle Resource" step of IOS. I meet same problems like @yaronlevi @flyandi @stadiumbeejm
I think problems came from we didn't delete 100% old font from "project.pbxproj" file. So, we need manual delete them. In my case, here I did:
ECCBAFC717104E399E34097D /* EvilIcons.ttf */,FC3471B0670F40EBA73BB0AF /* EvilIcons.ttf */,
ECCBAFC717104E399E34097D /* EvilIcons.ttf */,left value is ID, use it to search in file. if you see which ID is less occurrence, mean it is missed deleted by our steps in first post. You need delete those lines using that ID
In case you already deleted those .tff files preference in "Resources" in Xcode like @flyandi , you will not see duplicate "xxxx.ttf" in "PBXGroup". you should find "xxxx.ttf" manually in "project.pbxproj" and find wrong ID.
Hope it help : D
Closing this as the above solution works. Let us know if you still face this
I tried the following solution and solved the problem, without having to manually delete the entries.