Comment on page
iOS Setup
Note: The flutter iOS SDK only runs on 64-bit devices. If you build your app with 32-bit support, check the device's architecture before using this API. this affects most simulators but not devices in current usage
Close your XCode if your project is open and from the terminal, navigate to the iOS folder in the flutter project and run
pod install
If it wasn't present before, once done this will create a <Your Project>.xcworkspace open this in XCode .


That's it IOS is ready
There is some incompatibilities that may exist between when using XCode 12 as listed here. This error may appear as
Undefined symbols for architecture x86_64: "Swift._ArrayBuffer._copyContents...".
To resolve this remove the line
$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
In your project's (not target) as shown below

XCODE project's configuration.
That's it. iOS is done!
Last modified 1yr ago