为什么我可以在iOS 14.1而非14.2上安装我的应用程序? [英] Why can I install my app on iOS 14.1 but not 14.2?

查看:307
本文介绍了为什么我可以在iOS 14.1而非14.2上安装我的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从安装Xcode 12.2以来,我无法在运行iOS 14.2的模拟器上安装我们的应用程序.我下载了14.1,并且运行14.1的模拟器可以很好地安装该应用程序.可以说,我的同事即使正在运行相同版本的Xcode,也没有此问题,因此我的设置似乎有问题.

Ever since installing Xcode 12.2, I can't install our app on simulators running iOS 14.2. I downloaded 14.1 and simulators running 14.1 install the app just fine. Tellingly, my coworker does not have this problem even though he's running the same version of Xcode, so a problem with my setup seems likely.

我尝试卸载Xcode并重新安装.我已经删除了派生数据文件夹.似乎无济于事.

I've tried uninstalling Xcode and reinstalling. I've deleted the derivedData folder. Nothing seems to help.

该应用程序的构建正常,但是当要安装在运行iOS 14.2的模拟器上时,会出现以下弹出窗口:

The app builds just fine, but when it goes to install on a simulator running iOS 14.2, I get this popup:

当我单击详细信息"时,按钮,我得到以下信息:

When I click the "Details" button, I get the following:

详细信息

"Cozi"需要更新域:IXUserPresentableErrorDomain代码: 4失败原因:开发人员需要将此应用更新为 在此版本的iOS上工作.恢复建议:找不到 输入文件的匹配列表: /Users/jrwillett/Library/Developer/CoreSimulator/Devices/662A1CB0-4E54-4DEC-8F4B-E2CA5FCB0DE8/data/Library/Caches/com.apple.mobile.installd.staging/temp.o8dPqi/extracted/iCozi-Free. app/PlugIns/NotificationService.appex/NotificationService -无法找到与输入文件匹配的拱门:/Users/jrwillett/Library/Developer/CoreSimulator/Devices/662A1CB0-4E54-4DEC-8F4B-E2CA5FCB0DE8/data/Library/Caches/com.apple.mobile.installd.staging /temp.o8dPqi/extracted/iCozi-Free.app/PlugIns/NotificationService.appex/NotificationService 域:MIInstallerErrorDomain代码:15用户信息:{ FunctionName = MIMachOFileMatchesMyArchitecture; LegacyErrorString = IncorrectArchitecture; SourceFileLine = 51; } -

"Cozi" Needs To Be Updated Domain: IXUserPresentableErrorDomain Code: 4 Failure Reason: This app needs to be updated by the developer to work on this version of iOS. Recovery Suggestion: Failed to find matching arch for input file: /Users/j.r.willett/Library/Developer/CoreSimulator/Devices/662A1CB0-4E54-4DEC-8F4B-E2CA5FCB0DE8/data/Library/Caches/com.apple.mobile.installd.staging/temp.o8dPqi/extracted/iCozi-Free.app/PlugIns/NotificationService.appex/NotificationService -- Failed to find matching arch for input file: /Users/j.r.willett/Library/Developer/CoreSimulator/Devices/662A1CB0-4E54-4DEC-8F4B-E2CA5FCB0DE8/data/Library/Caches/com.apple.mobile.installd.staging/temp.o8dPqi/extracted/iCozi-Free.app/PlugIns/NotificationService.appex/NotificationService Domain: MIInstallerErrorDomain Code: 15 User Info: { FunctionName = MIMachOFileMatchesMyArchitecture; LegacyErrorString = IncorrectArchitecture; SourceFileLine = 51; } --

系统信息

macOS版本10.15.7(内部版本19H15)Xcode 12.2(17535)(内部版本12B45b) 时间戳:2020-11-20T13:33:05-08:00

macOS Version 10.15.7 (Build 19H15) Xcode 12.2 (17535) (Build 12B45b) Timestamp: 2020-11-20T13:33:05-08:00

我没有看到StackOverflow上的其他人报告此错误,因此我似乎偶然发现了一些独特之处.我真的很感激任何指针!

I don't see other people on StackOverflow reporting this error, so I seem to have stumbled into something a bit unique. I'd really appreciate any pointers!!

编辑11/30/2020:尽管创建了赏金计划,但我仍然没有找到解决此问题的任何方法.我目前的计划是等待iOS 14.3,并希望以某种方式解决该问题.

Edit 11/30/2020: Despite creating a bounty, I still haven't found any solution to this problem. My current plan is to wait or iOS 14.3 and hope that fixes the problem somehow.

编辑12/16/2020:iOS 14.3并没有帮助,但是更多答案使我找到了解决方案,您可以在下面看到.谢谢!!

Edit 12/16/2020: iOS 14.3 didn't help, but some more answers came in which led me to the solution, which you can see below. Thank you!!

推荐答案

如果还不算太晚,这可能会对某人有所帮助.就我而言,此问题是在我添加NotificationService之后引起的 步骤: 选择您的项目->目标-> NotificationService(或您选择的任何名称). 选择构建设置->搜索VALID_ARCHS并添加值$(ARCHS_STANDARD)

This might help someone if still not too late. The issue in my case was caused after I added NotificationService The steps: Select your project -> Targets -> NotificationService (or any name you chose). Select Build Settings -> search for VALID_ARCHS and add the value $(ARCHS_STANDARD)

希望这可以帮助陷入困境的人.

Hope this helps someone struggling with the same.

这篇关于为什么我可以在iOS 14.1而非14.2上安装我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆