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

前端 未结 28 1525
闹比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:21

    For my case, check the target -> Build Settings -> Search "Mach-O Type" and check the value, it should be Executable/Dynamic Library/Static Library. For other type values, the target could NOT be built and run.

提交回复
热议问题