mlkit
mlkit copied to clipboard
(iOS) Import GoogleMLKit BarcodeScanning by Pod then run unit test build fail
Import GoogleMLKit/BarcodeScanning by Pod to iOS project
pod 'GoogleMLKit/BarcodeScanning'
Then Run Unit Test build fail.
Undefined symbols for architecture x86_64:
"_OBJC_METACLASS_$_MLKBarcode", referenced from:
_OBJC_METACLASS_$__TtCFC12invoiceTests25ScanVipCardViewModelTests83testWhen_Not_Support_Barcode_Format_PassValueToEditVipCardViewController_Should_NilFzT_T_L_11FakeBarcode in ScanVipCardViewModelTests.o
_OBJC_METACLASS_$__TtCFC12invoiceTests25ScanVipCardViewModelTests87testWhen_Not_Support_Barcode_Format_PassValueToEditVipCardViewController_Should_CorrectFzT_T_L_11FakeBarcode in ScanVipCardViewModelTests.o
ld: symbol(s) not found for architecture x86_64