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搜索拿下来

相关推荐
困死,根本不会8 小时前
蓝桥杯python备赛笔记之(八)动态规划(DP)
笔记·python·学习·算法·蓝桥杯·动态规划
ITKEY_11 小时前
appstore上架-预览和截屏
ios·appstore
阿捏利11 小时前
详解Mach-O(三十三)Mach-O __mod_term_func节
macos·ios·c/c++·mach-o
Trouvaille ~12 小时前
【贪心算法】专题(三):排序、博弈与区间的贪婪法则
c++·算法·leetcode·青少年编程·面试·贪心算法·蓝桥杯
2501_9160074713 小时前
提高开发效率的尝试,用快蝎(kxapp)完成 iOS 项目的创建、调试与构建
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
仰泳的熊猫13 小时前
题目2267:蓝桥杯2016年第七届真题-取球博弈
数据结构·c++·算法·蓝桥杯·深度优先·图论
2501_9151063214 小时前
如何在 Mac 上面代理抓包和数据流分析
android·macos·ios·小程序·uni-app·iphone·webview
小年糕是糕手14 小时前
【35天从0开始备战蓝桥杯 -- Day4】
数据结构·c++·算法·leetcode·蓝桥杯
blackorbird14 小时前
Coruna 间谍软件活动持续扩散,苹果破例为旧版iOS设备推送双版本安全补丁
macos·ios·objective-c·cocoa
for_ever_love__14 小时前
Objective-C 学习 单例模式
学习·ios·单例模式·objective-c