Xcode 8.1 и iOS 10.1.1 не строятся

Настройка: iPhone 5c (iOS 10.0.2) iPhone 6 plus (iOS 10.1.1) iPad Air (iOS 10.1.1) Xcode 8.1

В настоящее время я создаю приложение, и оно отлично работает на всех моих устройствах. Я обновил свой 6 plus с 10.0.2 до 10.1.1, и теперь приложение не собирается. Я построил на iPad 10.0.2, и он преуспел и обновил его. Сбой также после обновления.

Я получаю следующие предупреждения и ошибки ... если кто-нибудь знает, я был бы признателен!

Заранее спасибо!

Showing Recent Issues
ld: warning: ld: warning: ld: warning: ignoring file /Users/jb/Library/Developer/Xcode/DerivedData/Give_It_Up_and_Trade-efbegnisuhotnyharswslfockoid/Build/Products/Debug-iphoneos/libFMDB.a, file was built for archive which is not the architecture being linked (arm64): /Users/jb/Library/Developer/Xcode/DerivedData/Give_It_Up_and_Trade-efbegnisuhotnyharswslfockoid/Build/Products/Debug-iphoneos/libFMDB.aignoring file /Users/jb/Library/Developer/Xcode/DerivedData/Give_It_Up_and_Trade-efbegnisuhotnyharswslfockoid/Build/Products/Debug-iphoneos/libFontAwesomeKit.a, file was built for archive which is not the architecture being linked (arm64): /Users/jb/Library/Developer/Xcode/DerivedData/Give_It_Up_and_Trade-efbegnisuhotnyharswslfockoid/Build/Products/Debug-iphoneos/libFontAwesomeKit.aignoring file /Users/jb/Library/Developer/Xcode/DerivedData/Give_It_Up_and_Trade-efbegnisuhotnyharswslfockoid/Build/Products/Debug-iphoneos/libAFNetworking.a, file was built for archive which is not the architecture being linked (arm64): /Users/jb/Library/Developer/Xcode/DerivedData/Give_It_Up_and_Trade-efbegnisuhotnyharswslfockoid/Build/Products/Debug-iphoneos/libAFNetworking.a


ld: warning: ignoring file /Users/jb/Library/Developer/Xcode/DerivedData/Give_It_Up_and_Trade-efbegnisuhotnyharswslfockoid/Build/Products/Debug-iphoneos/libRMStore.a, file was built for archive which is not the architecture being linked (arm64): /Users/jb/Library/Developer/Xcode/DerivedData/Give_It_Up_and_Trade-efbegnisuhotnyharswslfockoid/Build/Products/Debug-iphoneos/libRMStore.a


ld: warning: ignoring file /Users/jb/Library/Developer/Xcode/DerivedData/Give_It_Up_and_Trade-efbegnisuhotnyharswslfockoid/Build/Products/Debug-iphoneos/libUIColor-Crayola.a, file was built for archive which is not the architecture being linked (arm64): /Users/jb/Library/Developer/Xcode/DerivedData/Give_It_Up_and_Trade-efbegnisuhotnyharswslfockoid/Build/Products/Debug-iphoneos/libUIColor-Crayola.a


  "_OBJC_CLASS_$_RMStore", referenced from:


      objc-class-ref in iapClass.o


  "_OBJC_CLASS_$_RMAppReceipt", referenced from:


      objc-class-ref in iapClass.o


  "_OBJC_CLASS_$_FAKFontAwesome", referenced from:


      objc-class-ref in browseViewController.o


      objc-class-ref in FirstViewController.o


  "_OBJC_CLASS_$_AFJSONRequestSerializer", referenced from:


      objc-class-ref in networkingClass.o


  "_OBJC_CLASS_$_AFHTTPSessionManager", referenced from:


      objc-class-ref in networkingClass.o


ld: symbol(s) not found for architecture arm64


clang: error: linker command failed with exit code 1 (use -v to see invocation)

person CrypTech Studios    schedule 02.11.2016    source источник
comment
Вы используете последнюю бета-версию Xcode?   -  person Nik    schedule 03.11.2016
comment
нет я на официальной 8.1   -  person CrypTech Studios    schedule 03.11.2016


Ответы (3)


Это решило это для меня:

выйти из xcode

rm -rf ~/Библиотека/Разработчик/Xcode/ПроизводныеДанные

см.: https://stackoverflow.com/a/31512479/1178692

person CrypTech Studios    schedule 03.11.2016

Если с вашими архитектурами и допустимыми архитектурами все в порядке, вы можете проверить, добавили ли вы $(inherited) к другим флагам компоновщика как описано здесь.

person Nosov Pavel    schedule 02.11.2016

У меня была похожая ошибка...

Перейдите в навигатор проектов из Xcode -> Настройки Bluid...

и «Фильтр» или «Поиск» по «Нет общих блоков». Статус "ДА", но установите его на НЕТ.

введите здесь описание изображения

Это изменение работает для меня. :)

person Jordi Alonso    schedule 08.11.2016