Using "plugin.bit" - How to download/install?

[“plugin.bit”] = { publisherId = “com.coronalabs” },
local bit = require(‘plugin.bit’)

PROBLEM - plugin no longer found. I know the orignial souce is at https://bitop.luajit.org/ but there is no info on how to install this as a plugin.

Suggetions???

Fill in the plugin configuration to build.settings in your project, then re-run project, the Solar2D Simulator will download the plugin automatically.
See Solar2D Documentation — Plugins | Bit and Solar2D Documentation — Solar2D Native | Plugins .

Thanks clang, but it runs in the simulator but produces an error for that plugin when I try to move it to a device (iPhone), Appears this error happens when emitting debug symbols:

Creating Universal Binary… is successful.

Emit debug symbols…
error: cannot create Plist: Operation not permitted
ERROR: Builder failed: error: cannot create Plist: Operation not permitted
BUILD ERROR: There was a problem linking the app.

Corona-3710

I don’t have any more clues to offer.
But I wanted to confirm that you are using/running in iOS or iOS Simulator? bit not support arm64 iOS Simulator, i.e. iOS Simulator on apple silicon Mac.

iOS, Intel

Thanks for your feedback!

No idea where MacOS keeps cached plugins, but for Windows in that same directory there is a catalog.json, renaming that file (for backup purpose) and relaunching the Simulator forces plugin fetch.

SOLVED!
Turns out this was easier than expected. I was building with the iOS SDK of 17.2 Metal. Toggle to iOS SDK of 17.2 worked.
Just sans the “Metal” option.

1 Like