在当前项目中,无法像在其他项目中一样设置“其他链接器标志”。无论我在xcode项目设置的“其他链接标志”部分中输入什么内容,它都不会显示在详细的构建日志中,并且不会发生所需的链接:
ld build / Debug-iphonesimulator / MyProject.app / MyProject正常i386 cd / Users / theUser / Development / xm8vc / MyProject / trunk setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH“ /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer / usr / bin:/ usr / bin:/ bin:/ usr / sbin:/ sbin“ /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 -arch i386 -isysroot / Developer / Platforms / iPhoneSimulator .platform / Developer / SDKs / iPhoneSimulator4.2.sdk -L / Users / theUser / Development / xm8vc / MyProject / trunk / build / Debug-iphonesimulator -L / Users / theUser / …