0

自从我更新到 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> <===

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

4

1 回答 1

1

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

于 2012-09-26T22:45:18.930 回答