简体   繁体   English

Tl.xcodeproj 链接框架“Pods_Tl.framework”缺少此目标所需的一个或多个架构:armv7

[英]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.

相关问题 链接框架“Pods_Runner.framework”缺少此目标所需的一个或多个架构:x86_64 - The linked framework 'Pods_Runner.framework' is missing one or more architectures required by this target: x86_64 框架“shared.framework”缺少此目标所需的一个或多个架构:arm64。 Xcode 12.0 kotlin 1.4.10 - framework 'shared.framework' is missing one or more architectures required by this target: arm64. Xcode 12.0 kotlin 1.4.10 在构建应用程序目标时,在文件XCTest中缺少必需的体系结构armv7 - missing required architecture armv7 in file XCTest on building application target 构建多个体系结构的框架(arm64,armv7,armv7s) - Build framework for multiple architectures (arm64, armv7, armv7s) 使用armv7和armv7s编译框架 - Compiling framework with armv7 and armv7s 警告:架构的armv7 armv7s'不包含所有必需的架构'arm64' - Warning: architectures 'armv7 armv7s' didn't contain all required architectures 'arm64' Apple Silicon M1 上的 React Native - 链接库“libPods-ProjectName.a”缺少此目标所需的一个或多个架构:x86_64 - React Native on Apple Silicon M1 - The linked library 'libPods-ProjectName.a' is missing one or more architectures required by this target: x86_64 MonoTouch:“缺少必需的体系结构armv7” - MonoTouch: “Missing a required architecture armv7” Kotlin 多平台移动 - 无法运行 iOS 项目 - 缺少此目标所需的一个或多个架构 - Kotlin multiplatform mobile - fail to run iOS project - missing one or more architectures required by this target ld:找不到框架armv7的螺栓 - ld: framework not found Bolts for architecture armv7
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM