Browse Source

Fixed ios crash on startup

Arnaud Vergnet 1 year ago
parent
commit
bbd4b5c9b4
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      ios/Campus.xcodeproj/project.pbxproj
  2. 1
    1
      ios/Campus/AppDelegate.m

+ 2
- 2
ios/Campus.xcodeproj/project.pbxproj View File

@@ -323,7 +323,7 @@
323 323
 				CODE_SIGN_ENTITLEMENTS = Campus/application.entitlements;
324 324
 				CODE_SIGN_IDENTITY = "Apple Development";
325 325
 				CODE_SIGN_STYLE = Automatic;
326
-				CURRENT_PROJECT_VERSION = 1;
326
+				CURRENT_PROJECT_VERSION = 4;
327 327
 				DEAD_CODE_STRIPPING = NO;
328 328
 				DEVELOPMENT_TEAM = 6JA7CLNUV6;
329 329
 				INFOPLIST_FILE = Campus/Info.plist;
@@ -349,7 +349,7 @@
349 349
 				CODE_SIGN_ENTITLEMENTS = Campus/application.entitlements;
350 350
 				CODE_SIGN_IDENTITY = "Apple Development";
351 351
 				CODE_SIGN_STYLE = Automatic;
352
-				CURRENT_PROJECT_VERSION = 1;
352
+				CURRENT_PROJECT_VERSION = 4;
353 353
 				DEVELOPMENT_TEAM = 6JA7CLNUV6;
354 354
 				INFOPLIST_FILE = Campus/Info.plist;
355 355
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

+ 1
- 1
ios/Campus/AppDelegate.m View File

@@ -51,7 +51,7 @@ static void InitializeFlipper(UIApplication *application) {
51 51
   #endif
52 52
 
53 53
   RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
54
-  RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"main" initialProperties:nil];
54
+  RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"Campus" initialProperties:nil];
55 55
   rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
56 56
 
57 57
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

Loading…
Cancel
Save