Xcode15 升级问题记录

这里写自定义目录标题

  • 新版本Xcode15升级
      • [问题1:rsync error: some files could not be transferred (code 23) at ...](#问题1:rsync error: some files could not be transferred (code 23) at ...)
      • 参考

新版本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

For 复制代码
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 问题记录

相关推荐
Sheffi7 分钟前
iOS 内存管理深度解析:从原理到实践
ios
QuantumLeap丶12 分钟前
《Flutter全栈开发实战指南:从零到高级》- 19 -手势识别
flutter·ios·前端框架
00后程序员张1 小时前
iOS 抓不到包怎么办?从 HTTPS 解密、QUIC 排查到 TCP 数据流分析的完整解决方案
android·tcp/ip·ios·小程序·https·uni-app·iphone
Haha_bj2 小时前
Swift UI数据存储
ios
Zender Han12 小时前
Flutter 新版 Google Sign-In 插件完整解析(含示例讲解)
android·flutter·ios·web
Digitally13 小时前
如何在iPhone上共享日历
ios·iphone
库奇噜啦呼16 小时前
【iOS】多线程学习
macos·ios·cocoa
许泽宇的技术分享17 小时前
用 OpenAI Whisper + pyannote.audio 打造“谁在说什么”的全栈语音理解系统
macos·whisper·xcode
xiAo_Ju17 小时前
iOS一个Fancy UI的Tricky实现
前端·ios
游戏开发爱好者818 小时前
iOS 商店上架全流程解析 从工程准备到审核通过的系统化实践指南
android·macos·ios·小程序·uni-app·cocoa·iphone