我正在x代码项目的目录中为一个在iOS模拟器上运行的应用程序运行命令"apportable load"。我有x代码5.0.2,当我尝试更新apportable时,它说这是最新版本。
我对输出的错误程度感到抱歉,因为它可能很难阅读。我注意到一些挑选音效的错误,它们无法被引用。
为什么当直接来自spritebuilder界面时,对CCScreenModeFixed等设置的引用没有被识别?apportable支持音效吗?如果是,为什么找不到我的?
/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/AppDelegate.m:58:错误:未定义参考"CCSetupScreenMode">
/用户/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/AppDelegate.m:58:错误:未定义参考"CCScreenModeFixed">
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(AppDelegate.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/AppDelegate.m:functionL_OBJC_CLASSLIST_REFERENCES_$_22:错误:未定义对的引用'OBJC_CLASS_$_CCBReader'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(AppDelegate.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/AppDelegate.m:functionOBJC_METACLASS_$_AppController:错误:未定义对的引用'OBJC_METACLASS_$_CCAppDelegate'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(AppDelegate.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/AppDelegate.m:functionOBJC_CLASS_$_AppController:错误:未定义对的引用'OBJC_CLASS_$_CCAppDelegate'/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gameplay.m:186:错误:未定义参考"clampf">
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gameplay.m:functionL_OBJC_CLASSLIST_REFERENCES_$_:错误:未定义对的引用'OBJC_CLASS_$_OALSimpleAudio'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gameplay.m:functionL_OBJC_CLASSLIST_REFERENCES_$_73:错误:未定义对的引用'OBJC_CLASS_$_CCBReader'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gameplay.m:functionL_OBJC_CLASSLIST_REFERENCES_$_122:错误:未定义对的引用'OBJC_CLASS_$_CCDirector'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gameplay.m:functionL_OBJC_CLASSLIST_REFERENCES_$_133:错误:未定义对的引用'OBJC_CLASS_$_CCActionMoveBy'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gameplay.m:functionL_OBJC_CLASSLIST_REFERENCES_$_138:错误:未定义对的引用'OBJC_CLASS_$_CCActionSequence'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gameplay.m:functionL_OBJC_CLASSLIST_REFERENCES_$_141:错误:未定义对的引用'OBJC_CLASS_$_CCActionEaseBounce'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gameplay.m:functionOBJC_METACLASS_$_Gameplay:错误:未定义对的引用'OBJC_METACLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gameplay.m:functionOBJC_CLASS_$_Gameplay:错误:未定义对的引用'OBJC_CLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(Goal.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gool.m:函数OBJC_METACLASS_$_Goal:错误:未定义对的引用'OBJC_METACLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(Goal.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Gool.m:函数OBJC_CLASS_$_Goal:错误:未定义对"OBJC_CLASS_$_CCNode"的引用
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(His.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/His.m:functionOBJC_METACLASS_$_Hiss:错误:未定义对的引用'OBJC_METACLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(His.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/Hiss.m:函数OBJC_CLASS_$_Hiss:错误:未定义对"OBJC_CLASS_$_CCNode"的引用
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(MainScene.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/MainScene.m:functionL_OBJC_CLASSLIST_REFERENCES_$_:错误:未定义对的引用'OBJC_CLASS_$_CCBReader'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(MainScene.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/MainScene.m:functionL_OBJC_CLASSLIST_REFERENCES_$_1:错误:未定义对的引用'OBJC_CLASS_$_CCDirector'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(MainScene.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/MainScene.m:functionL_OBJC_CLASSLIST_REFERENCES_$_6:错误:未定义对的引用'OBJC_CLASS_$_OALSimpleAudio'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(MainScene.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/MainScene.m:functionOBJC_METACLASS_$_MainScene:错误:未定义对的引用'OBJC_METACLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android armeabi debug.com/apportable.Eltie/Eltie/libEltie.a(MainScene.m.o):/Users/mateusz/Documents/SpriteBuilderGames/Eltie.sspritebuilder/Source/MainScene.m:functionOBJC_CLASS_$_MainScene:错误:未定义对的引用"OBJC_CLASS_$_CCNode"ninja:生成已停止:子命令失败。错误:命令失败:/用户/mateusz/.apprtable/SDK/toolchain/macosx/ninja/nija--无剥离ansi转义-j 8/Users/mateusz/.apprtable/SDK/Build/android armeabi debug/Eltie/Eltie-debug.apk
好吧,我在这个问题的答案的帮助下找到了答案:带有可移植的静态库
我没有在x代码中构建阶段选项卡的目标依赖项部分添加cocos2d库。当我添加它时,apportable在查找来自spritebuilder和cocos2d的未定义类型时没有问题。