-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support Apple M1 Silicon #10
Comments
I'm taking this to the objectbox-c project, where the library needs to be provided. Should then "just work" within objectbox-dart without further changes. |
The just released C-API 0.13 adds Apple Silicon support. Can you please try again? The same install script from dart should work |
The download was successful, but it seems to have got a new error
|
Could you please verify this isn't something flutter-specific (I've found some issues with this error text) by running tests in the objectbox-dart repo? pub --version
git clone https://github.com/objectbox/objectbox-dart.git
cd objectbox-dart/objectbox
pub get
pub run build_runner build
pub run test I hope to see |
If that works, I guess we'll need to do some changes to support Flutter Desktop for MacOS. There's an issue for that in objectbox-dart: objectbox/objectbox-dart#166 |
|
OK, it's good to hear that it works in general, let's figure out flutter-desktop distribution issues for MacOS in the issue I've linked in my previous comment. |
From objectbox-c point of view, the distributed library seems to work fine. |
@jochendev PS.: there's another test for M1 assuming you have Xcode and Cocoapods... Checkout https://github.com/objectbox/objectbox-swift-integration-test and run |
./test.sh -v 1.5.0-rc2
/opt/homebrew/Cellar/cocoapods/1.10.1/libexec/bin/pod install --repo-update
CocoaPods : 1.10.1
cocoapods-deintegrate : 1.0.4
Error
――― TEMPLATE END ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― [!] Oh no, an error occurred. Search for existing GitHub issues similar to yours: If none exists, create a ticket, with the template displayed above, on: Be sure to first read the contributing guide for details on how to properly submit a ticket: Don't forget to anonymize any private data! Looking for related issues on cocoapods/cocoapods...
|
Test is succeeded when i run
|
@greenrobot This error is similar to CocoaPods #10287. |
Is there any way to work on M1? @vaind @greenrobot |
@jochendev Please check https://github.com/objectbox/objectbox-c/releases/tag/v0.14.0 for the latest C release. |
I think this was about flutter originally... the next release (objectbox-dart v0.15.0) will bundle native library for desktop platforms the same way it does for mobile. There's, however, an outstanding issue with permissions. See my comment here: objectbox/objectbox-dart#166 (comment) |
bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-dart/main/install.sh)
Base config: OS Darwin and arch arm64
Adjusted OS to Macos
Using configuration Macos::arm64
Error: the platform configuration Macos::arm64 is unsupported.
You can select the configuration manually (use --help for details)
Possible values are:
The text was updated successfully, but these errors were encountered: