Browse Source

Merge pull request #2226 from romulox-x/xyzFixIos

fixed ios compilation error
punto- 10 years ago
parent
commit
f697ec2fe0
1 changed files with 1 additions and 1 deletions
  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
 		// this might be necessary before here
 		for (NSString* key in [[NSBundle mainBundle] infoDictionary]) {
 		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]);
 			String ukey = String::utf8([key UTF8String]);
 
 
 			// we need a NSObject to Variant conversor
 			// we need a NSObject to Variant conversor