Flutter 'Clean build folder' 수동으로 하기

정규호·2023년 11월 24일
0

User
how can i perform clean build folder function of xcode manually for flutter project

ChatGPT
In Flutter, you can manually clean the build folder for your iOS project by deleting the build directory within the ios directory. Here are the steps to perform a clean build manually:

Open a terminal.

Navigate to your Flutter project's ios directory:

cd /path/to/your/flutter/project/ios
Delete the build directory:
rm -rf build/

This command removes the entire build directory, which contains the build artifacts.

After deleting the build directory, you can run your Flutter app again:

flutter run

This process manually performs the equivalent of the "Clean Build Folder" function in Xcode for your Flutter iOS project. It removes any cached build artifacts and forces a clean build the next time you run your app.

Remember to restart your IDE (such as VS Code or IntelliJ) after performing a manual clean to ensure that the changes take effect in the development environment. After that, try running your Flutter app again, and it should rebuild from scratch without any previously cached artifacts.

profile
The Man Who Lift

0개의 댓글

관련 채용 정보