在pod install我的项目基础上执行a后,我收到以下错误:
CocoaPods没有设置项目的基本配置,因为您的项目已经有自定义配置集.为了使CocoaPods集成完全可用,请将目标的基本配置设置
BluePlaquesLondonFramework为Pods/Target Support Files/Pods/Pods.debug.xcconfig或包含Pods/Target Support Files/Pods/Pods.debug.xcconfig在构建配置中.
这可能听起来像一个愚蠢的问题,但我如何设置目标的基本配置?
https://github.com/seanoshea/BluePlaquesLondon/blob/ios8/Podfile是导致此问题的Podfile.
iOS 8分支上的http://github.com/seanoshea/BluePlaquesLondon是一个有问题的Pod文件,如果你很想知道项目的样子.
我在Xcode 4(最新的非beta版本)中有一个项目,它在Xcode本身内置时可以很好地构建.具体来说,Ld命令正确使用派生数据目录(其中放置了构建产品,包括依赖的静态库).
然而,当我在命令行建立在同一个项目,ld命令失败,因为它试图利用这个项目,这是不被填充在/ build文件夹.
我已经尝试调整我所知道的每个构建设置,包括父项和依赖项目.
关于从哪里开始调试的任何想法?我可以根据需要提供更多信息.
编辑1:完整的Xcode构建命令:
xcodebuild -project AppName.xcodeproj -target AppName -configuration "Config Name"
Run Code Online (Sandbox Code Playgroud)
哪里AppName和Config Name都是构建的正确值.
编辑2:链接(Ld)命令.
在Xcode中构建时(这可行):
Ld /Users/james/Library/Developer/Xcode/DerivedData/AppName-apkmkuhwuccsbpblulxcsafyxkwa/Build/Products/Debug-iphonesimulator/AppName.app/AppName normal i386
cd /Users/james/Code/ClientName-Depot/NameOfProject/trunk/AppName
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/james/Library/Developer/Xcode/DerivedData/AppName-apkmkuhwuccsbpblulxcsafyxkwa/Build/Products/Debug-iphonesimulator -L/Users/james/Code/ClientName-Depot/NameOfProject/trunk/AppName -F/Users/james/Library/Developer/Xcode/DerivedData/AppName-apkmkuhwuccsbpblulxcsafyxkwa/Build/Products/Debug-iphonesimulator -filelist /Users/james/Library/Developer/Xcode/DerivedData/AppName-apkmkuhwuccsbpblulxcsafyxkwa/Build/Intermediates/AppName.build/Debug-iphonesimulator/AppName.build/Objects-normal/i386/AppName.LinkFileList -mmacosx-version-min=10.6 -lxml2 -all_load -ObjC -licucore -Xlinker -objc_abi_version -Xlinker 2 -lMyClientLibrary -lxml2 -lsqlite3.0 -framework Security -framework MessageUI -framework QuartzCore -framework MediaPlayer -framework MapKit -framework CoreLocation -framework AudioToolbox -lz.1.2.3 -framework MobileCoreServices -framework SystemConfiguration -framework CFNetwork …Run Code Online (Sandbox Code Playgroud)