Xcode File not found while trying to run app

后端 未结 4 1461
名媛妹妹
名媛妹妹 2021-01-02 23:25

I\'m Getting this error in Xcode then I try to run my app

Ld /Users/danielsorensen/Library/Developer/Xcode/DerivedData/Keyboard-cimemloksqjdnxhkdziqxwhxgwcg/         


        
相关标签:
4条回答
  • 2021-01-03 00:04

    Go to project name that given on top. Click on it. Go to "New Scheme" and change the Name to whatever you want.

    0 讨论(0)
  • 2021-01-03 00:06

    I got this fixed by selecting the Tests target and searching for Bundle Loader in Build Settings and changing the product name in that path. I got this error because I have changed the Product name. The Bundle loader has the old product name in the path, so it searches for that path.

    0 讨论(0)
  • 2021-01-03 00:10

    I got the same error and I solved it by following these steps:

    1) Go to the project

    2) On the left side bar (in the screen that appears click on Tests

    3) Go to the build settings tab and look for "test host"

    4) Now the path that appears in the field is probably wrong so you just need to update it to the appropriate one (In my particular case I renamed the project and some folders and so some paths were wrong) enter image description here

    If you still see the error then you might need to fix some other paths in the Build settings tabs.

    0 讨论(0)
  • 2021-01-03 00:27

    Go to Project -- > Build Settings --> Testing --> Test Host Remove the paths from Debug and Release and give the correct path. If you don't know the correct path just keep it empty and then clean it and build.

    This works fine for me.

    0 讨论(0)
提交回复
热议问题