bingbomboom
bingbomboom

Reputation: 209

Is it possible to port Apple .frameworks files to Linux?

I am trying to build a swift project on Linux which depends on CoreBluetooth.framework. It builds fine on OSX, but on Linux it gives me the following error

~/ReWork/.../DeviceManager.swift:10:8: error no such module 'CoreBluetooth'
import CoreBluetooth
       ^

I used Xcode to hunt around, and found the actual .framework file on my mac, which looks to contain a bunch of headers. Is it at all possible to put this on my linux box and point swift to it?

Upvotes: 1

Views: 301

Answers (1)

user149341
user149341

Reputation:

No. CoreBluetooth is a component of macOS, and is not available on Linux.

Upvotes: 2

Related Questions