kfiross / flutter_mongodb_realm

Unofficial Flutter plugin for using MongoDB Realm services on Android, iOS and web.
Apache License 2.0
41 stars 17 forks source link

I got the following error when running 'flutter build ios' #14

Open Atteprojects opened 4 years ago

Atteprojects commented 4 years ago

HI, I started getting the following error and I have no idea how to solve. I run 'flutter pub get', it installs without a problem. but i get a bunch of errors even when trying to run in xcode. ` Building com.chexapp.chex for device (ios-release)... Automatically signing iOS for device deployment using specified development team in Xcode project: 6L6XM7B4A8 Running pod install... 4.1s Running Xcode build...

└─Compiling, linking and signing... 2.4s Xcode build done. 56.2s Failed to build iOS app Error output from Xcode build: ↳ BUILD FAILED

Xcode's output: ↳ /Users/ateyibabdulkadir/Documents/CHEX/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'flutter_mongo_stitch' not found @import flutter_mongo_stitch;


    1 error generated.
    error: the following command failed with exit code 1 but produced no further output
    CompileC
    /Users/ateyibabdulkadir/Library/Developer/Xcode/DerivedData/Runner-gozksococeafalcabnhvczobvrvf/Build/Intermediates.noindex/Runner.build/Release-iph
    oneos/Runner.build/Objects-normal/armv7/GeneratedPluginRegistrant.o /Users/ateyibabdulkadir/Documents/CHEX/ios/Runner/GeneratedPluginRegistrant.m
    normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Encountered error while building for device.
`
kfiross commented 4 years ago

Hi, This happens only with release version of ios, right?

kfiross commented 4 years ago

Is this happened on the latest version (0.6.1)?

kfiross commented 4 years ago

Try using legacy build system instead