<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -97,9 +97,9 @@ const char* RhoGetRootPath();
  */
 - (void) configure {
 	
-#if TARGET_IPHONE_SIMULATOR	
-	bool replaceFiles = YES;
-#else
+//#if TARGET_IPHONE_SIMULATOR	
+//	bool replaceFiles = YES;
+//#else
 	NSString* bundleVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@&quot;CFBundleVersion&quot;];
 	const char* version = [bundleVersion cStringUsingEncoding:[NSString defaultCStringEncoding]];
 	char* currentVersion = rho_conf_getString(&quot;currentVersion&quot;);
@@ -108,21 +108,21 @@ const char* RhoGetRootPath();
 		replaceFiles = YES;
 	}
 	rho_conf_freeString(currentVersion);
-#endif	
+//#endif	
 	
 	[self copyFromMainBundle:@&quot;apps&quot; replace:replaceFiles];
 	[self copyFromMainBundle:@&quot;lib&quot; replace:replaceFiles];
-#if TARGET_IPHONE_SIMULATOR	
-	[self copyFromMainBundle:@&quot;db&quot; replace:NO];  //TBD: need to check db version reset db if different
-#else
+//#if TARGET_IPHONE_SIMULATOR	
+//	[self copyFromMainBundle:@&quot;db&quot; replace:NO];  //TBD: need to check db version reset db if different
+//#else
 	[self copyFromMainBundle:@&quot;db&quot; replace:replaceFiles];  //TBD: need to check db version reset db if different	
-#endif	
+//#endif	
 	if (replaceFiles) {
 		rho_logconf_Init(RhoGetRootPath());
-#ifndef TARGET_IPHONE_SIMULATOR	
-		config_setString(&quot;currentVersion&quot;, version);
-		config_save();
-#endif	
+//#ifndef TARGET_IPHONE_SIMULATOR	
+		rho_conf_setString(&quot;currentVersion&quot;, version);
+		rho_conf_save();
+//#endif	
 	}
 }
 </diff>
      <filename>platform/iphone/Classes/AppManager/AppManager.m</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,7 @@ public:
             User::Invariant();
 //            exit(-1);
         #elif defined(OS_MACOSX)
-			__assert_rtn(__func__, __FILE__, __LINE__,&quot;RhoFatalError&quot;);
+//			__assert_rtn(__func__, __FILE__, __LINE__,&quot;RhoFatalError&quot;);
         #else
             exit(-1);
         #endif</diff>
      <filename>platform/shared/common/RhoFatalError.h</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b858993b9773768f88f84d2f8c50cb42913fdf1b</id>
    </parent>
  </parents>
  <author>
    <name>lars</name>
    <email>larsburgess@gmail.com</email>
  </author>
  <url>http://github.com/rhomobile/rhodes/commit/37fd7894dd059c8d4cff31e5a8c96ac8b2825030</url>
  <id>37fd7894dd059c8d4cff31e5a8c96ac8b2825030</id>
  <committed-date>2009-06-23T09:45:19-07:00</committed-date>
  <authored-date>2009-06-23T09:45:19-07:00</authored-date>
  <message>TARGET_IPHONE_SIMULATOR is defined on device also??? Disabling this code since it no longer works in released 3.0 SDK [#741 state:resolved]</message>
  <tree>34720a2254ea48d7c60a359ce02ec959e5dac229</tree>
  <committer>
    <name>lars</name>
    <email>larsburgess@gmail.com</email>
  </committer>
</commit>
