Xcode File not found while trying to run app

后端 未结 4 1501
名媛妹妹
名媛妹妹 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: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.

提交回复
热议问题