英文:
Deploy/Redistribute binaries compiled with ObjectBox Go
问题
我正在使用ObjectBox Go来替代我的应用中的SQLite,该应用应该在标准PC(Linux/Windows/macOS)、手机(Android和iOS设备)和Web浏览器(通过wasm)上运行。
我们需要在开发者机器上安装ObjectBox的二进制库,但是在客户设备上这是不可能的。是否有ObjectBox Go的可分发版本的二进制库?或者我应该在我的安装脚本中包含install.sh
,或者自己构建?
英文:
I'm using ObjectBox Go to replace SQLite for my app, which is supposed to run on standard PC (Linux/Windows/macOS), mobile phone (Android and iOS devices) and Web Browser (via wasm).
We need to install object box's binary library on developer machine, but it is impossible to do so on customer's device. Is there a distributable version of a binary library of ObjectBox Go? Or should I have to include the install.sh
in my install script or build my own?
答案1
得分: 1
对于桌面系统,您应该能够将ObjectBox共享库与您的应用程序一起发布,您可以从objectbox-c GitHub存储库下载所需的版本。它应该存储在应用程序二进制文件旁边。
我不知道如何为Android和iOS打包Go应用程序,但您可能可以在Android上使用objectbox-android
Maven依赖项,在iOS上使用ObjectBox
CocoaPods上的pod。
英文:
For desktop systems you should be able to ship the ObjectBox shared library with your application, you can download the required versions from the objectbox-c GitHub repository. It should be stored next to the application binary.
I don't know how Go apps are packaged for Android and iOS, but you might be able to use the objectbox-android
Maven dependency for Android and the ObjectBox
pod on CocoaPods for iOS.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论