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

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

    Swift 3 or 4 Xcode 8 or 9 One thing you can do is click the Project file to open up General Settings, Capabilities etc.

    1. Choose Build Settings
    2. Search for Base SDK
    3. Make sure debug AND release have the same build type.

    I had debug set to ios 11.0 and release set to macOS 10.13 They must be the same in order to Archive

提交回复
热议问题