Closed 4bSolutionsLLP closed 3 years ago
Yes, the minimum version has been increased to 10. This means you need to set iOS version in deployment info to 10 and higher. E.g this is the example project:
Do you mean you did this change but it keeps going back to 9?
Also if you have an iOS version set in your Podfile you will also need to update that as well
platform :ios, '10.0'
Yes, the minimum version has been increased to 10. This means you need to set iOS version in deployment info to 10 and higher. E.g this is the example project:
Do you mean you did this change but it keeps going back to 9?
Yes exactly.
In XCode, PROJECT -> Runner: Deployment -> IOS Deployment Target is set to IOS 10.0 and is not the issue. However, if I go to Pods in XCode -> TARGETS and select the "map_launcher" entry, it shows under Deployment, IOS Deployment Target: IOS 9.0 and gives reported error. If i change this entry to IOS 10.0 it temporarily solves the issue but as soon as I re-build in Android Studio, this gets reset back to IOS 9.0.
Yes, the minimum version has been increased to 10. This means you need to set iOS version in deployment info to 10 and higher. E.g this is the example project: Do you mean you did this change but it keeps going back to 9?
Yes exactly.
In XCode, PROJECT -> Runner: Deployment -> IOS Deployment Target is set to IOS 10.0 and is not the issue. However, if I go to Pods in XCode -> TARGETS and select the "map_launcher" entry, it shows under Deployment, IOS Deployment Target: IOS 9.0 and gives reported error. If i change this entry to IOS 10.0 it temporarily solves the issue but as soon as I re-build in Android Studio, this gets reset back to IOS 9.0.
Here is a screenshot re my previous comments...
You should not manually adjust the ios version in the pods. Just make sure your Podfile under /ios folder has ios version set to 10 Let me know if that still doesn't help. Also, make sure to run flutter clean so there's no caching
You should not manually adjust the ios version in the pods. Just make sure your Podfile under /ios folder has ios version set to 10 Let me know if that still doesn't help. Also, make sure to run flutter clean so there's no caching
Thanks - that makes sense. I'm pretty new to Flutter - are you talking about a file accessed from Xcode or from Android Studio? Can you point me towards which file exactly and where it is? Many thanks for your help.
You can access it either way. It's in your project's ios folder. Here's what it looks like in VSCode:
Or this is in Xcode:
On line 2 you can uncomment (if you haven't already) and set correct version
Thanks so much for your patience and for walking me through this. I also found an entry in the Podfile which expressly set config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0' and I also needed to change 9.0 to 10.0.
Seems to be working now!
Perfect, no problem, glad it worked out for you :)
After updating to version 2.2.1, builds ok but get link errors reporting that minimum IOS version must be 10.0. whilst you can change this in Xcode and compile, each time you build, it reverts to IOS 9 and fails.