Xcode15 升级问题记录

新版本Xcode15升级

下载地址:https://developer.apple.com/download/all/
我目前使用的版本是Xcode15.2
我新创建了一个项目,可以正常运行

问题1:rsync error: some files could not be transferred (code 23) at …

执行pod install 后报错:
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/0032d1ee-80fd-11ee-8227-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code

在这里插入图片描述

查了很多解决方案都是Xcode14的解决方案,参考:https://github.com/CocoaPods/CocoaPods/pull/11828


In your xcode, Go to PODS folder :
Target Support Files => Pods-{Your Project} => Pods-{Your Project}-frameworks

Change

source="$(readlink "${source}")"
this :

source="$(readlink -f "${source}")"

但是在Xcode15上这个本来就是加了-f的,所以无效,最终找到解决方法

  • 解决方法
    Build Setting -> Build Options -> User Script Sandboxing,默认值为 Yes 改为 No 即可。当然也可以在 Build Options 下搜索 ENABLE_USER_SCRIPT_SANDBOXING 直接定位到具体选项。

参考

参考链接1:iOS开发 - XCode15 beta + iOS17 问题记录

相关推荐

  1. Xcode15升级适配问题记录

    2024-01-11 19:32:02       31 阅读
  2. 升级Xcode15,iOS17问题解决

    2024-01-11 19:32:02       74 阅读
  3. xcode 14.3升级 pod升级

    2024-01-11 19:32:02       47 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-11 19:32:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-11 19:32:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-01-11 19:32:02       82 阅读
  4. Python语言-面向对象

    2024-01-11 19:32:02       91 阅读

热门阅读

  1. 【C/C++】C语言的高级编程

    2024-01-11 19:32:02       57 阅读
  2. MySQL

    2024-01-11 19:32:02       49 阅读
  3. 编程江湖:Python探秘之旅-----控制流程的艺术(二)

    2024-01-11 19:32:02       59 阅读
  4. 每日一看大模型新闻(2023.11.20)

    2024-01-11 19:32:02       49 阅读
  5. SpringMVC-05

    2024-01-11 19:32:02       54 阅读
  6. PTA:输出句子中每个单词的长度

    2024-01-11 19:32:02       56 阅读
  7. py远程执行命令,获取返回值

    2024-01-11 19:32:02       61 阅读