ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftbase.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftinit.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftglyph.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftstroke.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftbitmap.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftsystem.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(autofit.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(bdf.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(cff.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(raster.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(smooth.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftf.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(pcf.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(pfr.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(psaux.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(pshinter.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(psnames.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(sfnt.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(type1.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(type1cid.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(type42.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(truetype.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(winfnt.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftgzip.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
ld: warning: object file (/Users/zhangjian/Library/Developer/Xcode/DerivedData/test-djhqkjrawfiwlhbedrotjsmahnik/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftlzw.ios8_x86_64.o)) was built for newer iOS version (7.0) than being linked (6.0)
Undefined symbols for architecture x86_64:
“creator::CreatorReader::createWithFilename(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)”, referenced from:
AppDelegate::applicationDidFinishLaunching() in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
是对应方法没被编译,你只加了头文件,cpp也要加到Xcode中,这样定义才会被编译
1赞
或者我理解错误了么= =!