Xcode 15和iOS 17 适配和问题

1 .Showing Recent Messages PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/mac/Library/Devel

把项目下Pods-App-Fremeworks.sh文件的

if [ -L "${source}" ]; then

echo "Symlinked..."

source="(readlink "{source}")"

fi

改为

if [ -L "${source}" ]; then

echo "Symlinked..."

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

fi

2 .[Unknown process name] CGBitmapContextCreateImage: invalid context 0x281fa4cc0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.崩溃

崩溃方法在:

UIImage *YBIBSnapshotView(UIView *view) {

UIGraphicsBeginImageContextWithOptions(view.bounds.size, YES, [UIScreen mainScreen].scale);

view drawViewHierarchyInRect:view.bounds afterScreenUpdates:NO\]; UIImage \*image = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); // crash it return image; } 可改成: UIGraphicsImageRendererFormat \*format = \[\[UIGraphicsImageRendererFormat alloc\] init\]; format.opaque = YES; format.scale = \[UIScreen mainScreen\].scale; UIGraphicsImageRenderer \*renderer = \[\[UIGraphicsImageRenderer alloc\] initWithSize:view.bounds.size format:format\]; UIImage \*image = \[renderer imageWithActions:\^(UIGraphicsImageRendererContext \* _Nonnull rendererContext) { \[view drawViewHierarchyInRect:view.bounds afterScreenUpdates:NO\]; }\]; 3.SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target 进入/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/文件夹,如果无arc文件夹就创建一个把 libarclite_iphonesimulator.a放回到arc文件夹 没这个文件的可以github搜索拿下来

相关推荐
江东小bug王1 小时前
深入解析 iOS 与 macOS 应用程序生命周期(完整指南)
macos·ios
2501_916008894 小时前
iOS 发布全流程详解,从开发到上架的流程与跨平台使用 开心上架 发布实战
android·macos·ios·小程序·uni-app·cocoa·iphone
非专业程序员6 小时前
iOS/Swift:深入理解iOS CoreText API
ios·swift
某柚啊7 小时前
iOS移动端H5键盘弹出时页面布局异常和滚动解决方案
前端·javascript·css·ios·html5
Kent_J_Truman7 小时前
【模拟散列表】
数据结构·算法·蓝桥杯·散列表·常识类
RollingPin18 小时前
iOS八股文之 RunLoop
ios·多线程·卡顿·ios面试·runloop·ios保活·ios八股文
2501_9160074719 小时前
iOS 混淆工具链实战,多工具组合完成 IPA 混淆与加固(iOS混淆|IPA加固|无源码混淆|App 防反编译)
android·ios·小程序·https·uni-app·iphone·webview
LinXunFeng19 小时前
Flutter webview 崩溃率上升怎么办?我的分析与解决方案
flutter·ios·webview
游戏开发爱好者821 小时前
FTP 抓包分析实战,命令、被动主动模式要点、FTPS 与 SFTP 区别及真机取证流程
运维·服务器·网络·ios·小程序·uni-app·iphone
大熊猫侯佩21 小时前
思过崖上学「 subprocess 」:令狐冲的 Swift 6.2 跨平台进程心法
spm·xcode·进程控制·platform·subprocess·output·swift 6.2