Make sure you have completed setting up the iOS app in xcode first. Drag and drop the project in VSCODE & perform the below tasks:
Run commands:
flutter clean
flutter pub get
cd ios
pod install --repo-update
Once the pods are installed successfully, follow the below steps:
- Open the iOS folder in Xcode.
- Connect any real device.
- Got to> product and click on: Clean build folder
- Got to> product and click on: Run to test the app & then Stop the app
- Got to> product and click on: Build
- Got to> product and click on: Archive
- Once it is archived, click Validate
- After validated, click Upload