Hi,
I'm trying to build an App Store IPA for my Flutter app on Mac M4 without a physical iPhone connected.
STEP 1 - I tried Automatic Signing in Xcode but got:
"Communication with Apple failed. Your team has no devices from which to generate a provisioning profile."
"Xcode couldn't find any iOS App Development provisioning profiles matching my bundle ID."
STEP 2 - I switched to Manual Signing in Xcode. No warnings or errors shown in Xcode UI. Everything looks fine in Signing & Capabilities.
But when I run this command in terminal: flutter build ipa
I get this error:
Building App Store IPA... Encountered error while creating the IPA: error: exportArchive "Runner.app" requires a provisioning profile.
My Setup:
- Mac M4
- Flutter (flutter build ipa)
- Paid Apple Developer account
- No physical iPhone connected
- Building for App Store distribution
Question: How do I successfully export an IPA for App Store distribution without a physical device on Mac M4?
Any help appreciated. Thank you.