React native project change name for ios - react-native

I have renamed my project using the react-native-rename package.
It works fine on Android, however all the files in my ios folder still have refs to my old project name. How can I change them?

Delete the IOS folder, then rebuild it again in with react-native.
I guess that's your easiest solution.

Related

RNTMap was not found in the UIManager

I am following along the official documentation, copy and pasting the code provided there:
https://facebook.github.io/react-native/docs/0.56/native-components-ios
But I am still running into this error
does anyone know what the docs are missing to get this working?
This is happens because native module not compiled yet, simply execute react-native run-ios in terminal while in project directory.
Note: For latest node version use: npx react-native run-ios
RNTMapManager.m must be created within the XCode project, the docs do not specify that. Open the XCode project and click File -> New -> File and create a new Cocoa Touch Class called "RNTMapManager". Then place the objective-c code within RNTMapManager.m. Rebuild the application and it should work!
To be able to use native components make sure your project was ejected (expo eject)
Once ejected open for example iOS project with XCode and create/add file from Xcode. This way it will update all the dependencies.
Rebuild the project

WebStorm react-native project missing xcworkspace

I'm using WebStorm to make the project. After setting up the project I found that I don't have xcworkspace file under IOS folder.
How should I generate a xcworkspace file?
If you really need xcworkspace folder - you should use react-native init. That way your project will contain Android and iOS folders with corresponding files.
https://facebook.github.io/react-native/docs/getting-started.html#creating-a-new-application
If you just need to initialize app - be sure that you created your app following all steps in documentation.
https://facebook.github.io/react-native/docs/getting-started.html

How to add an app icon to a react-native project without using any npm packages or 3rd party libraries? Is it even possible to do so?

I am trying to add an app icon to a react-native application and am not able to do so also could hardly find anything about this in the documentation or any other sources which I am able to implement successfully.
Got this one working by using react-native-icon Package but is there Something like a single command to get icons configured into the respective folders when they are created using react-native eject command.
The app icons are controlled from the native side of the project.
You can set them up from Xcode or Android Studio fairly easily.
Perhaps take a look at Xcode 9 - Add an App Store icon and Set icon for Android application
use android asset studio
drag and drop your icon and change filters if you like and then download it.
Unzip it and then replace your res icon folder with this one
indepth tut tutorial

Why is IOS folder too huge when compared to android folder in React-Native?

I have developed an app in react native, but the project folder is too large(1.2GB) to upload into git and the IOS folder itself holding 0.9GB.I have done the following steps to overcome the issue
Steps Followed :-
Deleted Android and IOS folders from project folder.
Uploaded and Downloaded the project code using git.
Later run the commands like npm install and react-native upgrade
After running the above commands to generate IOS and Android folders, we are supposed to run Android version, but facing issue with IOS.
So...I request you to let me know the proper process of uploading code into git such that i can run both Android and IOS.
Make sure you have a .gitignore and make sure at a minimum that the build and node_modules folders are not included. For me 95% of the size is from that.
example gitignore

react-native is missing the /scripts folder in the node_modules/ and causing trouble for iOS builds

native, I started using EXPO to build with a
create-react-native-app
It was fine until I decided to actually create a IPA file to upload to apple to have more testing done by other users, so I did an init and created the needed files for ios and android deployment.
I am getting errors from Xcode building my IPA file over telling me that there is no scripts folder inside react-native, like
node_modules/react-native/scripts/ios-install-third-party.sh: cannot
execute: No such file or directory
and sure enough opening the folder for node_modules/react-native there is no scripts folder there. I'm not sure what the problem is, the react version I am using is 0.46.1.
Any help is greatly appreciated.
I have the same issue. I find the solution with using old version 0.44.0 -> react-native init --version="0.44.0" app.
Please check your current directory path and please remove your 'whitespace' in any folder name.This is very important.
I solved the issue using the following links:
Got the solution 1
Got the solution 2
Delete third-party folder from node_modules/react-native/