metadata_god
metadata_god copied to clipboard
Example project fails for iOS if the project isn't in the parent folder
Hello! Thank you for creating this awesome package! I'm getting a build error if I try to build the example project, or a custom project when in the pubspec.yaml I import the metadata_god dependency as "metadata_god: ^0.4.1" instead of setting the path as in the example:
metadata_god:
# When depending on this package from a real application you should use:
# metadata_god: ^x.y.z
# See https://dart.dev/tools/pub/dependencies#version-constraints
# The example app is bundled with the plugin so we use a path dependency on
# the parent directory to use the current plugin's version.
path: ../
The error stack when building the app is:
Running pod install...
Running Xcode build...
Xcode build done. 11.2s
Failed to build iOS app
Error (Xcode): Undefined symbol: _drop_dart_object
Error (Xcode): Undefined symbol: _free_WireSyncReturn
Error (Xcode): Undefined symbol: _get_dart_object
Error (Xcode): Undefined symbol: _new_box_autoadd_f64_0
Error (Xcode): Undefined symbol: _new_box_autoadd_i32_0
Error (Xcode): Undefined symbol: _new_box_autoadd_metadata_0
Error (Xcode): Undefined symbol: _new_box_autoadd_picture_0
Error (Xcode): Undefined symbol: _new_box_autoadd_u16_0
Error (Xcode): Undefined symbol: _new_box_autoadd_u64_0
Error (Xcode): Undefined symbol: _new_dart_opaque
Error (Xcode): Undefined symbol: _new_uint_8_list_0
Error (Xcode): Undefined symbol: _store_dart_post_cobject
Error (Xcode): Undefined symbol: _wire_read_metadata
Error (Xcode): Undefined symbol: _wire_write_metadata
Could not build the application for the simulator.
Error launching application on iPad Pro (12.9-inch) (6th generation).
The same happens when i try to build as a release app. Here is my flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.8, on macOS 12.5.1 21G83 darwin-arm64, locale en-RO)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
Can you please help me with this?