0

プロジェクトでひょうたんをセットアップしようとしています。

私はこのチュートリアルに従います: http://angelolloqui.com/blog/25-Acceptance-testing-with-Calabash-and-CocoaPods

しかし、新しいターゲットがポッド内の残りのクラスを見つけられず、次のエラーが発生するようになりました。

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_AFHTTPRequestOperationManager", referenced from:
      objc-class-ref in INCWorldWeatherOnline.o
  "_OBJC_CLASS_$_AFJSONRequestSerializer", referenced from:
      objc-class-ref in INCWorldWeatherOnline.o
  "_OBJC_CLASS_$_MTLJSONAdapter", referenced from:
      objc-class-ref in INCWorldWeatherOnline.o
  "_OBJC_CLASS_$_MTLModel", referenced from:
      _OBJC_CLASS_$_INCForecastCondition in INCForecastCondition.o
      _OBJC_CLASS_$_INCCurrentCondition in INCCurrentCondition.o
  "_OBJC_CLASS_$_MTLValueTransformer", referenced from:
      objc-class-ref in INCForecastCondition.o
      objc-class-ref in INCCurrentCondition.o
  "_OBJC_METACLASS_$_MTLModel", referenced from:
      _OBJC_METACLASS_$_INCForecastCondition in INCForecastCondition.o
      _OBJC_METACLASS_$_INCCurrentCondition in INCCurrentCondition.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

元のターゲットは問題なく動作しています

何か案が?

4

2 に答える 2

0


Build Active Architecture Only を「いいえ」にして、製品 -> アーカイブを使用して iTunes ストアにビルドをアップロードしたときにこのエラーが発生しました。

于 2015-10-25T21:21:55.247 に答える