ShadowsocksR-Live / iShadowsocksR

ShadowsocksR (SSRoT) client for iOS
GNU General Public License v3.0
574 stars 326 forks source link

编译报错 #65

Closed TheKingOfTouchFish closed 2 years ago

TheKingOfTouchFish commented 2 years ago

image

大佬知道这个编译报错怎么解决吗?我的是ios15 xcode13

ssrlive commented 2 years ago

不知道,沒有這些軟硬件環境。

ZIYOCHIRO commented 2 years ago

由于升级Xcode13之后的一系列关于Swift的报错: CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler Command CompileSwiftSources failed with a nonzero exit code type ‘struct icmp6_hdr’ has incompatible definitions in different translation units

解决: 1.swift version指定为4.0 2.Development target从9.0改为11.0 3.工程里使用的struct icmp6_hdr应该是与系统库里的名字冲突了, icmp6_hdr全局替换为icmp6_ex_hdr

ssrlive commented 2 years ago

希望你能提交一个 PR。干净的PR。

另外,target 能否就保留在 9.0 ?我希望能在 iOS 9 的设备上跑。

ssrlive commented 2 years ago

不劳各位了,我自己已经搞完,而且支持 SS 和 AEAD。哪个发送给我一个编译好的 ipa 文件?被走狗警察找上的概率你们比我低一点。