Hello, So I have been coding in React Native. I decided download the app to my phone. So after some configuration I had the IOS code and decided to open it in the XCode and use it on my iPhone to make sure there is no error or bugs. When I open up my project in Xcode I get an error saying Executable not found and it give me a path like this.
/Users/{user}/Library/Developer/Xcode/DerivedData/instagramclone-dryvgcjhtprxzfaqclglbqtiuwvr/Build/Products/Debug-iphonesimulator/instagram.app
So I check the path and instagram.app is there. So the file exists however, the app has this cross logo on it and when I double click it gives me an error saying "You can't open the application "instagram" because it may be damaged or incomplete.
This is how the file looks like. I don't get it why it says's that.
Just letting everyone know I am coding in Apple M1 because I know sometimes some things may not be supported in every chip or setup is different so I am using
M1 (Apple Mac Mini)
Thank you