xcode15出现的问题

Xcode15.0适配

使用XCode15新建的项目,在使用pod后,运行没问题,但是打包的时候报错。
Command PhaseScriptExecution failed with a nonzero exit code
image
然后也不知道是什么问题,看到的意思就是说找不到某些文件,网上有一部分说的是没有权限访问,所以要用sudo,但是这个太复杂了,然后找到了另一个可以解决的方法。

解决方案:

Build Settings搜索sandbox,把Build OptionsUser Script Sandboxing改为NO
如下图:
image

打开旧项目编译不通过,报错。因为Deployment Target太低了,把它跳到iOS12就好了,注意要项目的和pod的都处理。
SDK does not contain 'libarclite' at the path 路径../libarclite_iphoneos.a'; try increasing the minimum deployment target

image

报错
Showing All Messages Assertion failed: (aliasSectionNum == sectionNum && "alias and its target must be located in the same section"), function assignAliasAtomOffsetInSection, file Layout.cpp, line 3248.
image
这个问题需要找到Build Settings -> Other Linker Flags添加-ld64
image

参考:Xcode升级到15.0 iOS17.0会出现的问题

posted @   dasonxie  阅读(1918)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
点击右上角即可分享
微信分享提示