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

相关推荐
ajassi200012 分钟前
开源 Objective-C IOS 应用开发(二十二)自定义控件--车速仪表盘
ios·开源·objective-c
從南走到北15 分钟前
JAVA国际版同城跑腿源码快递代取帮买帮送同城服务源码支持Android+IOS+H5
android·java·ios·微信小程序
X***48961 小时前
JavaWebSocket案例
ios·finebi·view design
2501_915918411 小时前
如何解析iOS崩溃日志:从获取到符号化分析
android·ios·小程序·https·uni-app·iphone·webview
ajassi20004 小时前
开源 Objective-C IOS 应用开发(二十一)自定义控件--示波器
ios·开源·objective-c
ajassi20004 小时前
开源 Objective-C IOS 应用开发(二十)多线程处理
ios·开源·objective-c
00后程序员张16 小时前
Swift 应用加密工具的全面方案,从源码混淆到 IPA 成品加固的多层安全实践
安全·ios·小程序·uni-app·ssh·iphone·swift
九年义务漏网鲨鱼16 小时前
蓝桥杯算法——状态压缩DP
算法·职场和发展·蓝桥杯
2501_9160088919 小时前
提高 iOS 应用逆向难度的工程实践,多工具联动的全栈安全方案
android·安全·ios·小程序·uni-app·cocoa·iphone
迈巴赫车主19 小时前
蓝桥杯 20541魔法科考试
java·数据结构·算法·蓝桥杯