PureSwift / Bluetooth

Pure Swift Bluetooth library
http://pureswift.github.io/Bluetooth/
MIT License
176 stars 25 forks source link

Unknown architecture arm64_32 on Linux #124

Closed nebucaz closed 3 years ago

nebucaz commented 4 years ago

This is not severe but the outputs of below warning always pollutes the console:

/home/ubuntu/.build/checkouts/Bluetooth/Sources/Data.swift:89:49: warning: unknown architecture for build configuration 'arch'

#if arch(x86_64) || arch(arm64) || arch(arm64_32) || arch(s390x) || arch(powerpc64) || arch(powerpc64le)
                                         ^~~~~~~~
                                                arm64

(repeating tens of times, arrow points to arch(arm64_32)

$ uname -a
linux ubuntu 5.3.0-1014-raspi2 #16-Ubuntu SMP Tue Nov 26 11:18:23 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
colemancda commented 4 years ago

Yeah, I am not sure why that is, I think the LLVM shipped with Ubuntu is older than the one with Xcode, but I have to keep that code for watchOS.