-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Description
When building for the iOS Simulator on an Apple Silicon Mac (M1/M2/M3), the build fails during the linking stage. The linker reports that the BRLMPrinterKit framework was built for 'iOS' (physical device) but is being linked into an 'iOS-simulator' build. Additionally, several symbols from the Brother SDK are reported as undefined.
Error Logs
Error (Xcode): Undefined symbol: _BRLMCustomPaperSizeMarginsMake
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRLMChannel
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRLMCustomPaperSize
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRLMMWPrintSettings
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRLMPJPrintSettings
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRLMPJPrintSettingsPaperSize
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRLMPTPrintSettings
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRLMPrinterDriverGenerator
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRLMQLPrintSettings
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRLMRJPrintSettings
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRLMTDPrintSettings
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BROTHERSDK
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRPtouchBluetoothManager
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_BRPtouchNetworkManager
Error (Xcode): Building for 'iOS-simulator', but linking in dylib
(.../Pods/BRLMPrinterKit_AB/BRLMPrinterKit/BRLMPrinterKit.framework/BRLMPrinterKit) built for 'iOS'
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Environment
- Plugin Version: another_brother: ^2.2.4
- Flutter Version: 3.41.2
- Xcode Version: 26.2
- Mac Hardware: Apple Silicon (M-series)
- Simulator: iOS 18 (iPhone 16)
Request
Could you please update the vendored BRLMPrinterKit to include an xcframework that supports the arm64-simulator architecture natively? This would avoid having to force Rosetta on development machines.
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels