Xcode will no longer run my application on a device / simulator

I'm kinda stuck in my problem with Xcode. First of all: I have a project containing 5 different goals. Now something went wrong (I don’t remember that I was changing something related to the project settings).

If I want to run any target on a device or simulator, the assembly will be successful, but then nothing will happen. Neither the application runs in the simulator, nor on the device. So I checked the Schema (-> "Edit Schema"), and I could not select my application in the "Executable Files" menu. I think I can remember that the .app file was previously selected (as if I had created a new project). Does anyone know why I can’t choose anything there?

What interests me is that selecting "Other" in the Executable menu brings me to my DerivedData directory, which really contains the * .app file obtained from the build. This leads me to my next problem.

If I select this * .app file explicitly and try to run the Xcode application, then I get the error message “does not have an architecture that can be executed”. But I checked my settings many times, and I definitely use $ (ARCHS_STANDARD) for every purpose.

I got a little lost here ... does anyone have a clue what could ruin my project and how to fix it?

+4
source share
4 answers

, , xcode, .

DerivedData. ( ).

, , reset iOS Simulator > reset .

+1

, , . , . " - ".

+1

. . project.pbxproj FileMerge. , *.app , . . *.app "" XCode, /. , - , .;)

0

, DerivedData Xcode, "" Finder? Xcode, nuking ~/Library/Developer/Xcode/DerivedData/ModuleCache Finder Xcode.

-1

All Articles