After migrating my framework to Xcode 10 beta (10L176w) I started to get warnings like:
在将我的框架迁移到Xcode 10 beta(10L176w)之后,我开始收到如下警告:
Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform.
将架构arm64映射到x86_64。确保为iOS模拟器平台正确配置了此目标的体系结构和有效体系结构构建设置。
... and:
......并且:
Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform.
将架构armv7映射到i386。确保为iOS模拟器平台正确配置了此目标的体系结构和有效体系结构构建设置。
Despite these warnings the build and the unit tests all pass Ok. I'm using Swift 4.2.
尽管有这些警告,构建和单元测试都通过Ok。我正在使用Swift 4.2。
Still, what are these warnings about?
不过,这些警告是什么?
1 个解决方案
#1
3
You likely have the VALID_ARCHS ("Valid Architectures") build setting overridden, either for the target or for its project. This is a build setting that should get its value automatically based on which run destination you're building for. When you figure out where this override is coming from (the build setting will display in bold when overridden), select it and hit the delete key to restore it to the default value.
您可能已为目标或其项目覆盖了VALID_ARCHS(“有效体系结构”)构建设置。这是一个构建设置,应根据您正在构建的运行目标自动获取其值。当您确定此覆盖的来源时(构建设置将在覆盖时以粗体显示),选择它并按下删除键将其恢复为默认值。
#1
3
You likely have the VALID_ARCHS ("Valid Architectures") build setting overridden, either for the target or for its project. This is a build setting that should get its value automatically based on which run destination you're building for. When you figure out where this override is coming from (the build setting will display in bold when overridden), select it and hit the delete key to restore it to the default value.
您可能已为目标或其项目覆盖了VALID_ARCHS(“有效体系结构”)构建设置。这是一个构建设置,应根据您正在构建的运行目标自动获取其值。当您确定此覆盖的来源时(构建设置将在覆盖时以粗体显示),选择它并按下删除键将其恢复为默认值。