Closed
Description
Hi,
I can run flutter build ios
, even can work with debug mode on devices
But when I want to release to store, Xcode cannot compile code.
Error: Module xxx not found
I delete it and got same error with the second module
Do you know why?
I use the latest version of Flutter and Xcode
Thanks
Activity
nguyenhuutinh commentedon Nov 1, 2019
nguyenhuutinh commentedon Nov 1, 2019
my fault
#41033
Sayed-Samy commentedon Jan 5, 2020
Did you find a solution ?
pratik-perpetualny commentedon Jan 6, 2020
I am also looking for a solution.
fliermanrw commentedon Jan 8, 2020
I would also like to know what solved the problem. I have the following error:
(and every next module when deleting location)
ehosseini commentedon Jan 8, 2020
I have got the same issue.
Kenoshen commentedon Jan 10, 2020
I may have found the answer from this comment:
#21989 (comment)
Seems like by opening up the project by double clicking
Runner.xcworkspace
instead ofRunner.xcodeproj
xcode can finally figure out where everything is. Even though you can still debug in an emulator and on a connected phone from the.xcodeproj
file...Seems strange that it would fix it. But I'm happy to have an Archived build now.
DavideBicego commentedon Jan 14, 2020
Opening the project with Runner.xcworkspace doesn't work for me!
Did anyone found a solution?
Kenoshen commentedon Jan 14, 2020
On top of trying the xcworkspace trick, previously, I had tried deleting the Podsfile.lock, cleaning the project, changing the Podsfile min version to 9, or something like that. So it is possible some combination of those things plus the xcworkspace thing is the actual solution.
kennethnym commentedon Jan 19, 2020
Nothing worked for me.
jaredanderton commentedon Jan 21, 2020
This was the only thing that worked for me:
rm ios/Podfile && flutter build ios
I think I had ran
pod init
manually, prior to ever building the app from Flutter. Because of that my Podfile was missing the commands to pull in all the other pods. I only noticed the issue after I added a package to my pubspec.yaml, that actually required using a platform channel.cmonney commentedon Jan 24, 2020
@jaredanderton thanks. It worked for me too
TheOneWithTheBraid commentedon Feb 6, 2020
I fixed it the following way:
#platform :ios, '9.0'
in the Podfileios/Runner.xcworkspace
49 remaining items