我看着就吓尿了。别说用了。。。
试了好久,终于成功了。
但是我想把onTouch改为onClick。
所以在studio中,回调方法设置为Click,后面改成onClick。
然后发布资源。
但是调试的时候,依然显示的是两个"onTouch",求解决。
— Begin quote from ____
引用第62楼JackenYuan于2015-05-31 14:56发表的 :
试了好久,终于成功了。
但是我想把onTouch改为onClick。
所以在studio中,回调方法设置为Click,后面改成onClick。
然后发布资源。
但是调试的时候,依然显示的是两个"onTouch",求解决。 http://www.cocoachina.com/bbs/job.php?action=topost&tid=274210&pid=1318414
— End quote
是不是不支持Click事件?
我发现这个切换点击事件可能有问题。如下操作
1、新建一个button,参考论坛教程,给button设置回调特性,回调方法改为“click”,回调事件改为"onClick"。然后发布调试运行,可以正常响应onClick事件。
2、修改button的回调特性,回调方法改为“touch”,回调事件改为"onTouch"。然后发布调试运行,点击button后,依然响应的是onClick事件。
而且来来回回改了几次后,居然onClick也不响应了。。
求解决。
我的问题已经解决,
解决方法:重新生成解决方案。
陆陆续续搞了几个月,终于搞通了







直接button::create 再addTouchEnent不挺好的吗,这个看着好麻烦
麻烦得要命
有没有办法可以简化一下流程呀。
理想的操作方式是 “只要在编辑器里写上类名和函数名” 就可以了,而不需要这么多繁琐的操作。
CSLoader* instance = CSLoader::getInstance();
instance->registReaderObject(“CallbackReader”, (ObjectFactory::Instance)CallbackReader::getInstance);
这两行代码到底要写在哪里?









Based on: cocos2d-x-3.7
Running command: compile
Building mode: debug
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac
2015-08-11 15:42:16.250 xcodebuild DVTAssertions: Warning in /SourceCache/IDEFrameworks/IDEFrameworks-7720/IDEFoundation/SourceControl/Model/IDESourceControlManager.m:423
Details: Error Domain=com.apple.dt.IDESourceControlErrorDomain Code=-1 "Missing extension: public.vcs.subversion" UserInfo=0x7fc2f8505200 {NSLocalizedDescription=Missing extension: public.vcs.subversion}
Object: <IDESourceControlManager: 0x7fc2f8504910>
Method: -loadRepositories
Thread: <NSThread: 0x7fc2f841aa50>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
=== BUILD TARGET PlanesWar-desktop OF PROJECT PlanesWar WITH CONFIGURATION Debug ===
Check dependencies
Write auxiliary files
/bin/mkdir -p /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64
write-file /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/PlanesWar-desktop.LinkFileList
write-file /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/PlanesWar-desktop-generated-files.hmap
write-file /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/PlanesWar-desktop.hmap
write-file /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/PlanesWar-desktop-own-target-headers.hmap
write-file /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/PlanesWar-desktop-all-non-framework-target-headers.hmap
write-file /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/PlanesWar-desktop-project-headers.hmap
write-file /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/PlanesWar-desktop-all-target-headers.hmap
Create product structure
/bin/mkdir -p /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents
/bin/mkdir -p /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/MacOS
/bin/mkdir -p /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/Resources
ProcessInfoPlistFile /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/Info.plist mac/Info.plist
cd /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac
builtin-infoPlistUtility /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/mac/Info.plist -genpkginfo /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/PkgInfo -expandbuildsettings -platform macosx -o /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/Info.plist
CpResource /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/Resources/res /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/Resources/res
cd /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/Resources/res /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/Resources
CpResource mac/Icon.icns /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/Resources/Icon.icns
cd /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/mac/Icon.icns /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/Resources
CompileC build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/main.o mac/main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DUSE_FILE32API -DCC_TARGET_OS_MAC -DCOCOS2D_DEBUG=1 -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -Wno-sign-conversion -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/PlanesWar-desktop.hmap -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/include -I/Applications/Cocos/frameworks/cocos2d-x-3.7 -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/base -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/physics -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/math -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/2d -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/ui -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/network -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/audio/include -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/editor-support -I/Applications/Cocos/frameworks/cocos2d-x-3.7/extensions -I/Applications/Cocos/frameworks/cocos2d-x-3.7/external -I/Applications/Cocos/frameworks/cocos2d-x-3.7/external/chipmunk/include/chipmunk -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/platform/mac -I/Applications/Cocos/frameworks/cocos2d-x-3.7/external/glfw3/include/mac -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/DerivedSources/x86_64 -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/DerivedSources -F/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac -include /var/folders/zl/ss9t2hbs3s1ch0xnxbbzr8xm0000gn/C/com.apple.DeveloperTools/6.4-6E35b/Xcode/SharedPrecompiledHeaders/Prefix-cbergudqihtihvdvzdmcnsqtaaby/Prefix.pch -MMD -MT dependencies -MF /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/main.dia -c /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/mac/main.cpp -o /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/main.o
CompileC build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/AppDelegate.o /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/Classes/AppDelegate.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DUSE_FILE32API -DCC_TARGET_OS_MAC -DCOCOS2D_DEBUG=1 -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -Wno-sign-conversion -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/PlanesWar-desktop.hmap -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/include -I/Applications/Cocos/frameworks/cocos2d-x-3.7 -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/base -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/physics -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/math -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/2d -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/ui -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/network -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/audio/include -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/editor-support -I/Applications/Cocos/frameworks/cocos2d-x-3.7/extensions -I/Applications/Cocos/frameworks/cocos2d-x-3.7/external -I/Applications/Cocos/frameworks/cocos2d-x-3.7/external/chipmunk/include/chipmunk -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/platform/mac -I/Applications/Cocos/frameworks/cocos2d-x-3.7/external/glfw3/include/mac -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/DerivedSources/x86_64 -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/DerivedSources -F/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac -include /var/folders/zl/ss9t2hbs3s1ch0xnxbbzr8xm0000gn/C/com.apple.DeveloperTools/6.4-6E35b/Xcode/SharedPrecompiledHeaders/Prefix-cbergudqihtihvdvzdmcnsqtaaby/Prefix.pch -MMD -MT dependencies -MF /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/AppDelegate.d --serialize-diagnostics /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/AppDelegate.dia -c /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/Classes/AppDelegate.cpp -o /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/AppDelegate.o
CompileC build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/HelloWorldScene.o /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/Classes/HelloWorldScene.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DUSE_FILE32API -DCC_TARGET_OS_MAC -DCOCOS2D_DEBUG=1 -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -g -Wno-sign-conversion -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/PlanesWar-desktop.hmap -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/include -I/Applications/Cocos/frameworks/cocos2d-x-3.7 -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/base -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/physics -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/math -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/2d -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/ui -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/network -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/audio/include -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/editor-support -I/Applications/Cocos/frameworks/cocos2d-x-3.7/extensions -I/Applications/Cocos/frameworks/cocos2d-x-3.7/external -I/Applications/Cocos/frameworks/cocos2d-x-3.7/external/chipmunk/include/chipmunk -I/Applications/Cocos/frameworks/cocos2d-x-3.7/cocos/platform/mac -I/Applications/Cocos/frameworks/cocos2d-x-3.7/external/glfw3/include/mac -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/DerivedSources/x86_64 -I/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/DerivedSources -F/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac -include /var/folders/zl/ss9t2hbs3s1ch0xnxbbzr8xm0000gn/C/com.apple.DeveloperTools/6.4-6E35b/Xcode/SharedPrecompiledHeaders/Prefix-cbergudqihtihvdvzdmcnsqtaaby/Prefix.pch -MMD -MT dependencies -MF /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/HelloWorldScene.d --serialize-diagnostics /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/HelloWorldScene.dia -c /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/Classes/HelloWorldScene.cpp -o /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/HelloWorldScene.o
Ld /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/MacOS/PlanesWar-desktop normal x86_64
cd /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac
export MACOSX_DEPLOYMENT_TARGET=10.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac -L/Applications/Cocos/frameworks/cocos2d-x-3.7/prebuilt/mac -F/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac -filelist /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/PlanesWar-desktop.LinkFileList -mmacosx-version-min=10.7 -stdlib=libc++ -lz -framework Security -framework IOKit -framework OpenGL -framework AppKit -framework Foundation -framework QuartzCore -framework OpenAL -framework AVFoundation -framework AudioToolbox -lcocos2d\ Mac -Xlinker -dependency_info -Xlinker /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/build/PlanesWar.build/Debug/PlanesWar-desktop.build/Objects-normal/x86_64/PlanesWar-desktop_dependency_info.dat -o /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/MacOS/PlanesWar-desktop
Undefined symbols for architecture x86_64:
"MyClassReader::getInstance()", referenced from:
HelloWorld::init() in HelloWorldScene.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld /Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac/PlanesWar-desktop.app/Contents/MacOS/PlanesWar-desktop normal x86_64
(1 failure)
Building...
running: 'xcodebuild -project "/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/proj.ios_mac/PlanesWar.xcodeproj" -configuration Debug -target "PlanesWar-desktop" CONFIGURATION_BUILD_DIR="/Users/user/Documents/Cocos2d-x/Ron/PlanesWar/bin/debug/mac"'
Build failed: Take a look at the output above for details.
cocosstudio里面运行报这个错误。xcode里运行,没有反应,谁遇到过么
我只想说麻烦死了 这个完全没有任何卵用
这个问题我也遇到了,没有解决啊,对了,那两行代码写哪里啊
Cocos 2.3还是这样实现吗?有没有改进?用Cocos Studio就是为了快捷,这个却反其道而行,真是醉的不要不要的
这方法真的是醉了,还不如直接addClickEventListener方便啊
请问 void MyClassReader::purge() 是在哪里调用?
工厂模式,一般在什么地方删除new出来的对象?

这个回调特性不支持js吧?如果是的话,未来哪个版本会支持呢?