【iOS】This operation can fail if the version of the OS on the device is incompatible

这篇具有很好参考价值的文章主要介绍了【iOS】This operation can fail if the version of the OS on the device is incompatible。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

【iOS】This operation can fail if the version of the OS on the device is incompatible

Failed to prepare device for development.
This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect compatibility.

未能为开发准备设备。
如果设备上的操作系统版本与安装的 Xcode 版本不兼容,此操作可能会失败。您可能还需要重新启动 Mac 和设备才能正确检测兼容性。

其实主要原因就是iOS系统更新之后,Xcode下没有相应版本的开发调试包,在网上寻找答案时,有的回答是把手机关机,重启之后,就可以了,但是我尝试之后并没有成功,收来在stack overFlow上找到了这个比较靠谱的方法:

首先在iphone开发包地址 下载和你最新系统的开发调试包;
https://github.com/filsv/iOSDeviceSupport

然后将这个包解压到mac的 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
然后重启Xcode

重启Xcode没管用,我又重启的电脑,已跑通文章来源地址https://www.toymoban.com/news/detail-507594.html

到了这里,关于【iOS】This operation can fail if the version of the OS on the device is incompatible的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Spring问题解决: Java Runtime (class file version 55.0), this version of the Java Runtim

    ch/qos/logback/classic/spi/LogbackServiceProvider has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 这只是版本不匹配。已经使用 Java 版本 11 编译了您的代码,而您当前的 JRE 是版本 8。请尝试将您的 JR降级

    2024年02月11日
    浏览(52)
  • this version of the Java Runtime only recognizes class file versions up to 52.0

    博客上很多博主说这个是jdk版本的问题,我所有地方都设置的是jdk1.8,但还是报错 Caused by: java.lang.UnsupportedClassVersionError: org/springframework/cloud/bootstrap/RefreshBootstrapRegistryInitializer has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only re

    2024年02月11日
    浏览(95)
  • 彻底解决this version of the Java Runtime only recognizes class file versions up to 52.0

    这个错误的意思是当时开发程序的人使用的JDK的版本要比你现在运行的环境上的JDK版本高。比如他是使用JDK11开发的,然后把程序打包好,你下载了他的jar包到本地运行,然后报错,可能你本地的JDK版本是低于11的,所以报错。 安装JDK21就行。继续看文章下面的对应关系,就知

    2024年02月02日
    浏览(41)
  • 【已解决】this version of the Java Runtime only recognizes class file versions up to 52.0

    在把springboot项目打包了jar之后,准备本地运行一下 然后报错: 编译版本和运行版本不一致,可能是编译版本高于运行版本导致的 修改pom.xml, 将此版本改为 java -version 版本 为 spring-boot-maven-plugin 增加 parent的版本号 如果没指定spring-boot-maven-plugin 的版本,就会拿取最新的版本打

    2023年04月16日
    浏览(91)
  • idea 报错Java Runtime (class file version 61.0), this version of the Java Runtime only ...55.0

    RootLogLevelConfigurator has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 55对应jdk11,61对应jdk17. 查看自己pom文件中java的版本,将版本改为11 setting中版本改为11 project structure中版本改为11 pom中指定spring

    2024年02月08日
    浏览(35)
  • 遇到:This DCH driver package is not compatible with the currently installed version of Windows. This ‘

    遇到 \\\"This DCH driver package is not compatible with the currently installed version of Windows\\\" 错误通常表示你正在尝试安装的驱动程序包与当前安装的 Windows 版本不兼容。这个错误可能是由于驱动程序包的版本不匹配或者你正在尝试安装的驱动程序不适用于你的操作系统版本所致。以下是一些

    2024年02月09日
    浏览(32)
  • Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file

    maven打包报错 java 运行时的最新版本(类文件版本 61.0)编译的,该版本的 Java 运行时只识别 52.0 以下的类文件版本 原因: 根据 Spring Boot with spring version 2.5.7 fails repackage with jdk 1.8 这篇文章中下面的说法 目标org.springframework.boot:spring-boot-maven插件:3.0.0-M1:重新打包失败:由于

    2024年02月13日
    浏览(29)
  • Authorization Failed You can close this page and return to the IDE

    注册JetBrains成功,并且通过了学生认证,但在activate pycharm时,却显示Authorization Failed You can close this page and return to the IDE如上图 可能是因为之前使用了破解版pycharm 1.打开文件夹中隐藏的项目 2.找到JeBrains文件夹,在AppData下面,将JeBrains文件夹删除 目录:c盘-用户-AppData 3.找到下

    2024年01月25日
    浏览(29)
  • 【Java异常】完美解决this version of the Java Runtime only recognizes class file versions up to xx.0异常

    哈喽各位,我是小白。时隔多日我又回来啦! 最近在部署项目后,发现线上业务数据都变成了默认值0,而且这个现象,仅仅出现在当次上线后生成的数据中 于是我去扫了一眼日志,发现如下报错 Caused by: java.lang.UnsupportedClassVersionError: org/eclipse/core/resources/IResource has been comp

    2024年02月11日
    浏览(31)
  • 低版本jdk运行高版本编译jar包失败(class file version 61.0), this version of the Java Runtime class file 52.0

    省流:使用jdk1.8执行17编译的包,启动报错。         项目运行中难免出现服务器环节集成其它jar包的情况,而其它jar包的jdk版本可能和我们业务项目的jdk版本不一致,如果比我们业务版本低,那么可能不会出现问题, 因为jdk向下兼容,如果jdk版本比我们业务版本高,可能就

    2024年02月02日
    浏览(32)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包