Xcode14.3 打包,iOS13体系,启动闪退

分享
手机软件开发 2024-9-15 23:19:25 74 0 来自 中国
4月起,iOS项目上线appstore发布,须要使用Xcode14.1及Xcode14.1+进行打包,否则会被拒,被拒来由如下


晚上乖乖的升级电脑体系版本,xcode版本,xcode直接从Appstore下载的最新版本Xcode14.3,然后运行项目时,又碰到了报错

2.png
这是CocoaPods的题目,对应的*-frameworks.sh文件进入如下修改//原来source="$(readlink "${source}")"//如今source="$(readlink -f "${source}")"
顺利运行并打包,iOS14+的手机都安装正常,然而iOS13体系的,通过从本地拿log,log详情如下
Incident Identifier: 261A31C3-3C40-4B4B-B028-11E357E02B07CrashReporter Key:   e3ea49bd8801e8abdf6e0dd32942962ad4ba114dHardware Model:      iPhone11,8Process:             APP名字 [1913]Path:                /private/var/containers/Bundle/Application/028BD7B6-40A6-4793-9CE3-ADD6D216B7C9/APP名字.app/APP名字Identifier:          xxVersion:             4 (1.3.4)Code Type:           ARM-64 (Native)Role:                ForegroundParent Process:      launchd [1]Coalition:           com.lakala.haotk [1123]Date/Time:           2023-04-06 10:35:03.4554 +0800Launch Time:         2023-04-06 10:35:03.4464 +0800OS Version:          iPhone OS 13.6.1 (17G80)Release Type:        UserBaseband Version:    2.07.00Report Version:      104Exception Type:  EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note:  EXC_CORPSE_NOTIFYTermination Description: DYLD, Assertion failed: (gotLocation), function applyFixupsToImage_block_invoke_3, file /Library/Caches/com.apple.xbs/Sources/dyld/dyld-750.4.2/dyld3/Loading.cpp, line 779.Highlighted by Thread:  0Backtrace not availableUnknown thread crashed with ARM Thread State (64-bit):    x0: 0x0000000000000006   x1: 0x0000000000000009   x2: 0x000000016b3685b0   x3: 0x0000000000000014    x4: 0x000000016b3681b0   x5: 0x0000000000000000   x6: 0x000000016b368f40   x7: 0x000000016b369058    x8: 0x0000000000000020   x9: 0x0000000000000009  x10: 0x2e342e3035372d64  x11: 0x2f33646c79642f32   x12: 0x2f33646c79642f32  x13: 0x2e676e6964616f4c  x14: 0x6e696c202c707063  x15: 0x000a2e3937372065   x16: 0x0000000000000209  x17: 0x0000000105ebf370  x18: 0x0000000000000000  x19: 0x0000000000000000   x20: 0x000000016b3681b0  x21: 0x0000000000000014  x22: 0x000000016b3685b0  x23: 0x0000000000000009   x24: 0x0000000000000006  x25: 0x0000000000000843  x26: 0x0000000000000d52  x27: 0x0000000105bdac90   x28: 0x00000000006496c8   fp: 0x000000016b368180   lr: 0x0000000105ecc4cc    sp: 0x000000016b368140   pc: 0x0000000105ec4d90 cpsr: 0x40000000   esr: 0x00000000  Address size faultBinary images description not availableError Formulating Crash Report:Failed to create CSSymbolicatorRef - corpse still valid ¯\_(ツ)_/¯EOF看样子大概是定位的题目,但是详细也没找到最终的地方,末了看到网上也有朋侪碰到相同的题目,说降级到Xcode14.2就可以了,于是先用同事xcode14.2试了一下,果然可以,详细原因还没来的及细查,等确定好再来更新
您需要登录后才可以回帖 登录 | 立即注册

Powered by CangBaoKu v1.0 小黑屋藏宝库It社区( 冀ICP备14008649号 )

GMT+8, 2024-10-19 04:26, Processed in 0.193139 second(s), 35 queries.© 2003-2025 cbk Team.

快速回复 返回顶部 返回列表