Unable to run the Simulator The operation couldn’t be completed. (LaunchServicesError error 0.)

后端 未结 4 954
梦毁少年i
梦毁少年i 2021-01-21 23:38

Im trying to run the IOS9 iphone 6 app in Xcode 7 and swift 2.0, but I can\'t. If I reset the content and Simulator settings, the first time works but the second one fails agai

4条回答
  •  天涯浪人
    2021-01-22 00:03

    Based on error description Error=PackagePatchFailed, ErrorDescription=Could not hardlink copy we would say the compiler couldn't find the path of the resource such as frameworks, images. But the main problem probably is Pod. So try to delete all the cached files by following these steps

    1. command shift G
    2. paste this path /Library/Developer/Xcode/DerivedData
    3. delete relevant finders
    4. Reset Content and settings of the simulator
    5. re-compile the project

    Cheers

提交回复
热议问题