alibaba / alibaba/flutter_boost

真机上编译时链接出错: link flutter_boost (arm64) Xcode12.5 , 场景是通过pod方式将Flutter作为模块引入到既有工程、 Debug编译链接、flutter_boost链接报错

Open
#1,409 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

ld: building for iOS, but linking in dylib file (/Users/zhoujun/Library/Developer/Xcode/DerivedData/FlutterNative-ecoabrbxyecstjgkngaopgaftyzr/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Flutter/Flutter.framework/Flutter) built for iOS Simulator, file '/Users/zhoujun/Library/Developer/Xcode/DerivedData/FlutterNative-ecoabrbxyecstjgkngaopgaftyzr/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Flutter/Flutter.framework/Flutter' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are named. Start by reproducing the Debug device build through the pod-based Flutter module integration with Xcode 12.5, then trace why the arm64 device link uses the simulator-built Flutter.framework; done means the device build links the correct binary.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.