avioli / uni_links

Flutter plugin for accepting incoming links.
BSD 2-Clause "Simplified" License
563 stars 303 forks source link

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

Open lanistor opened 3 years ago

lanistor commented 3 years ago

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):

Additional context

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

If are using flavor please see the following comment

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

avioli commented 3 years ago

@lanistor Did you resolve your issue?