I am having a problem building my app locally on my Mac

330 Views Asked by At

I updated macOS to Big Sur and Xcode to 12.5 and I am trying to build my app locally. Build Succeeded but when it come to run the simulator I have an error Executable not found see the below image.

Note: this is a quick cocos2d generated project.

Archiving and building on test flight is working fine.

enter image description here

I tried to delete my derived data and all my caches and rebuild again I still have the same problem.

I also go to Product > Scheme > Manage Schemes, and I deleted all the current scheme and autocreate schemes again it didn't work still same issue.

1

There are 1 best solutions below

2
Pat_Morita On

What worked for me is simply go to Product > Scheme > Manage Schemes.. and delete the current scheme and create a new one. With that it worked again