I am not sure why this error is persisting. I tried flutter clean, flutter pub get, pod deintegrate, pod install, flutter build ios. Nothing seems to work. Regards.
Related
hope u can help me, I've been stuck for days now with this problem. With the Android build I had no problems, but when I try to do flutter build ipa I get the following error:
Running Xcode build...
Xcode archive done. 74,4s
Failed to build iOS app
Error (Xcode): ../../.pub-cache/hosted/pub.dev/titled_navigation_bar-4.1.0/lib/src/navigation_bar.dart:83:11: Error: No named parameter with the name 'overflow'.
Encountered error while archiving for device.
I've tried several things like:
-flutter clean
-flutter pub cache repair
I've also tried to remove the package and install de pubs again, I've tried downgrading flutter... pretty much everything I've found here but no luck.
Thanks in advance.
I am developing a flutter app and running on iOS Simulator works fine in Android Studio, and it works well when building from terminal flutter build ios. But when I try to build from xCode (so I can create an archive and release the app), I get this error:
Module 'connectivity_plus' not found
I used to use connectivity, and then the error was Module 'connectivity' not found.
I have found some similar questions, but none of the suggested answers worked for me. I have tried:
flutter clean
rm -rf /ios/Pods
rm -rf /ios/Podfile
rm -rf /ios/Podfile.lock
flutter pub get
cd ios
pod install
I uncomment this line in Podfile:
platform :ios, '13.0'
That is the iOS Deployment Target as well, so they match.
flutter build ios
That works ok, but when I open Runner.xcworkspace in xCode and build, I get the same error. What am I doing wrong?
I have trying to pod install flutter project in iOS side..but i am unable to install the pod in iOS side
its error show
[!] Invalid Podfile file: no implicit conversion of nil into String.
Fixed It by deleting the Podfile and Podfile.lock in ios folder and then run:
flutter run
or
flutter build ios
That way flutter will generate the new Podfile for flutter
I just recently updated my MacOS BigSur to 11.6 to accommodate the new iOS 15 release. I also updated my XCode to 13. To make sure my Flutter packages are using the most up to date version, I checked and confirmed that the package/s versions in pubsec.yaml is indeed the newest via pub.dev. I then updated Flutter, reinstalled Cocoapods and ran 'pod repo remove trunk', 'pod repo update' and 'pod update'. I then tried checking whether the pod packages are the most up to date. However, when I try visiting cocoapods.org via browser, I am getting an internal server error. How do I verify that I do have the most recent versions which are in sync with the version showing in pub.dev of Flutter? Is it correct to assume that the pub.dev build version showing for a specific package should be the same when I check the package in Pods of XCode?
FYI. The reason I am asking this is because I am getting a lot of build errors due to pods with deprecation errors. So I wish to rule out any version discrepancies before tshooting further.
Thanks in advance.
I'm not sure about the first problem, but for the problem "a lot of build errors due to pods with deprecation errors" I always use this steps to solve it.... try it might work for you too:
delete: podfile, pods folder, and podfile.lock
cd ios
pod install --repo-update (this will take time)
cd ..
flutter clean
flutter pub get
Thanks Remoo. Unfortunately your recommendation didn't work. What worked is: 1. Deleted my project. 2. Copied original saved copy fresh to MacOS. 3. Ran flutter clean and then flutter packages get and then in ios dir, did pod install. 4. Flutter run and flutter build ios --release were successful. 5. I just ran archive via XCode but still saw a lot of deprecation errors but it went through. Also performed Validate and Distribute. I will see if the app works on my iphone.
I have problem resolving issue "config.h not found" when running .xcworkspace project after pods are installed.
I ejected from expo using npm run eject
Then I ran pod install inside ios dictionary
Can not build the project due to mentioned error. Already tried all the tips mentioned in forums.
Screenshot from xcode