rhodes 2.0.0.rc1 → 2.0.0.rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. data/CHANGELOG +24 -17
  2. data/platform/android/build/android.rake +19 -1
  3. data/platform/bb/build/rhodes_build.files +1 -0
  4. data/platform/bb/rhodes/rhodes.jdp +1 -0
  5. data/platform/bb/rhodes/src/rhomobile/RhodesApplication.java +12 -0
  6. data/platform/iphone/Classes/GeoLocation/LocationController.h +1 -0
  7. data/platform/iphone/Classes/GeoLocation/LocationController.m +15 -7
  8. data/platform/iphone/Classes/Rhodes.m +6 -3
  9. data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +7 -4
  10. data/platform/iphone/Tests/Tests.xcodeproj/project.pbxproj +2 -2
  11. data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +7 -3
  12. data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +10 -3
  13. data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +5 -4
  14. data/platform/iphone/rhorunner.xcodeproj/project.pbxproj +11 -7
  15. data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +10 -5
  16. data/platform/iphone/tcmalloc/tcmalloc.xcodeproj/project.pbxproj +6 -6
  17. data/platform/shared/common/RhoFile.cpp +0 -7
  18. data/platform/shared/common/RhoPort.h +9 -2
  19. data/platform/shared/common/RhodesApp.cpp +2 -2
  20. data/platform/shared/common/stat.h +6 -0
  21. data/platform/shared/curl/lib/setup_once.h +1 -1
  22. data/platform/shared/json/json_util.c +1 -1
  23. data/platform/shared/net/CompatWince.cpp +5 -3
  24. data/platform/shared/net/CompatWince.h +2 -2
  25. data/platform/shared/net/HttpServer.cpp +11 -3
  26. data/platform/shared/ruby/dir.c +3 -1
  27. data/platform/shared/ruby/dln.c +3 -1
  28. data/platform/shared/ruby/eval_intern.h +3 -1
  29. data/platform/shared/ruby/file.c +3 -1
  30. data/platform/shared/ruby/io.c +3 -1
  31. data/platform/shared/ruby/process.c +3 -1
  32. data/platform/shared/ruby/random.c +3 -1
  33. data/platform/shared/ruby/util.c +3 -1
  34. data/platform/shared/rubyJVM/src/com/rho/RhoConf.java +4 -3
  35. data/platform/shared/rubyJVM/src/com/rho/sync/SyncEngine.java +14 -0
  36. data/platform/shared/sync/SyncEngine.cpp +13 -0
  37. data/platform/shared/sync/SyncEngine.h +1 -0
  38. data/platform/shared/unzip/unzip.cpp +3 -1
  39. data/res/generators/templates/application/rhoconfig.txt +3 -0
  40. data/rhodes.gemspec +1 -1
  41. data/spec/phone_spec/app/Spec/asynchttp_spec.rb +4 -2
  42. data/spec/phone_spec/app/Spec/controller.rb +2 -2
  43. data/spec/phone_spec/app/Spec/json_spec.rb +28 -0
  44. data/spec/phone_spec/app/Spec/rhofile_spec.rb +5 -5
  45. data/spec/phone_spec/build.yml +5 -2
  46. data/spec/phone_spec/rhoconfig.txt +5 -1
  47. metadata +4 -3
data/CHANGELOG CHANGED
@@ -1,4 +1,11 @@
1
- == 2.0.0
1
+ ## 2.0.0.rc2
2
+ * #3992192 - send_log no longer requires login
3
+ * #4028896 - iPhone crash on location init
4
+ * #4032345 - iOS 3.x build crashed on iOS 4 simulator
5
+ * iOS device build issues
6
+ * fixed compile error in BB build related to MapView
7
+
8
+ ## 2.0.0.beta1-13, 2.0.0.rc1
2
9
  * client support of sync protocol 3 with rhosync 2.0
3
10
  * partial support
4
11
  * callback calls from menu and toolbar
@@ -24,28 +31,28 @@
24
31
  * NativeBar.create now re-use WebView so no more need to call WebView.navigate
25
32
  after NativeBar.create
26
33
 
27
- == 1.5.4
34
+ ## 1.5.4
28
35
  * Fix issue #3132788 - rake clean:iphone fails
29
36
 
30
- == 1.5.3
37
+ ## 1.5.3
31
38
  * Fix issue #2980590 - iphone: call NetRequest from toolbar
32
39
  * Fix issue #3104338 - rake run:iphone doesn't install into iphone sdk 3.2
33
40
 
34
- == 1.5.2
41
+ ## 1.5.2
35
42
  * Fix AsyncHttp 'cancel request'
36
43
  * Implement #2948610 - enable AysyncHttp synchronous call
37
44
  * Implement #2950632 - BB: System.get_property('has_network')
38
45
  * Fix issue #2948834 - iPhone: ringtonemanager
39
46
  * Fix issue #2964439 - Android: build problems when no Google API add-ons installed
40
47
 
41
- == 1.5.1
48
+ ## 1.5.1
42
49
  * Fix issue #2924952 - BB Sim doesn't launch on windows 7
43
50
  * Fix issue #2931788 - iPhone: wrong refresh
44
51
  * Fix AsyncHttp 'cancel request'
45
52
  * Fix issue #2948834 - iPhone: ringtonemanager
46
53
  * Fix issue #2964439 - Android: build problems when no Google API add-ons installed
47
54
 
48
- == 1.5.0
55
+ ## 1.5.0
49
56
  * native screen resolution for iPad
50
57
  * native tab bar for android
51
58
  * support of SSL in AsyncHttp for iPhone and Android
@@ -54,7 +61,7 @@
54
61
  * native geo mapping for android
55
62
  * support of splash screen for iPhone, Android, Blackberry and Windows Mobile
56
63
 
57
- == 1.4.2
64
+ ## 1.4.2
58
65
  * Fix for BB push data
59
66
  * Fix issue #2547236 - BB map: incorrect drawing of world bounds (90N/90S, 180W/180E)
60
67
  * Fix issue #2539966 - System::get_property('platform') on Android is UNKNOWN
@@ -64,10 +71,10 @@
64
71
  * Fix issue #2561958 - iPhone map: crash in case of wrong input parameters
65
72
  * Fix issue #2581678 - Android: GPS updates does not work
66
73
 
67
- == 1.4.1
74
+ ## 1.4.1
68
75
  * fixed issue with empty cookie check failing
69
76
 
70
- == 1.4.0
77
+ ## 1.4.0
71
78
  * improved spec running framework, see spec/framework_spec for details
72
79
  * added api for returning screensize
73
80
  * improved 404/500 error page reporting
@@ -78,10 +85,10 @@
78
85
  * added crypt, openssl, digest, lang, set, fcntl, net/http(s), json, rexml extensions
79
86
  * support for RIM 5.0 JDE
80
87
 
81
- == 1.2.1
88
+ ## 1.2.1
82
89
  * Fixed issue with broken gem dependencies
83
90
 
84
- == 1.2.0
91
+ ## 1.2.0
85
92
  * Push support for RIM & iPhone
86
93
  * Improved Rhom performance by using horizontal resultset to rhom object conversion
87
94
  * Support android 1.5
@@ -90,11 +97,11 @@
90
97
  * Alert (popup) ruby API
91
98
  * DateTime Picker ruby API
92
99
 
93
- == 1.1.1
100
+ ## 1.1.1
94
101
  * #630 - handle rhoconfig.txt without newline at EOF
95
102
  * #721 - RIM save changes to DB on interrupted shutdown
96
103
 
97
- == 1.1.0
104
+ ## 1.1.0
98
105
  * Stability fixes in 1.0
99
106
  * Support HSQLDB on RIM
100
107
  * Integrated mspec framework for testing
@@ -105,10 +112,10 @@
105
112
  * remove prebuilt binaries to save space
106
113
  * iPhone OS 3.0 support w/ 2.2.1 build -> 3.0 device compatibility
107
114
 
108
- == 1.0.0
115
+ ## 1.0.0
109
116
  * Initial support for Android
110
117
 
111
- == 0.3.0 & 0.3.1
118
+ ## 0.3.0 & 0.3.1
112
119
  Major features:
113
120
  * incremental sync enhancements
114
121
  * source refresh enhancements
@@ -117,7 +124,7 @@ Major features:
117
124
  Known issues:
118
125
  * see http://rhomobile.lighthouseapp.com/projects/17413/milestones/29833-03x
119
126
 
120
- == 0.2.0
127
+ ## 0.2.0
121
128
  Major features:
122
129
  * scripted build process for all platforms
123
130
  * incremental sync
@@ -142,7 +149,7 @@ Known issues:
142
149
  * [#188] opera mini browser opens when launching on HTC Fuze (as workaround you can close manually)
143
150
  * [#166] RIM needs format on reinstall to delete database
144
151
 
145
- == 0.1.0
152
+ ## 0.1.0
146
153
  * Initial support for iPhone, RIM (v4.6), and Windows Mobile (v6)
147
154
  * Support for full sync
148
155
  * sample applications Rhosugar and RhoSiebel
@@ -462,6 +462,7 @@ namespace "build" do
462
462
  args << "-DHAVE_CONFIG_H"
463
463
  args << "-I#{srcdir}/../include"
464
464
  args << "-I#{srcdir}"
465
+ args << "-I#{$shareddir}"
465
466
 
466
467
  cc_build 'libcurl', objdir, args or exit 1
467
468
  cc_ar libname, Dir.glob(objdir + "/**/*.o") or exit 1
@@ -1064,6 +1065,19 @@ def is_device_running
1064
1065
  return false
1065
1066
  end
1066
1067
 
1068
+ def run_application (target_flag)
1069
+ args = []
1070
+ args << target_flag
1071
+ args << "shell"
1072
+ args << "am"
1073
+ args << "start"
1074
+ args << "-a"
1075
+ args << "android.intent.action.MAIN"
1076
+ args << "-n"
1077
+ args << $app_package_name + "/com.rhomobile.rhodes.Rhodes"
1078
+ Jake.run($adb, args)
1079
+ end
1080
+
1067
1081
  namespace "run" do
1068
1082
  namespace "android" do
1069
1083
  task :emulator => "device:android:debug" do
@@ -1113,11 +1127,15 @@ namespace "run" do
1113
1127
  sleep 1
1114
1128
  count += 1
1115
1129
  end
1116
- puts "Loading complete, you may now run the application" if done
1130
+
1131
+ puts "Loading complete, starting application.." if done
1132
+ run_application("-e") if done
1117
1133
  end
1118
1134
 
1119
1135
  desc "build and install on device"
1120
1136
  task :device => "device:android:install" do
1137
+ puts "Starting application..."
1138
+ run_application("-d")
1121
1139
  end
1122
1140
  end
1123
1141
 
@@ -35,5 +35,6 @@ platform\bb\rhodes\src\rhomobile\mapview\GoogleMapField.java
35
35
  platform\bb\rhodes\src\rhomobile\mapview\GoogleMapProvider.java
36
36
  platform\bb\rhodes\src\rhomobile\mapview\MapProvider.java
37
37
  platform\bb\rhodes\src\rhomobile\mapview\MapView.java
38
+ platform\bb\rhodes\src\rhomobile\mapview\MapViewParent.java
38
39
  platform\bb\rhodes\src\rhomobile\mapview\MapViewScreen.java
39
40
  platform\bb\rhodes\src\rhomobile\mapview\RhoMapField.java
@@ -59,6 +59,7 @@ src\rhomobile\mapview\GoogleMapField.java
59
59
  src\rhomobile\mapview\GoogleMapProvider.java
60
60
  src\rhomobile\mapview\MapProvider.java
61
61
  src\rhomobile\mapview\MapView.java
62
+ src\rhomobile\mapview\MapViewParent.java
62
63
  src\rhomobile\mapview\MapViewScreen.java
63
64
  src\rhomobile\mapview\RhoMapField.java
64
65
  src\rhomobile\NativeBar.java
@@ -438,6 +438,14 @@ final public class RhodesApplication extends UiApplication implements SystemList
438
438
  private static boolean m_bRubyInit = false;
439
439
  public void activate()
440
440
  {
441
+ rhodes_activate();
442
+ super.activate();
443
+ }
444
+
445
+ private boolean m_bActivate = false;
446
+ private void rhodes_activate()
447
+ {
448
+ m_bActivate = true;
441
449
  //DO NOT DO ANYTHING before doStartupWork
442
450
  doStartupWork();
443
451
  showSplashScreen();
@@ -960,6 +968,10 @@ final public class RhodesApplication extends UiApplication implements SystemList
960
968
 
961
969
  PrimaryResourceFetchThread.Create(this);
962
970
  LOG.INFO("RHODES STARTUP COMPLETED: ***----------------------------------*** " );
971
+
972
+ if ( com.rho.Capabilities.RUNAS_SERVICE && !m_bActivate &&
973
+ RhoConf.getInstance().getBool("activate_at_startup"))
974
+ rhodes_activate();
963
975
  }catch(Exception exc)
964
976
  {
965
977
  LOG.ERROR("doStartupWork failed", exc);
@@ -22,6 +22,7 @@
22
22
  @property (nonatomic, retain) CLLocationManager *_locationManager;
23
23
  @property (assign) SEL onUpdateLocation;
24
24
 
25
+ - (void) initLocationManager;
25
26
  - (void) stop;
26
27
 
27
28
  - (double) getLatitude;
@@ -23,13 +23,13 @@ static void _TimerCallBack(CFRunLoopTimerRef timer, void* context);
23
23
  // This is a singleton class, see below
24
24
  static LocationController *sharedLC = nil;
25
25
 
26
- @interface LocationControllerInit : NSObject {}
26
+ @interface LocationManagerInit : NSObject {}
27
27
  + (void)run;
28
28
  @end
29
29
 
30
- @implementation LocationControllerInit
30
+ @implementation LocationManagerInit
31
31
  + (void)run {
32
- [[LocationController alloc] init]; // assignment not done here
32
+ [[LocationController sharedInstance] initLocationManager];
33
33
  }
34
34
  @end
35
35
 
@@ -40,6 +40,8 @@ static LocationController *sharedLC = nil;
40
40
  @synthesize onUpdateLocation;
41
41
 
42
42
  - (bool)update{
43
+ if (!_locationManager)
44
+ return false;
43
45
  if (!_locationManager.locationServicesEnabled) {
44
46
  return false;
45
47
  }
@@ -67,12 +69,16 @@ static LocationController *sharedLC = nil;
67
69
  [self update];
68
70
  }
69
71
 
72
+ - (void) initLocationManager {
73
+ self._locationManager = [[[CLLocationManager alloc] init] autorelease];
74
+ self._locationManager.desiredAccuracy = kCLLocationAccuracyBest;
75
+ self._locationManager.delegate = self; // Tells the location manager to send updates to this object
76
+ }
77
+
70
78
  - (id) init {
71
79
  self = [super init];
72
80
  if (self != nil) {
73
- self._locationManager = [[[CLLocationManager alloc] init] autorelease];
74
- self._locationManager.desiredAccuracy = kCLLocationAccuracyBest;
75
- self._locationManager.delegate = self; // Tells the location manager to send updates to this object
81
+ [Rhodes performOnUiThread:[LocationManagerInit class] wait:NO];
76
82
 
77
83
  self.onUpdateLocation = @selector(doUpdateLocation);
78
84
  _dLatitude = 0;
@@ -87,6 +93,8 @@ static LocationController *sharedLC = nil;
87
93
  }
88
94
 
89
95
  - (void) stop {
96
+ if (!_locationManager)
97
+ return;
90
98
  [_locationManager stopUpdatingLocation];
91
99
 
92
100
  // Get rid of the timer, if it still exists
@@ -166,7 +174,7 @@ static LocationController *sharedLC = nil;
166
174
  + (LocationController *)sharedInstance {
167
175
  @synchronized(self) {
168
176
  if (sharedLC == nil) {
169
- [Rhodes performOnUiThread:[LocationControllerInit class] wait:NO];
177
+ [[LocationController alloc] init]; // assignment not done here
170
178
  }
171
179
  }
172
180
  return sharedLC;
@@ -201,15 +201,18 @@ static Rhodes *instance = NULL;
201
201
  // Show picker
202
202
  #ifdef __IPHONE_3_2
203
203
  if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
204
- UIPopoverController *popover = [[UIPopoverController alloc] initWithContentViewController:picker];
205
- popover.delegate = delegateObject;
204
+ // WARNING!!! DO NOT USE UIPopoverController DIRECTLY HERE!!!
205
+ // It will cause problem of starting application on iPhone OS < 3.2
206
+ // All such stuff should be loaded in runtime using NSClassFromString
207
+ id popover = [[NSClassFromString(@"UIPopoverController") alloc] initWithContentViewController:picker];
208
+ [popover setDelegate:delegateObject];
206
209
  delegateObject->popover = popover;
207
210
  CGRect rect = [[[self mainView] view] frame];
208
211
  rect.origin.x += rect.size.width/4;
209
212
  rect.origin.y += rect.size.height/4;
210
213
  rect.size.width /= 2;
211
214
  rect.size.height /= 2;
212
- popover.popoverContentSize = CGSizeMake(CGRectGetWidth(rect), CGRectGetHeight(rect));
215
+ [popover setPopoverContentSize:CGSizeMake(CGRectGetWidth(rect), CGRectGetHeight(rect))];
213
216
  [popover presentPopoverFromRect:rect inView:[[self mainView] view] permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
214
217
  }
215
218
  else
@@ -427,7 +427,7 @@
427
427
  "-fvisibility=hidden",
428
428
  );
429
429
  PRODUCT_NAME = rholib;
430
- SDKROOT = iphonesimulator2.2.1;
430
+ SDKROOT = iphonesimulator3.2;
431
431
  SYMROOT = ../build;
432
432
  USER_HEADER_SEARCH_PATHS = "../../shared/curl/include ../../shared";
433
433
  };
@@ -447,7 +447,7 @@
447
447
  "-fvisibility=hidden",
448
448
  );
449
449
  PRODUCT_NAME = rholib;
450
- SDKROOT = iphoneos2.2.1;
450
+ SDKROOT = iphoneos3.2;
451
451
  SYMROOT = ../build;
452
452
  USER_HEADER_SEARCH_PATHS = "../../shared/curl/include ../../shared";
453
453
  };
@@ -461,9 +461,10 @@
461
461
  GCC_OPTIMIZATION_LEVEL = 0;
462
462
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
463
463
  GCC_WARN_UNUSED_VARIABLE = YES;
464
+ HEADER_SEARCH_PATHS = ../../shared;
464
465
  ONLY_ACTIVE_ARCH = YES;
465
466
  PREBINDING = NO;
466
- SDKROOT = iphonesimulator3.0;
467
+ SDKROOT = iphonesimulator3.2;
467
468
  };
468
469
  name = Debug;
469
470
  };
@@ -474,6 +475,7 @@
474
475
  GCC_C_LANGUAGE_STANDARD = c99;
475
476
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
476
477
  GCC_WARN_UNUSED_VARIABLE = YES;
478
+ HEADER_SEARCH_PATHS = ../../shared;
477
479
  PREBINDING = NO;
478
480
  SDKROOT = macosx10.5;
479
481
  };
@@ -486,6 +488,7 @@
486
488
  GCC_C_LANGUAGE_STANDARD = c99;
487
489
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
488
490
  GCC_WARN_UNUSED_VARIABLE = YES;
491
+ HEADER_SEARCH_PATHS = ../../shared;
489
492
  PREBINDING = NO;
490
493
  SDKROOT = macosx10.5;
491
494
  };
@@ -505,7 +508,7 @@
505
508
  "-fvisibility=hidden",
506
509
  );
507
510
  PRODUCT_NAME = rholib;
508
- SDKROOT = iphoneos2.2.1;
511
+ SDKROOT = iphoneos3.2;
509
512
  SYMROOT = ../build;
510
513
  USER_HEADER_SEARCH_PATHS = "../../shared/curl/include ../../shared";
511
514
  };
@@ -420,7 +420,7 @@
420
420
  "-lrhosynclib",
421
421
  );
422
422
  PRODUCT_NAME = Tests;
423
- SDKROOT = iphonesimulator2.2.1;
423
+ SDKROOT = iphonesimulator3.2;
424
424
  SYMROOT = ../build;
425
425
  USER_HEADER_SEARCH_PATHS = "../../shared/ ../../shared/syncengine ../../shared/logging ../../shared/common ../../shared/test/gtest/include ../../shared/test/gtest ../../shared/test";
426
426
  };
@@ -448,7 +448,7 @@
448
448
  GCC_WARN_UNUSED_VARIABLE = YES;
449
449
  ONLY_ACTIVE_ARCH = NO;
450
450
  PREBINDING = NO;
451
- SDKROOT = iphonesimulator2.2.1;
451
+ SDKROOT = iphonesimulator3.2;
452
452
  };
453
453
  name = Debug;
454
454
  };
@@ -750,12 +750,13 @@
750
750
  GCC_MODEL_TUNING = G5;
751
751
  GCC_OPTIMIZATION_LEVEL = 0;
752
752
  INSTALL_PATH = /usr/local/lib;
753
+ ONLY_ACTIVE_ARCH = YES;
753
754
  OTHER_CFLAGS = (
754
755
  "-DHAVE_CONFIG_H",
755
756
  "-DUSE_RHOSSL",
756
757
  );
757
758
  PRODUCT_NAME = curl;
758
- SDKROOT = iphonesimulator2.2.1;
759
+ SDKROOT = iphonesimulator3.2;
759
760
  SYMROOT = ../build;
760
761
  };
761
762
  name = Debug;
@@ -773,7 +774,7 @@
773
774
  "-DUSE_RHOSSL",
774
775
  );
775
776
  PRODUCT_NAME = curl;
776
- SDKROOT = iphoneos2.2.1;
777
+ SDKROOT = iphoneos3.2;
777
778
  SYMROOT = ../build;
778
779
  };
779
780
  name = Release;
@@ -786,6 +787,7 @@
786
787
  GCC_OPTIMIZATION_LEVEL = 0;
787
788
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
788
789
  GCC_WARN_UNUSED_VARIABLE = YES;
790
+ HEADER_SEARCH_PATHS = ../../shared;
789
791
  ONLY_ACTIVE_ARCH = YES;
790
792
  PREBINDING = NO;
791
793
  SDKROOT = macosx10.5;
@@ -799,6 +801,7 @@
799
801
  GCC_C_LANGUAGE_STANDARD = c99;
800
802
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
801
803
  GCC_WARN_UNUSED_VARIABLE = YES;
804
+ HEADER_SEARCH_PATHS = ../../shared;
802
805
  PREBINDING = NO;
803
806
  SDKROOT = macosx10.5;
804
807
  };
@@ -811,6 +814,7 @@
811
814
  GCC_C_LANGUAGE_STANDARD = c99;
812
815
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
813
816
  GCC_WARN_UNUSED_VARIABLE = YES;
817
+ HEADER_SEARCH_PATHS = ../../shared;
814
818
  PREBINDING = NO;
815
819
  SDKROOT = macosx10.5;
816
820
  };
@@ -829,7 +833,7 @@
829
833
  "-DUSE_RHOSSL",
830
834
  );
831
835
  PRODUCT_NAME = curl;
832
- SDKROOT = iphoneos2.2.1;
836
+ SDKROOT = iphoneos3.2;
833
837
  SYMROOT = ../build;
834
838
  };
835
839
  name = Distribution;
@@ -158,7 +158,9 @@
158
158
  GCC_PREFIX_HEADER = rhoextlib_Prefix.pch;
159
159
  GCC_VERSION = "";
160
160
  INSTALL_PATH = /usr/local/lib;
161
+ ONLY_ACTIVE_ARCH = YES;
161
162
  PRODUCT_NAME = rhoextlib;
163
+ SDKROOT = iphonesimulator3.2;
162
164
  TARGETED_DEVICE_FAMILY = "1,2";
163
165
  };
164
166
  name = Debug;
@@ -174,7 +176,9 @@
174
176
  GCC_PREFIX_HEADER = rhoextlib_Prefix.pch;
175
177
  GCC_VERSION = "";
176
178
  INSTALL_PATH = /usr/local/lib;
179
+ ONLY_ACTIVE_ARCH = YES;
177
180
  PRODUCT_NAME = rhoextlib;
181
+ SDKROOT = iphoneos3.2;
178
182
  TARGETED_DEVICE_FAMILY = "1,2";
179
183
  };
180
184
  name = Release;
@@ -188,9 +192,10 @@
188
192
  GCC_VERSION = 4.0;
189
193
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
190
194
  GCC_WARN_UNUSED_VARIABLE = YES;
195
+ HEADER_SEARCH_PATHS = ../../shared;
191
196
  OTHER_LDFLAGS = "-ObjC";
192
197
  PREBINDING = NO;
193
- SDKROOT = iphonesimulator3.0;
198
+ SDKROOT = iphonesimulator3.2;
194
199
  SYMROOT = ../build;
195
200
  USER_HEADER_SEARCH_PATHS = "../../shared/ ../../shared/syncengine ../../shared/logging ../../shared/common ../../shared/ruby ../../shared/ruby/include ../../shared/ruby/iphone";
196
201
  };
@@ -204,9 +209,10 @@
204
209
  GCC_VERSION = 4.0;
205
210
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
206
211
  GCC_WARN_UNUSED_VARIABLE = YES;
212
+ HEADER_SEARCH_PATHS = ../../shared;
207
213
  OTHER_LDFLAGS = "-ObjC";
208
214
  PREBINDING = NO;
209
- SDKROOT = iphonesimulator2.2.1;
215
+ SDKROOT = iphonesimulator3.2;
210
216
  SYMROOT = ../build;
211
217
  USER_HEADER_SEARCH_PATHS = "../../shared/ ../../shared/syncengine ../../shared/logging ../../shared/common ../../shared/ruby ../../shared/ruby/include ../../shared/ruby/iphone";
212
218
  };
@@ -220,9 +226,10 @@
220
226
  GCC_VERSION = 4.0;
221
227
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
222
228
  GCC_WARN_UNUSED_VARIABLE = YES;
229
+ HEADER_SEARCH_PATHS = ../../shared;
223
230
  OTHER_LDFLAGS = "-ObjC";
224
231
  PREBINDING = NO;
225
- SDKROOT = iphonesimulator2.2.1;
232
+ SDKROOT = iphonesimulator3.2;
226
233
  SYMROOT = ../build;
227
234
  USER_HEADER_SEARCH_PATHS = "../../shared/ ../../shared/syncengine ../../shared/logging ../../shared/common ../../shared/ruby ../../shared/ruby/include ../../shared/ruby/iphone";
228
235
  };
@@ -768,8 +768,9 @@
768
768
  ../../shared,
769
769
  );
770
770
  INSTALL_PATH = /usr/local/lib;
771
+ ONLY_ACTIVE_ARCH = YES;
771
772
  PRODUCT_NAME = rhorubylib;
772
- SDKROOT = macosx10.5;
773
+ SDKROOT = iphonesimulator3.2;
773
774
  SYMROOT = ../build;
774
775
  };
775
776
  name = Debug;
@@ -790,7 +791,7 @@
790
791
  INSTALL_PATH = /usr/local/lib;
791
792
  ONLY_ACTIVE_ARCH = YES;
792
793
  PRODUCT_NAME = rhorubylib;
793
- SDKROOT = iphoneos2.2.1;
794
+ SDKROOT = iphoneos3.2;
794
795
  SYMROOT = ../build;
795
796
  };
796
797
  name = Release;
@@ -805,7 +806,7 @@
805
806
  GCC_WARN_UNUSED_VARIABLE = YES;
806
807
  ONLY_ACTIVE_ARCH = YES;
807
808
  PREBINDING = NO;
808
- SDKROOT = iphonesimulator3.0;
809
+ SDKROOT = iphonesimulator3.2;
809
810
  SYMROOT = ../build;
810
811
  };
811
812
  name = Debug;
@@ -852,7 +853,7 @@
852
853
  INSTALL_PATH = /usr/local/lib;
853
854
  ONLY_ACTIVE_ARCH = YES;
854
855
  PRODUCT_NAME = rhorubylib;
855
- SDKROOT = iphoneos2.2.1;
856
+ SDKROOT = iphoneos3.2;
856
857
  SYMROOT = ../build;
857
858
  };
858
859
  name = Distribution;
@@ -839,7 +839,7 @@
839
839
  PRODUCT_NAME = rhorunner;
840
840
  PROVISIONING_PROFILE = "";
841
841
  "PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
842
- SDKROOT = iphoneos3.0;
842
+ SDKROOT = iphonesimulator3.2;
843
843
  STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = dynamic;
844
844
  TARGETED_DEVICE_FAMILY = "1,2";
845
845
  USER_HEADER_SEARCH_PATHS = "../shared/curl/include ../shared/ ../shared/syncengine ../shared/logging ../shared/common rhoextlib";
@@ -850,6 +850,7 @@
850
850
  isa = XCBuildConfiguration;
851
851
  buildSettings = {
852
852
  ALWAYS_SEARCH_USER_PATHS = NO;
853
+ CODE_SIGN_ENTITLEMENTS = Entitlements.plist;
853
854
  CODE_SIGN_IDENTITY = "Don't Code Sign";
854
855
  "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Don't Code Sign";
855
856
  COPY_PHASE_STRIP = YES;
@@ -862,7 +863,7 @@
862
863
  LIBRARY_SEARCH_PATHS = (
863
864
  "$(inherited)",
864
865
  "$(SRCROOT)",
865
- "$(SRCROOT)/build/Debug-iphonesimulator",
866
+ "$(SRCROOT)/build/Release-iphoneos",
866
867
  );
867
868
  ONLY_ACTIVE_ARCH = YES;
868
869
  OTHER_CFLAGS = "";
@@ -881,7 +882,7 @@
881
882
  "$(EXTENSIONS_LDFLAGS)",
882
883
  );
883
884
  PRODUCT_NAME = rhorunner;
884
- SDKROOT = iphoneos2.2.1;
885
+ SDKROOT = iphoneos3.2;
885
886
  TARGETED_DEVICE_FAMILY = "1,2";
886
887
  USER_HEADER_SEARCH_PATHS = "../shared/curl/include ../shared/ ../shared/syncengine ../shared/logging ../shared/common rhoextlib";
887
888
  };
@@ -896,6 +897,7 @@
896
897
  GCC_C_LANGUAGE_STANDARD = c99;
897
898
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
898
899
  GCC_WARN_UNUSED_VARIABLE = YES;
900
+ HEADER_SEARCH_PATHS = ../shared;
899
901
  "OTHER_LDFLAGS[sdk=iphoneos*][arch=*]" = (
900
902
  "-framework",
901
903
  CFNetwork,
@@ -960,7 +962,7 @@
960
962
  );
961
963
  PREBINDING = NO;
962
964
  "PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
963
- SDKROOT = iphoneos2.0;
965
+ SDKROOT = iphoneos3.2;
964
966
  USER_HEADER_SEARCH_PATHS = "../shared/ ../shared/syncengine ../shared/logging ../shared/common rhoextlib";
965
967
  };
966
968
  name = Distribution;
@@ -1027,7 +1029,7 @@
1027
1029
  "$(EXTENSIONS_LDFLAGS)",
1028
1030
  );
1029
1031
  PRODUCT_NAME = rhorunner;
1030
- SDKROOT = iphoneos2.2.1;
1032
+ SDKROOT = iphoneos3.2;
1031
1033
  TARGETED_DEVICE_FAMILY = "1,2";
1032
1034
  USER_HEADER_SEARCH_PATHS = "../shared/curl/include ../shared/ ../shared/syncengine ../shared/logging ../shared/common rhoextlib";
1033
1035
  };
@@ -1044,6 +1046,7 @@
1044
1046
  GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
1045
1047
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
1046
1048
  GCC_WARN_UNUSED_VARIABLE = YES;
1049
+ HEADER_SEARCH_PATHS = ../shared;
1047
1050
  IBC_FLATTEN_NIBS = YES;
1048
1051
  ONLY_ACTIVE_ARCH = YES;
1049
1052
  "OTHER_LDFLAGS[sdk=iphoneos*][arch=*]" = (
@@ -1063,7 +1066,7 @@
1063
1066
  PREBINDING = NO;
1064
1067
  PROVISIONING_PROFILE = "";
1065
1068
  "PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
1066
- SDKROOT = iphonesimulator3.0;
1069
+ SDKROOT = iphonesimulator3.2;
1067
1070
  STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = dynamic;
1068
1071
  SYMROOT = build;
1069
1072
  USER_HEADER_SEARCH_PATHS = "../shared/ ../shared/syncengine ../shared/logging ../shared/common rhoextlib";
@@ -1078,6 +1081,7 @@
1078
1081
  GCC_C_LANGUAGE_STANDARD = c99;
1079
1082
  GCC_WARN_ABOUT_RETURN_TYPE = YES;
1080
1083
  GCC_WARN_UNUSED_VARIABLE = YES;
1084
+ HEADER_SEARCH_PATHS = ../shared;
1081
1085
  "OTHER_LDFLAGS[sdk=iphoneos*][arch=*]" = (
1082
1086
  "-framework",
1083
1087
  CFNetwork,
@@ -1098,7 +1102,7 @@
1098
1102
  );
1099
1103
  PREBINDING = NO;
1100
1104
  "PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
1101
- SDKROOT = iphoneos2.0;
1105
+ SDKROOT = iphoneos3.2;
1102
1106
  USER_HEADER_SEARCH_PATHS = "../shared/ ../shared/syncengine ../shared/logging ../shared/common rhoextlib";
1103
1107
  };
1104
1108
  name = Release;