Search code examples
iosxcodefluttercocoapodsflutter-module

XCode 13.3 Pod Install Removes Path To Flutter Module


we are using Flutter as a Module embedded in our project, and we have some problems. When upgraded to xcode 13.3 , we run into an issue :

Running pod install in the iOS project removes the path to the flutter module like this: enter image description here

When discarding these lines the project runs and all good, but when including those changes i get a crash:

dyld: Library not loaded: @rpath/App.framework/App Referenced from: /private/var/containers/Bundle/Application/SomeRandomGeneratedNumber/MyApp.app/MyApp Reason: image not found

The question is : Was there a change for the flutter module configuration so the pod install removes the path to the flutter module? how is it connected to xcode13.3 and is there a solution?


Solution

  • Found a workaround :

    Install Cocoapods using HomeBrew and not Gem.

    See continuation here :

    Install Cocoapods : Brew vs Regular installation