4

我有一个用 gomobile 制作的框架。我在这个问题上写了我的大部分细节。它可能与 Xcode/ld 有关,但我有一个不同版本的框架可以编译。我不确定这是否完全可行(尽管看起来确实如此)所以我想我应该放一个堆栈溢出 q 。问题中列出了文件的输出,但我也将其放在这里:

$ file Hello.framework/Hello
Hello.framework/Hello: Mach-O universal binary with 4 architectures: [arm_v7:current ar archive] [arm64]
Hello.framework/Hello (for architecture armv7):  current ar archive
Hello.framework/Hello (for architecture i386):   current ar archive
Hello.framework/Hello (for architecture x86_64): current ar archive
Hello.framework/Hello (for architecture arm64):  current ar archive

ld 对文件不满意。

Warning ignoring file ./Hello.framework/Hello, file is universal (4 slices) but does not contain the x86_64 architecture: ./Hello.framework/Hello
4

1 回答 1

0
于 2019-09-12T19:41:23.673 回答