我正在开发一款带有 ARC 的 cocos2d 的游戏。游戏在模拟器中构建和运行良好,但是当我为设备构建时,我Apple Mac-O Linker Errors
说我缺少 libcocos2d.a 等库。
clang: error: no such file or directory: '/Users/aleksandartrpeski/Library/Developer/Xcode/DerivedData/jellyfish-fsomqwhqasishxcfzhgvccrdvzpt/Build/Products/Debug-iphoneos/libcocos2d.a'
clang: error: no such file or directory: '/Users/aleksandartrpeski/Library/Developer/Xcode/DerivedData/jellyfish-fsomqwhqasishxcfzhgvccrdvzpt/Build/Products/Debug-iphoneos/libCocosDenshion.a'
clang: error: no such file or directory: '/Users/aleksandartrpeski/Library/Developer/Xcode/DerivedData/jellyfish-fsomqwhqasishxcfzhgvccrdvzpt/Build/Products/Debug-iphoneos/libkazmath.a'
clang: error: no such file or directory: '/Users/aleksandartrpeski/Library/Developer/Xcode/DerivedData/jellyfish-fsomqwhqasishxcfzhgvccrdvzpt/Build/Products/Debug-iphoneos/liblibpng.a'
当我转到文件丢失的文件夹时,我只看到 jellyfish.app。
我在这类问题上没有太多经验,我不清楚为什么会这样,我检查了如何从 TinyTimGames 和 LearnCocos2D 启动项目,仍然不清楚我做错了什么。