12/5/2023 0 Comments Command line tools for xcode 13.3.![]() ![]() It always seems necessary to take this next step to get flutter apps to build properly in xCode. ![]() Running iOS builds from within Android Studio sets up the pods and dependencies and most of what is needed, but not everything needed to successfully run the flutter app on iOS. Try to build and run it on an iOS emulator from within Android Studio, and it will likely fail. ![]() This updates all build tool dependencies to the latest for Android builds.Īdd the flutter plugins to Android StudioĬreate a basic flutter app using the project template in AS File -> New Project Update kotlin and gradle setting in Android Studio and your app to the latest and rebuild/run it again. This makes Android Studio download all of the build tools it needs and which match your configuration (gradle etc.) Launch Android Studio and create a basic droid app using the new project templates in AS. sudo xcode-select -switch /Applications/Xcode.app/Contents/Developerįor flutter users continue here (in Android Studio).Download the latest version of Android Studio and install.reboot because on a clean disk you can search forever.Download xCode and Command Line Tools for 13.2.1.Reinstall xCode & Command Line Tools and then Android Studio To prevent osx from auto-updating everything after you install the older versions In OS X Settings turn off Automatic Updates for OSX and Store Apps like the pic below.drag the Android Studio app to the trash.Steps to revert to xCode & Command Line Tools 13.2.1 (not for WIN-DOS users)ĭelete all xCode artifacts including the Developer directory in your user Libraryĭelete Android Studio and Android directory in your user Library Your env needs to be setup this way to build iOS applications from single source flutter 2.0+ in Android Studio or xCode. My environment is setup to build flutter3/GCP apps for Android and iOS, and it works perfectly in Android Studio or xCode again after reverting Unless you built an app from scratch in 13.3+ The fix is to revert to xCode & Command Line Tools 13.2.1 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |