objectbox / objectbox/objectbox-dart

ObjectBox does not contain armv7

Open
#106 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs more interest
Dominant language
Dart
Stars
1.2k
Forks
162
Avg merge
15m
Merged PRs (30d)
1

Description

When building with flutter I'm getting this error:

fatal error: lipo: -extract armv7 specified but fat file: <project path>/build/ios/Debug-iphoneos/Runner.app/Frameworks/ObjectBox.framework/ObjectBox does not contain that architecture`

As much as I don't think I really need to support armv7 necessarily, it does seem important for now as I will keep running into this unless I disable it in my XCode project. Note that if I build with XCode I'm not getting the same error.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Flutter iOS build that requests the armv7 architecture and compare it with the Xcode build described in the issue. Inspect how the ObjectBox framework is packaged for iOS and verify whether the framework contains armv7; done means the Flutter build no longer fails at the lipo step without requiring the user to disable armv7.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
build-system, databases, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.