The
babyMilestones [Release]
target overrides theFRAMEWORK_SEARCH_PATHS
build setting defined inPods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation
$(inherited)` flag,or
- Use the
– Remove the build settings from the target.
当我尝试构建我的项目时,我在#import行上发现错误,说明找不到ShipLib / ShipLib.h文件.在我的项目导航器中,我的Pods项目正在显示,ShipLib框架是可见的.
我从来没有设置任何这些搜索路径,我只是让XCode 6做到这一点.我发现这个答案:The target … overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig
我已经尝试过以下内容:
>然后我将$(继承)添加到框架搜索路径.我做了Clean然后Build.这给出了以下类型的新错误:
ld: warning: directory not found for option ‘-L/Users/billpaystation/Documents/iOS/babyMilestones/babyMilestones/Pods/build/Debug-iphoneos’
ld: warning: directory not found for option ‘-F’
Undefined symbols for architecture i386:
“_OBJC_CLASS_$_ActionSheetDatePicker”,referenced from:
objc-class-ref in EditItemViewController.o
“_OBJC_CLASS_$_SYSincerelyController”,referenced from:
objc-class-ref in EditItemViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command Failed with exit code 1 (use -v to see invocation)
Action Sheet Picker and Sincerely Controller是我试图用Pods添加的库.
>我注意到libPods.a在我的文件检查器的框架下是红色的.所以我去了Scheme – > Edit Scheme->并将Pods添加到Build.
我真的不明白整个目标/构建设置,我可能会更糟糕的尝试这么多不同的事情.任何帮助将不胜感激!