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

后端 未结 4 948
梦毁少年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

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

    From the screenshot, it's clear that your Info.plist is missing a CFBundleVersion ("Bundle Version") key. If that key is missing, it can cause this problem.

    0 讨论(0)
  • 2021-01-22 00:11

    Changing the entire project root directory path seems to somehow work for me

    0 讨论(0)
  • 2021-01-22 00:15

    Make the Exception In Transport Security along with the "NSAllowsArbitraryLoads"

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