objectbox / objectbox-dart

Flutter database for super-fast Dart object persistence

Home Page:https://docs.objectbox.io/getting-started

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong artifact created during build when adding flutter_libs

alexyaroshuk opened this issue · comments

Adding objectbox_flutter_libs (or objectbox_sync_flutter_libs) to pubspec.yaml causes my Codemagic iOS build to produce "Sourcery.app" artifact instead of the expected Runner.app, affecting my debug process (I am unable to build from Sourcery.app). I see that during the iOS build ObjectBox 1.9.0 is installed, creating the "sourcery.app" directory. I could not find any other reference to Sourcery. I did not see how the target is changed as "Runner.app" settings remain the same in the build logs.

Renaming the folders/updating the previous Runner.app builds' folder content into Sourcery.app folder did not help, nor did the vice versa method, both failed the installation on the device.

What is the cause of this? Any workaround to get Runner.app instead?

Basic info:

  • ObjectBox version: ^2.3.1
  • Flutter/Dart SDK: Flutter 3.13.7 • Dart 3.1.3
  • Reproducible: always, as long as "objectbox_flutter_libs" or "objectbox_sync_flutter_libs" added to dependencies
  • Build OS: macOS M1 Standard VM
  • Deployment device or OS: n/a (cannot install)

Steps to reproduce

add objectbox to pubspec, add objectbox_flutter_libs/objectbox_sync_flutter_libs to pubspec, run the generator, pub get, start build

Expected behavior

iOS build produces Runner.app as usual

This was also asked on Stack Overflow. As this is likely a Codemagic setup issue and the author of that project is involved there already, closing this.

Edit: please also avoid double-posting. It takes away time from actually dealing with issues.