Closed JhonaCodes closed 2 weeks ago
Hey @JhonaCodes , I think the issue is not related.
As far as I can see, you're trying to import a non-existent module. The actual module name is EmbraceIO
(our "umbrella" import) or, EmbraceCore
.
The Embrace
module/import was for 5.x version. You can check the ios integration guide to see how to integrate with iOS 6.x version (that's the one using Flutter 3.0.1)
Closing the issue as I think it's been resolved. Feel free to open a new one if another problem appears.
@ArielDemarco Well, in the end I had to downgrade Xcode to 15.4
, so that it works with Patrol version 2.0.0
, because when using the EmbraceIO
and EmbraceCore
imports, I got errors with references to missing functions.
I hope to have time this week to create the case or report it.
Thanks.
Description After updating to Embrace Flutter SDK version 3.0.1 and Embrace SDK 6.4.2, the iOS build fails with a Swift Compiler Error: "No such module 'Embrace'".
I had the same issue as the one mentioned here: https://github.com/embrace-io/embrace-flutter-sdk/issues/11
So, I decided to follow the instructions and upgrade Embrace to the latest version (3.0.1), but now I'm encountering this new problem.
Steps To Reproduce
Expected Behavior The iOS app should build successfully without any module-related errors.
Screenshots
Additional Context
Error message:
Full build output:
On emulator same problem:
Go Above and Beyond To help reproduce this issue:
Ensure that the
ios/Podfile
includes:Verify that
AppDelegate.swift
includes:Check if running
pod update EmbraceIO
andpod install
in theios
folder completes successfully.Verify that opening
Runner.xcworkspace
(notRunner.xcodeproj
) still produces the error.