zoukankan      html  css  js  c++  java
  • iOS 编译正常,但无法运行到真机和模拟器上,Choose a destination with a supported architecture in order to run on this device.

    碰到这种情况一般我们首先试的就是重启Xcode,这种方法有的时候管用有的时候不管用。下面介绍几种方法:

    一:可能是valid architectures支持armv7,或者armv7s,你要试着更改这个:

    二:(这个没有试过,在网上找的,具体情况需要个人去试)

    1、Close the Xcode

    2、Delete the application from device

    3、Restart the device

    4、then re-run the application

    三:检查product name是否和工程名一致(这里其实可以不一致),重点检查是否有空格或其它非法字符

    四:打开终端

    利用上述命令跳转到该目录下面,清除里面的所有缓存数据:

  • 相关阅读:
    Bean
    DI
    require import export
    JSON转js
    vue路由相关
    JS引号区别
    Go语言系列之标准库strconv
    Go语言系列之标准库flag
    Go语言系列之并发编程
    Go语言系列之自定义实现日志库
  • 原文地址:https://www.cnblogs.com/anyezhuixing/p/4095394.html
Copyright © 2011-2022 走看看