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

相关推荐
2501_915106327 小时前
如何防止资源文件被替换?一套针对 iOS App 的多层资源安全方案
android·安全·ios·小程序·uni-app·iphone·webview
九天轩辕7 小时前
基于 Qt 和 libimobiledevice 的跨平台 iOS 设备管理工具开发实践
开发语言·qt·ios
元气小嘉7 小时前
小程序开发中ios和安卓问题
android·ios
sweet丶16 小时前
iOS内存映射技术:mmap如何用有限内存操控无限数据
ios·操作系统·app
漫天星梦1 天前
iOS 手机无法播放视频问题排查与解决方案记录
前端·ios
如此风景1 天前
IOS UIKit 相关知识
ios
QuantumLeap丶1 天前
《Flutter全栈开发实战指南:从零到高级》- 22 -插件开发与原生交互
android·flutter·ios
2501_915921431 天前
混合开发应用安全方案,在多技术栈融合下构建可持续、可回滚的保护体系
android·安全·ios·小程序·uni-app·iphone·webview
Sheffi661 天前
RunLoop Mode 深度剖析:为什么滚动时 Timer 会“失效“?
ios·objective-c