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 问题记录

相关推荐
Zender Han9 分钟前
Flutter Gradients 全面指南:原理、类型与实战使用
android·flutter·ios
如此风景2 小时前
IOS开发SwiftUI相关学习记录
ios
2501_915909062 小时前
iOS 反编译防护工具全景解析 从底层符号到资源层的多维安全体系
android·安全·ios·小程序·uni-app·iphone·webview
Redundantº8 小时前
Uniapp 适配安卓与 iOS 的 PDF、DOC 文件上传
android·ios·pdf·uni-app·webview
lancoff10 小时前
#5 ScrollViewReader
ios·swiftui
lancoff10 小时前
#6 GeometryReader
ios·swiftui
1024小神10 小时前
xcode多环境 Dev 、Debug 和 Release变量配置以及怎么切换不同环境
开发语言·macos·ios·swiftui·xcode·swift
2501_9159184111 小时前
iOS 应用如何防止破解?从逆向链路还原攻击者视角,构建完整的反破解工程实践体系
android·macos·ios·小程序·uni-app·cocoa·iphone
2501_9160074711 小时前
iOS 压力测试的工程化体系 构建多工具协同的极限稳定性验证方案
android·ios·小程序·uni-app·压力测试·iphone·webview
他们都不看好你,偏偏你最不争气11 小时前
【iOS】MVVM
macos·ios·objective-c·cocoa