问题表现
手机运行App无任何问题,M系统芯片电脑运行App,启动就遇见崩溃
捕获到的崩溃信息如下
Failed to look up symbolic reference at 0x10379e4f5 - offset 756299 - symbol symbolic _____Sg 14MarketplaceKit14AppDistributorO in /private/var/folders/jz/0fdxbz912p7_l_4n9pwrpfk40000gn/X/099E39E8-7418-5D0B-96F8-02391624FEE1/d/Wrapper/xxx.app/xxx
问题定位
在历史版本上发现不存在此问题,逐级定位,发现是由于更新所有第三方库造成问题
问题解决
在Google-Mobile-Ads-SDK
找到问题,查看他们版本更新记录
<details class="details-reset details-overlay " id="tag-select-menu-d68a53a4-5aec-11ef-8c08-f91e9d549ecd" style="box-sizing: border-box; display: block;"></details>
[Google Mobile Ads v11.6.0](https://github.com/googleads/swift-package-manager-google-mobile-ads/releases/tag/11.6.0)
* Added a dependency on [MarketplaceKit](https://developer.apple.com/documentation/marketplacekit). This requires apps to build with Xcode 15.3 or above.
* MarketplaceKit is Swift-only, so a Swift placeholder file has been added to the distribution so Swift standard libraries are included in apps even if they don't contain other Swift files.
发现确实在11.6.0版本引入了MarkerplaceKit造成问题产生,截止到最新版本11.8.0,问题扔未被修复,因此将admob回退到11.5.0解决问题
网友评论