编译iOS档案的汇编文件时出现lang铛错误

时间:2018-08-17 15:27:40

标签: ios xcode assembly compiler-errors clang

在使用 Xcode 9.4.1 / LLMV 9.0 进行应用程序归档的同时尝试编译 .s 文件时,出现以下错误。< / p>

Command/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

error: invalid operand for instruction
add x1, x1, x14

当我在物理设备上运行项目时,没有编译错误,一切正常。

已解决: 在构建设置的“活动体系结构”部分中仅保留ARM64。

0 个答案:

没有答案
相关问题