Flutter Firestore plugin throws error when Archiving in XCode

88 views
Skip to first unread message

sbes...@gmail.com

unread,
May 21, 2018, 8:21:12 AM5/21/18
to Flutter Dev
Hi Community,
am I the only one to experience that ?
I documented the problem in this Stackoverflow post
The app builds fine in debug & release mode, but when I try to archive with XCode, I get an
  error: include of non-modular header inside framework module 'RxLibrary'  
happens at  #import "transformations/GRXMappingWriter.h" 

The problem occurs when building the Firestore plugin.
Tried everything I could find on the web. (flutter clean, flutter upgrade, update cocoapods to latest, pod repo update, rm -rf Pods,  ... cf Stackoverflow post)

Happens on all channels since last week.

I am stuck and basically cannot publish a fix for my test users.

Help and enlightenment deeply appreciated.
Serge

Mikkel Ravn

unread,
May 22, 2018, 6:37:11 AM5/22/18
to sbes...@gmail.com, Flutter Dev
Posted an answer to the SO post.

sbes...@gmail.com

unread,
May 24, 2018, 4:37:54 AM5/24/18
to Flutter Dev
Yep, it worked, Thanks Mikkel !
Yet I wonder, there seemes to be a lot of hurdles . (like the one I just bumped against) when it comes to adding plugins written in Swift in a Obj-C project. And the underlying platform language is not specified on pub.dartlang ...

Is this something you Flutter team plan to address before getting out of beta ?
Reply all
Reply to author
Forward
0 new messages