In my Xcode there is no resources under target. How can I add resources under target file
Asked
Active
Viewed 637 times
1
-
The folder `Resources` is created during the build process and exists only inside the application bundle. – vadian Dec 04 '19 at 09:31
-
@vadian I have created a new app in react-native.Here I need to add images and custom fonts. Build process is succeeded. Where the resources is found in my case. In my existing project I not created the resources file. – sejn Dec 04 '19 at 09:53
-
It's not in the project, it's in the built application. The images and fonts are copied to the folder automatically. – vadian Dec 04 '19 at 09:54
-
I need to add new fonts and images. In this case I need to add this. How I can add that without finding the resources folder. Or can you explain how you add custom images and fonts. – sejn Dec 04 '19 at 09:56
-
For iOS need to add static images and fonts for me – sejn Dec 04 '19 at 09:56
-
You cannot add items to the bundle at runtime. One again at compile time all resources are automatically copied to the implicit created `Resources` folder inside the application bundle. – vadian Dec 04 '19 at 09:56
-
In my previous app I have add like this. https://medium.com/@kswanie21/custom-fonts-in-react-native-tutorial-for-ios-android-76ceeaa0eb78 – sejn Dec 04 '19 at 09:57
-
Are you mention, So initially i not need to add create like this for iOS and Android – sejn Dec 04 '19 at 09:59