浏览代码

fixed ios compilation error

romulox_x 10 年之前
父节点
当前提交
1d22b0265b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform/iphone/app_delegate.mm

+ 1 - 1
platform/iphone/app_delegate.mm

@@ -140,7 +140,7 @@ static int frame_count = 0;
 
 		// this might be necessary before here
 		for (NSString* key in [[NSBundle mainBundle] infoDictionary]) {
-			NSObject* value = [xyz objectForKey:key];
+			NSObject* value = [[[NSBundle mainBundle] infoDictionary] objectForKey:key];
 			String ukey = String::utf8([key UTF8String]);
 
 			// we need a NSObject to Variant conversor