yandexmobile / yandexmapkit-ios

Yandex Map Kit for iOS
Other
173 stars 30 forks source link

YandexMapKit 3 - не собирается приложение в Release #207

Closed olegKa closed 5 years ago

olegKa commented 5 years ago

В приложение, достаточно древнее, без ARC, подключен YandexMapKit 3 через podfile. В конфиге Debug все работает штатно, а при попытке собрать в Release ругается:

@property (nonatomic, nonnull) YRTI18nPrefs *prefs; - Default property attribute 'assign' not appropriate for object - No 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed

podfile: platform :ios, '9.0' inhibit_all_warnings!

target 'PROJ' do

pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'YandexMapKit', '~> 3.0.0' 

end

olegKa commented 5 years ago

Проблема оказалась в GCC_TREAT_WARNINGS_AS_ERRORS = YES