After upgrading xcode to 15.1, while running flutter build ipa shows ‘Application not configured for iOS’


While building flutter application for iOS using flutter build ipa command,

Xcode, select Xcode > Settings > Platforms, and click the GET button for the
required platform.
``` error is shown

After doing so, 

Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead
Encountered error while archiving for device.




Upgraded the cococapods to resolve this issue using `brew install cocoapods` command

Tried installing comman line tools and flutter doctor. Flutter doctor result showed

[!] Xcode – develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS and macOS development.
Download at: https://developer.apple.com/xcode/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select –switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch

But Xcode is already installed and working fine.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img