“The run destination iOS Device is not valid for running the scheme”

前端 未结 28 1474
闹比i
闹比i 2020-12-13 12:09

I\'ve been running my app on an iPhone 5 /iOS 6, but when I try to run it on an iPhone 4S / iOS6 I get \"The run destination iOS Device is not valid for running the scheme N

相关标签:
28条回答
  • 2020-12-13 12:15

    This is some sort of memory issue sometimes.Close some application and try again.

    Close Xcode too and reopen. Worked for me.

    Cheers.

    0 讨论(0)
  • 2020-12-13 12:15

    Just restart Xcode and then your issue will be sought out automatically.

    0 讨论(0)
  • 2020-12-13 12:15

    A simple solution.

    1) Force quit X-Code

    2) Force quit itunes

    3) Reconnect iPhone

    4) Open X-Code

    0 讨论(0)
  • 2020-12-13 12:15

    In my case, this issue was fixed changing the Architectures (Build Settings --> Architectures) to Standard architectures - $(ARCHS_STANDARD)

    Make sure to have arm64 armv7 armv7s on Valid Architectures.

    0 讨论(0)
  • 2020-12-13 12:18

    Just Go to Devices -> The Intended device you wanted to run (I Was iPhone6 Simulator)-> Select the Device (I was selected iPhone6) -> Right Click-> Make sure the ‘Show the Run Destination Menu’ enabled.

    For Me, it was enabled. I did, it worked.

    0 讨论(0)
  • 2020-12-13 12:19

    It was a bug in XCode, I closed and reopened Xcode and it started working.

    I've noticed this sort of thing many many times now with Xcode with other problems, its very frustrating that the tool is so dodgy.

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