Reputation: 31
I tyied all solution flutter pub get,flutter clean ,deleting pod.lock file and yaml.lock file and derived data in xcode everyting,i dont know how to solve this issue.i already spend two weeks to find solution for this.no progress,plze help on this.
Upvotes: 1
Views: 1620
Reputation: 6448
In my case the problem was with the localisation wrongly done in Xcode. I had to add Localizable.strings
to translate incoming push notifications send from my Node.js
server, and I had the various languages .lproj
folders both in iOS folder (which is correct) and in Runner folder (wrong).
So I deleted the Localizable.strings
file, all the .lproj
from both folders and the added languages from Xcode. I started fresh by creating theLocalizable.string
file at project Runner
folder lever, re added the languages selecting only the Localizable.strings
file and leaving unchecked both Main.storyboard
and Launch.storyboard
checkboxes. That creates only the Localizable.strings
file in every language .lproj
folder at iOS folder level. Now it all works as expected.
Hope this help other in the same hole.
Cheers
Upvotes: 0
Reputation: 31
I fixed using this solution,this worked for me
1.added this packege flutter_math_fork: any in pubspec.yaml 2.delete pubspec.lock file and pod.lock file 3.do flutter pub cache repair 4.do flutter pub get 5.do flutter pub upgrade --major-versions 6.do flutter clean 7.flutter pub get 8.pod install
thats all it will run
Upvotes: 0
Reputation: 17812
Please do these steps
Delete Podfile.lock
delete .symlinks folder
delete pods folder
Delete XCWorkspace file
Make sure platform version in Pods file is uncommented and set it to 11.0
Navigate to iOS folder in terminal and run pod install
Open the xcworkspace in Xcode and select product -> clean build folder
if you notice any warnings please resolve them
Run the project from Xcode once and all subsequent builds should work from your IDE
Upvotes: 1