mapkit-ios-demo icon indicating copy to clipboard operation
mapkit-ios-demo copied to clipboard

Не билдит проект на маке с интелом.

Open jafnhaar opened this issue 3 years ago • 1 comments

При попытке сбилдить проект на интеле выпадает ошибка:

ld: warning: ignoring file /Users/Library/Developer/Xcode/DerivedData/InnopolisClubCustomer-axvsepvlvpcorjdyjbvnyrprspre/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/YandexMapsMobile/YandexMapsMobile.framework/YandexMapsMobile, building for iOS Simulator-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F )

Undefined symbols for architecture x86_64: "OBJC_CLASS$_YMKMapView", referenced from: objc-class-ref in VendorsMapView.o "OBJC_CLASS$_YMKAnimation", referenced from: objc-class-ref in YMKMap+move.o "OBJC_CLASS$_YRTViewProvider", referenced from: objc-class-ref in VendorsMapViewController+methods.o "OBJC_CLASS$_YMKMapKit", referenced from: objc-class-ref in VendorsMapViewController.o "OBJC_CLASS$_YMKIconStyle", referenced from: objc-class-ref in VendorsMapViewController.o objc-class-ref in YMKIconStyle+defaultStyle.o "OBJC_CLASS$_YMKCameraPosition", referenced from: objc-class-ref in YMKMap+move.o "OBJC_CLASS$_YMKPlacemarkMapObject", referenced from: objc-class-ref in VendorsMapViewController.o "OBJC_CLASS$_YMKPoint", referenced from: objc-class-ref in VendorsMapViewController.o objc-class-ref in VendorsMapViewModel.o objc-class-ref in VendorsMapView.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

На маке с м1 проблем нет. Пробовал добавить в excluded arch arm64 и прочие советы со stackoverflow, но ничто не помогло

jafnhaar avatar Jul 18 '22 10:07 jafnhaar

tima5959 avatar Jul 18 '22 10:07 tima5959