uni_links icon indicating copy to clipboard operation
uni_links copied to clipboard

Building with XCode error: missing required architecture i386 in file xxx.

Open lanistor opened this issue 3 years ago • 2 comments

Describe the bug Running project with flutter in iOS Simulator is ok, but while running with Xcode, will show bellow error:

Ignoring file /Users/vifird/C/flicker/flicker_mobile/ios/Flutter/Flutter.framework/Flutter, missing required architecture i386 in file /Users/vifird/C/flicker/flicker_mobile/ios/Flutter/Flutter.framework/Flutter (3 slices)
Undefined symbol: _FlutterMethodNotImplemented
Undefined symbol: _OBJC_CLASS_$_FlutterEventChannel
Undefined symbol: _OBJC_CLASS_$_FlutterMethodChannel

Expected behavior No error in iOS Simulator.

Smartphone (please complete the following information):

  • Device: Only iOS Simulator
  • OS: iOS 14.0

Additional context

  1. Works fine with real device, only appears on iOS Simulator.
  2. Only appear under uni_links library, others is fine.

lanistor avatar Dec 10 '20 15:12 lanistor

If are using flavor please see the following comment

https://github.com/flutter/flutter/issues/17749#issuecomment-615279343

EmadBustati avatar Dec 11 '20 23:12 EmadBustati

@lanistor Did you resolve your issue?

avioli avatar Apr 29 '21 01:04 avioli