Browse Source

Fixed ios crash on startup

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

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

51
   #endif
51
   #endif
52
 
52
 
53
   RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
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
   rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
55
   rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
56
 
56
 
57
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
57
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

Loading…
Cancel
Save