Kobold2d 2.0.4警告

时间:2012-09-26 22:43:20

标签: cocos2d-iphone kobold2d

自从我更新到Kobold2d 2.0.4后,我一直在控制台中收到这些警告。

2012-09-26 16:36:00.455 KTireHoops-iOS[14583:c07] ===> WARNING: property setter 'setAutorotationType:' not defined in target: <KKStartupConfig: 0x1047efe0> <===
2012-09-26 16:36:00.455 KTireHoops-iOS[14583:c07] ===> WARNING: property setter 'setDeviceOrientation:' not defined in target: <KKStartupConfig: 0x1047efe0> <===
2012-09-26 16:36:00.456 KTireHoops-iOS[14583:c07] ===> WARNING: property setter 'setShouldAutorotateToLandscapeOrientations:' not defined in target: <KKStartupConfig: 0x1047efe0> <===
2012-09-26 16:36:00.456 KTireHoops-iOS[14583:c07] ===> WARNING: property setter 'setAllowAutorotateOnFirstAndSecondGenerationDevices:' not defined in target: <KKStartupConfig: 0x1047efe0> <===
2012-09-26 16:36:00.456 KTireHoops-iOS[14583:c07] ===> WARNING: property setter 'setShouldAutorotateToPortraitOrientations:' not defined in target: <KKStartupConfig: 0x1047efe0> <===
2012-09-26 16:36:00.457 KTireHoops-iOS[14583:c07] ===> WARNING: property setter 'setDirectorTypeFallback:' not defined in target: <KKStartupConfig: 0x1047efe0> <===
2012-09-26 16:36:00.547 KTireHoops-iOS[14583:c07] ===> WARNING: property setter 'setWindowFrame:' not defined in target: <KKStartupConfig: 0x1047efe0> <===
2012-09-26 16:36:00.548 KTireHoops-iOS[14583:c07] ===> WARNING: property setter 'setDirectorType:' not defined in target: <KKStartupConfig: 0x1047efe0> <===

这些是我需要解决的问题还是我可以忽略它们?

1 个答案:

答案 0 :(得分:1)

从Kobold2D v1.x升级到v2.x时,这些是config.lua中已弃用的属性。您可以忽略它们,或者只是从config.lua中删除相应的条目。