Ответ 1
Кажется, что у вас нет $(inherited)
в OTHER LINKER FLAGS. Пожалуйста, опубликуйте вывод pod install
Я наткнулся на проблему с проектом, над которым мне нужно работать. В проекте используется Cocoapods для управления его библиотеками. Я запускаю pod install
, как обычно, для начала, но xcode дает мне ошибки. Я получил Undefined symbols for architecture armv7
, как вы можете видеть на изображении ниже:
Все эти символы - это библиотеки, которые я использую с моим проектом. Например. AFNetworking, RNBlurModalView. Я попытался удалить все связанные с Cocoapods файлы из проекта и снова запустить pod install
, но он все еще не решил проблему.
Что я сделал до сих пор:
pod install
снова.YES
до NO
.Я также пробую решения из той же проблемы, но ни один из них не работает для меня.
Если это помогает, я использую xCode6 и Cocoapods 0.34.4
. Допустимые архитектуры проекта armv7 and armv7s
.
Обновление: При запуске pod install --verbose
Integrating client project
Integrating target `Pods` (`AIYOCore.xcodeproj` project)
[!] The use of implicit sources has been deprecated. To continue using all of the sources currently on your machine, add the following to the top of your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
[!] The `Project [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `Project [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
Спасибо заранее.
Кажется, что у вас нет $(inherited)
в OTHER LINKER FLAGS. Пожалуйста, опубликуйте вывод pod install
Вам просто нужно очистить папку сборки (⌥⇧⌘K).