[英]Tl.xcodeproj The linked framework 'Pods_Tl.framework' is missing one or more architectures required by this target: armv7
I just updated to Xcode 12.0.1 from AppStore opened my old project and after build got an error.我刚刚从 AppStore 更新到 Xcode 12.0.1,打开了我的旧项目,构建后出现错误。
Here is an image for error:这是错误的图像:
as I research on SO for a solution some answered mentioned changing architecture in the build setting and changing build active architecture only setting.当我研究 SO 以寻求解决方案时,一些回答提到了在构建设置中更改架构和仅更改构建活动架构设置。 so I did but that didn't help.
所以我做了,但这没有帮助。
here the picture of the build setting architecture section:这是构建设置架构部分的图片:
as I mentioned I have gone through the same so question but they didn't help for that I have uploaded a screenshot of the solution I used.正如我提到的,我遇到了同样的问题,但他们没有帮助我上传了我使用的解决方案的屏幕截图。
Just clean the build folder and build project.只需清理构建文件夹并构建项目。 Doing this my issue is solved.
这样做我的问题就解决了。
Or You can add armv7 to the Build Settings -> Architectures -> Excluded Architectures.或者您可以将 armv7 添加到 Build Settings -> Architectures -> Excluded Architectures。 This might solve the issue for some.
这可能会解决一些问题。
For me this was caused by first building the project with a specific target, then switching to "Any iOS Device".对我来说,这是由于首先使用特定目标构建项目,然后切换到“任何 iOS 设备”造成的。 Cleaning and rebuilding did the job
清洁和重建完成了工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.