-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed
Description
Steps to Reproduce
When I run the app on a real device the app works. But then i run the app on a ios simulator it gives a error.
Logs
Launching lib/main.dart on iPad (5th generation) in debug mode...
Running pod install...
Starting Xcode build...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
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.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
ld: warning: ignoring file /Users/chetankaushik/FlutterProjects/manga_reader/ios/Flutter/App.framework/App, missing required architecture x86_64 in file /Users/chetankaushik/FlutterProjects/manga_reader/ios/Flutter/App.framework/App (2 slices)
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
fatal error: lipo: -extract x86_64 specified but fat file: /Users/chetankaushik/FlutterProjects/manga_reader/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/App does not contain that architecture
Failed to extract x86_64 for /Users/chetankaushik/FlutterProjects/manga_reader/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/App. Running lipo -info:
Architectures in the fat file: /Users/chetankaushik/FlutterProjects/manga_reader/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/App are: armv7 arm64
Could not build the application for the simulator.
Error launching application on iPad (5th generation).
Flutter Doctor
[✓] Flutter (Channel beta, v0.6.0, on Mac OS X 10.13.6 17G65, locale en-IN)
• Flutter version 0.6.0 at /Users/chetankaushik/Downloads/flutter
• Framework revision 9299c02cf7 (3 weeks ago), 2018-08-16 00:35:12 +0200
• Engine revision e3687f70c7
• Dart version 2.1.0-dev.0.0.flutter-be6309690f
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0-rc2)
• Android SDK at /Users/chetankaushik/Downloads/android-sdk-mac_x86-1.6_r1
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.0-rc2
• ANDROID_HOME = /Users/chetankaushik/Downloads/android-sdk-mac_x86-1.6_r1
• 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.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.5)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 27.1.1
• Dart plugin version 173.4700
[✓] Connected devices (2 available)
• ONEPLUS A5000 • a92b077a • android-arm64 • Android 8.1.0 (API 27)
• iPad Pro (10.5-inch) • 7E9350D8-BB2B-4A51-B5C7-D7F87DA37B01 • ios • iOS 11.4 (simulator)
• No issues found!
Metadata
Metadata
Assignees
Labels
No labels