#StackBounty: #react-native #react-native-ios react native ios – no such file or directory: /xxx/appName/ios/RnDiffApp/

Bounty: 50

I have been building a react native app using android only.
Ive now managed to get hold of a mac so i can start testing app on ios.
I uploaded project to github from my windows computer….then downloaded to my mac.

Im trying to build app using Xcode….however Im getting the 2 errors below:

No such file or directory: /xxx/myAppName/ios/RnDiffApp/main.m
No such file or directory: /xxx/myAppName/ios/RnDiffApp/AppDelegate.m

Interesting thing is that I see no folder called RnDiffApp in path /xxx/myAppName/ios/…..however I do the see the 2 files mentioned at the following paths:

/xxx/myAppName/ios/myAppName/main.m
/xxx/myAppName/ios/myAppName/AppDelegate.m

…so in summary, the 2 "missing" files are indeed present….however they are in the folder path /xxx/myAppName/ios/myAppName/….instead of path /xxx/myAppName/ios/RnDiffApp/, which apparently is where build tool is looking for them

Although interestingly, the folder path structure looks different in Finder (see below)….to what is does in Xcode Project navigator (further below). App is called xs

enter image description here

enter image description here

Can anyone help?


Get this bounty!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.