Cocos2d iphone Cocos2D 2.0升级:Apple Mach-O链接器错误

Cocos2d iphone Cocos2D 2.0升级:Apple Mach-O链接器错误,cocos2d-iphone,upgrade,Cocos2d Iphone,Upgrade,我几乎完成了将Cocos2D从0.99.5升级到2.1的工作,但我不知道如何解决此错误。这就是显示为错误的原因: Ld/Users/Admin/Library/Developer/Xcode/DerivedData/flyingAdventure esbllafxkpvprvdfdsnfuyectjnh/Build/Products/Debug iphonesimulator/Flying\Adventure.app/Flying\Adventure普通i386 cd/Users/Admin/D

我几乎完成了将Cocos2D从0.99.5升级到2.1的工作,但我不知道如何解决此错误。这就是显示为错误的原因:

Ld/Users/Admin/Library/Developer/Xcode/DerivedData/flyingAdventure esbllafxkpvprvdfdsnfuyectjnh/Build/Products/Debug iphonesimulator/Flying\Adventure.app/Flying\Adventure普通i386 cd/Users/Admin/Documents/EriksFiles/Erik/iPad/cocos2d/flyingAdventure/flyingAdventure\u当前 setenv IPHONEOS_部署_目标7.0 setenv PATH“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/sbin:/sbin” /Applications/Xcode.app/Contents/Developer/toolschains/xcodefault.xctoolschain/usr/bin/clang++-arch i386-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk-L/Users/Admin/Library/Developer/Xcode/DerivedData/flyingAdventure-esbllafxkpvprvdsdsnfuyectjnh/Build/Products/Debug-iphonesimulator-F/Users/Admin/Library/Developer/Xcode/DerivedData/flyingAdventure-esbllafxkpvprvdsdsnfuyectjnh/Build/Products/Debug-iphonesimulator-filelist/用户/Admin/Library/Developer/Xcode/DerivedData/flyingAdventure esbllafxkvprvdfdsnfuyectjnh/Build/Intermediates/flyingAdventure.Build/Debug iphonesimulator/flyingAdventure1.Build/Objects normal/i386/Flying\Adventure.LinkFileList-Xlinker-objc\u abi\u version-Xlinker 2-all\u load-objc-fobjc-link-runtime-Xlinker-no\u-dylibs- MIOS模拟器版本MIN=7 - LCOCOS2DD库-框架GeEXTEX-框架GAMEKIT -LZ.1.2.5——框架核心图形-框架基础-框架OpenGLE——框架QuractCyr-框架UIKITE框架AudioTooBox——框架OpenAL-LZ-框架avest-xLink -依赖性信息-XLink/用户/Admin/Library/Developer/Xcode/DerivedData/flyingAdventure esbllafxkvprvdfdsnfuyectjnh/Build/Intermediates/flyingAdventure.Build/Debug iphonesimulator/flyingAdventure1.Build/Objects normal/i386/Flying\advancement\u dependency\u info.dat-o/Users/Admin/Library/Developer/Xcode/DerivedData/flyingAdventure esbllafxkpvprvdfdsnfuyectjnh/Build/Products/Debug iphonesimulator/Flying\advention.app/Flying\Adventure ld:找不到-lcocos2d库的库 找不到-lcocos2d库的库 链接器命令失败,退出代码为1(使用-v查看调用)

这与我的链接二进制库有关吗?下面是它的样子:


避免在库名称中使用空格(更改目标公司的产品名称),如果运气好的话,甚至可以解决此问题,但事实并非如此。还有其他想法吗(尝试单独构建库(选择cocos2d库方案),有时Xcode仅在您直接构建依赖库目标时才会在依赖库目标中显示错误。您的说法是“仅在管理方案中签入cocos2d库?”我尝试了这一点,并花费了大约10秒的时间来构建。如果我将我的应用程序名称与cocos2d库一起检查,我会再次收到错误。有时,在只签入COCOCOS2D库之后,我会再次收到错误braries检查并重新检查我的应用程序名称,并尝试构建和运行,它显示“没有为方案构建任何内容”cocos2d库。我明白你只选择cocos2d库的意思。但是,是的,在我成功构建库之后,出现了相同的错误,然后返回到我的应用程序名称。