<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">I am ready to submit my iOS app to iTunes Connect but not able to Archive to send to Apple.</p>
<ol dir="auto">
<li>Run flutter build ios --release</li>
<li>Open Runner.xcworkspace in Xcode v 9.3</li>
<li>Make sure Bundle Identifier is the correct App ID in Apple Developer Portal</li>
<li>Product-&gt;Archive Menu Option</li>
<li>Receive Warnings about Swift 3 <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/object/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/object">@object</a> and Error exit code 1 (see below)</li>
</ol>
<h2 dir="auto">Error</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Non-fat binary /Users/marco/Library/Developer/Xcode/DerivedData/Runner-asytzrlvctklzifuuprykzalkakh/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications//Runner.app/Frameworks/App.framework/App is not armv7 arm64. Running lipo -info:
Non-fat file: /Users/marco/Library/Developer/Xcode/DerivedData/Runner-asytzrlvctklzifuuprykzalkakh/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications//Runner.app/Frameworks/App.framework/App is architecture: arm64
Command /bin/sh failed with exit code 1"><pre class="notranslate"><code class="notranslate">Non-fat binary /Users/marco/Library/Developer/Xcode/DerivedData/Runner-asytzrlvctklzifuuprykzalkakh/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications//Runner.app/Frameworks/App.framework/App is not armv7 arm64. Running lipo -info:
Non-fat file: /Users/marco/Library/Developer/Xcode/DerivedData/Runner-asytzrlvctklzifuuprykzalkakh/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications//Runner.app/Frameworks/App.framework/App is architecture: arm64
Command /bin/sh failed with exit code 1
</code></pre></div>
<h2 dir="auto">Warnings</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ld: warning: ignoring file /Volumes/Data/Flutter/fatima_prayers/ios/Flutter/App.framework/App, file was built for arm64 which is not the architecture being linked (armv7): /Volumes/Data/Flutter/fatima_prayers/ios/Flutter/App.framework/App

The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the &quot;Swift 3 @objc Inference&quot; build setting to &quot;Default&quot; for the &quot;Runner&quot; target.

The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the &quot;Swift 3 @objc Inference&quot; build setting to &quot;Default&quot; for the &quot;Runner&quot; target."><pre class="notranslate"><code class="notranslate">ld: warning: ignoring file /Volumes/Data/Flutter/fatima_prayers/ios/Flutter/App.framework/App, file was built for arm64 which is not the architecture being linked (armv7): /Volumes/Data/Flutter/fatima_prayers/ios/Flutter/App.framework/App

The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.

The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
</code></pre></div>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="iMac:fatima_prayers marco$ flutter analyze
Analyzing /Volumes/Data/Flutter/fatima_prayers...
No issues found!
Ran in 5.2s"><pre class="notranslate"><code class="notranslate">iMac:fatima_prayers marco$ flutter analyze
Analyzing /Volumes/Data/Flutter/fatima_prayers...
No issues found!
Ran in 5.2s
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="iMac:fatima_prayers marco$ flutter doctor -v
[✓] Flutter (Channel beta, v0.3.1, on Mac OS X 10.13.4 17E202, locale en-US)
    • Flutter version 0.3.1 at /Users/marco/Development/flutter
    • Framework revision 12bbaba9ae (6 days ago), 2018-04-19 23:36:15 -0700
    • Engine revision 09d05a3891
    • Dart version 2.0.0-dev.48.0.flutter-fe606f890b

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/marco/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.0

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 23.2.2
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.22.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Dart Code extension version 2.11.2

[✓] Connected devices (2 available)
    • Android SDK built for x86 • emulator-5554                        • android-x86 • Android 8.1.0 (API 27) (emulator)
    • iPhone X                  • ABCDEdddd.... • ios         • iOS 11.3 (simulator)

• No issues found!"><pre class="notranslate"><code class="notranslate">iMac:fatima_prayers marco$ flutter doctor -v
[✓] Flutter (Channel beta, v0.3.1, on Mac OS X 10.13.4 17E202, locale en-US)
    • Flutter version 0.3.1 at /Users/marco/Development/flutter
    • Framework revision 12bbaba9ae (6 days ago), 2018-04-19 23:36:15 -0700
    • Engine revision 09d05a3891
    • Dart version 2.0.0-dev.48.0.flutter-fe606f890b

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/marco/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.0

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 23.2.2
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.22.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Dart Code extension version 2.11.2

[✓] Connected devices (2 available)
    • Android SDK built for x86 • emulator-5554                        • android-x86 • Android 8.1.0 (API 27) (emulator)
    • iPhone X                  • ABCDEdddd.... • ios         • iOS 11.3 (simulator)

• No issues found!
</code></pre></div>
<p dir="auto">Any Ideas?</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chinmaygarde/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chinmaygarde">@chinmaygarde</a>  says this should be very straightforward and is just about teaching our Mac bot to build the ARM32-bit variants of our engine, uploading them to the right place, and teaching our XCode project template to use them.</p>
<p dir="auto">EDIT: Turns out it was not straight forward.  Work is actively underway, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cbracken/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cbracken">@cbracken</a> is driving the effort.</p>