Browse Source

fixed build crash

Arnaud Vergnet 4 years ago
parent
commit
2d9eed6d95

+ 17
- 7
ios/Campus.xcodeproj/project.pbxproj View File

7
 	objects = {
7
 	objects = {
8
 
8
 
9
 /* Begin PBXBuildFile section */
9
 /* Begin PBXBuildFile section */
10
-		0731D3B824204D62009CAE85 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 0731D3B524204D62009CAE85 /* Expo.plist */; };
11
 		074F4BDC2432833400BDB9FE /* app.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 07C2E6E4243282B30028AF0A /* app.bundle */; };
10
 		074F4BDC2432833400BDB9FE /* app.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 07C2E6E4243282B30028AF0A /* app.bundle */; };
12
 		074F4BDD2432833400BDB9FE /* app.manifest in Resources */ = {isa = PBXBuildFile; fileRef = 07C2E6E3243282B30028AF0A /* app.manifest */; };
11
 		074F4BDD2432833400BDB9FE /* app.manifest in Resources */ = {isa = PBXBuildFile; fileRef = 07C2E6E3243282B30028AF0A /* app.manifest */; };
13
 		13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
12
 		13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
19
 
18
 
20
 /* Begin PBXFileReference section */
19
 /* Begin PBXFileReference section */
21
 		008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
20
 		008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
22
-		0731D3B524204D62009CAE85 /* Expo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Expo.plist; path = Campus/Supporting/Expo.plist; sourceTree = "<group>"; };
23
 		07C2E6E3243282B30028AF0A /* app.manifest */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = app.manifest; path = Campus/Supporting/app.manifest; sourceTree = "<group>"; };
21
 		07C2E6E3243282B30028AF0A /* app.manifest */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = app.manifest; path = Campus/Supporting/app.manifest; sourceTree = "<group>"; };
24
 		07C2E6E4243282B30028AF0A /* app.bundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = app.bundle; path = Campus/Supporting/app.bundle; sourceTree = "<group>"; };
22
 		07C2E6E4243282B30028AF0A /* app.bundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = app.bundle; path = Campus/Supporting/app.bundle; sourceTree = "<group>"; };
25
-		13B07F961A680F5B00A75B9A /* Campus.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; name = Campus.app; path = application.app; sourceTree = BUILT_PRODUCTS_DIR; };
23
+		13B07F961A680F5B00A75B9A /* application.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = application.app; sourceTree = BUILT_PRODUCTS_DIR; };
26
 		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Campus/AppDelegate.h; sourceTree = "<group>"; };
24
 		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Campus/AppDelegate.h; sourceTree = "<group>"; };
27
 		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Campus/AppDelegate.m; sourceTree = "<group>"; };
25
 		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Campus/AppDelegate.m; sourceTree = "<group>"; };
28
 		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
26
 		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
59
 				13B07FB61A68108700A75B9A /* Info.plist */,
57
 				13B07FB61A68108700A75B9A /* Info.plist */,
60
 				13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
58
 				13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
61
 				13B07FB71A68108700A75B9A /* main.m */,
59
 				13B07FB71A68108700A75B9A /* main.m */,
62
-				0731D3B524204D62009CAE85 /* Expo.plist */,
63
 				07C2E6E4243282B30028AF0A /* app.bundle */,
60
 				07C2E6E4243282B30028AF0A /* app.bundle */,
64
 				07C2E6E3243282B30028AF0A /* app.manifest */,
61
 				07C2E6E3243282B30028AF0A /* app.manifest */,
65
 			);
62
 			);
110
 		83CBBA001A601CBA00E9B192 /* Products */ = {
107
 		83CBBA001A601CBA00E9B192 /* Products */ = {
111
 			isa = PBXGroup;
108
 			isa = PBXGroup;
112
 			children = (
109
 			children = (
113
-				13B07F961A680F5B00A75B9A /* Campus.app */,
110
+				13B07F961A680F5B00A75B9A /* application.app */,
114
 			);
111
 			);
115
 			name = Products;
112
 			name = Products;
116
 			sourceTree = "<group>";
113
 			sourceTree = "<group>";
135
 			);
132
 			);
136
 			name = Campus;
133
 			name = Campus;
137
 			productName = "Hello World";
134
 			productName = "Hello World";
138
-			productReference = 13B07F961A680F5B00A75B9A /* Campus.app */;
135
+			productReference = 13B07F961A680F5B00A75B9A /* application.app */;
139
 			productType = "com.apple.product-type.application";
136
 			productType = "com.apple.product-type.application";
140
 		};
137
 		};
141
 /* End PBXNativeTarget section */
138
 /* End PBXNativeTarget section */
146
 			attributes = {
143
 			attributes = {
147
 				LastUpgradeCheck = 940;
144
 				LastUpgradeCheck = 940;
148
 				ORGANIZATIONNAME = Facebook;
145
 				ORGANIZATIONNAME = Facebook;
146
+				TargetAttributes = {
147
+					13B07F861A680F5B00A75B9A = {
148
+						DevelopmentTeam = 6JA7CLNUV6;
149
+						ProvisioningStyle = Manual;
150
+					};
151
+				};
149
 			};
152
 			};
150
 			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Campus" */;
153
 			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Campus" */;
151
 			compatibilityVersion = "Xcode 3.2";
154
 			compatibilityVersion = "Xcode 3.2";
173
 			files = (
176
 			files = (
174
 				074F4BDC2432833400BDB9FE /* app.bundle in Resources */,
177
 				074F4BDC2432833400BDB9FE /* app.bundle in Resources */,
175
 				074F4BDD2432833400BDB9FE /* app.manifest in Resources */,
178
 				074F4BDD2432833400BDB9FE /* app.manifest in Resources */,
176
-				0731D3B824204D62009CAE85 /* Expo.plist in Resources */,
177
 				13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
179
 				13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
178
 				13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
180
 				13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
179
 			);
181
 			);
270
 			buildSettings = {
272
 			buildSettings = {
271
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
273
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
272
 				CODE_SIGN_ENTITLEMENTS = Campus/application.entitlements;
274
 				CODE_SIGN_ENTITLEMENTS = Campus/application.entitlements;
275
+				CODE_SIGN_IDENTITY = "iPhone Distribution";
276
+				CODE_SIGN_STYLE = Manual;
273
 				CURRENT_PROJECT_VERSION = 1;
277
 				CURRENT_PROJECT_VERSION = 1;
274
 				DEAD_CODE_STRIPPING = NO;
278
 				DEAD_CODE_STRIPPING = NO;
279
+				DEVELOPMENT_TEAM = 6JA7CLNUV6;
275
 				INFOPLIST_FILE = Campus/Info.plist;
280
 				INFOPLIST_FILE = Campus/Info.plist;
276
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
281
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
277
 				OTHER_LDFLAGS = (
282
 				OTHER_LDFLAGS = (
281
 				);
286
 				);
282
 				PRODUCT_BUNDLE_IDENTIFIER = fr.amicaleinsat.application;
287
 				PRODUCT_BUNDLE_IDENTIFIER = fr.amicaleinsat.application;
283
 				PRODUCT_NAME = application;
288
 				PRODUCT_NAME = application;
289
+				PROVISIONING_PROFILE_SPECIFIER = "fr.amicaleinsat.application AppStore";
284
 				VERSIONING_SYSTEM = "apple-generic";
290
 				VERSIONING_SYSTEM = "apple-generic";
285
 			};
291
 			};
286
 			name = Debug;
292
 			name = Debug;
291
 			buildSettings = {
297
 			buildSettings = {
292
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
298
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
293
 				CODE_SIGN_ENTITLEMENTS = Campus/application.entitlements;
299
 				CODE_SIGN_ENTITLEMENTS = Campus/application.entitlements;
300
+				CODE_SIGN_IDENTITY = "iPhone Distribution";
301
+				CODE_SIGN_STYLE = Manual;
294
 				CURRENT_PROJECT_VERSION = 1;
302
 				CURRENT_PROJECT_VERSION = 1;
303
+				DEVELOPMENT_TEAM = 6JA7CLNUV6;
295
 				INFOPLIST_FILE = Campus/Info.plist;
304
 				INFOPLIST_FILE = Campus/Info.plist;
296
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
305
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
297
 				OTHER_LDFLAGS = (
306
 				OTHER_LDFLAGS = (
301
 				);
310
 				);
302
 				PRODUCT_BUNDLE_IDENTIFIER = fr.amicaleinsat.application;
311
 				PRODUCT_BUNDLE_IDENTIFIER = fr.amicaleinsat.application;
303
 				PRODUCT_NAME = application;
312
 				PRODUCT_NAME = application;
313
+				PROVISIONING_PROFILE_SPECIFIER = "fr.amicaleinsat.application AppStore";
304
 				VERSIONING_SYSTEM = "apple-generic";
314
 				VERSIONING_SYSTEM = "apple-generic";
305
 			};
315
 			};
306
 			name = Release;
316
 			name = Release;

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

22
 {
22
 {
23
   self.moduleRegistryAdapter = [[UMModuleRegistryAdapter alloc] initWithModuleRegistryProvider:[[UMModuleRegistryProvider alloc] init]];
23
   self.moduleRegistryAdapter = [[UMModuleRegistryAdapter alloc] initWithModuleRegistryProvider:[[UMModuleRegistryProvider alloc] init]];
24
 
24
 
25
-  RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:self.launchOptions];
25
+  RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
26
   RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"main" initialProperties:nil];
26
   RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"main" initialProperties:nil];
27
   rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
27
   rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
28
 
28
 

+ 8
- 7
ios/Campus/Base.lproj/LaunchScreen.xib View File

1
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES">
3
+    <device id="retina5_5" orientation="portrait" appearance="light"/>
3
     <dependencies>
4
     <dependencies>
4
         <deployment identifier="iOS"/>
5
         <deployment identifier="iOS"/>
5
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
6
-        <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
6
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
7
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
7
     </dependencies>
8
     </dependencies>
8
     <objects>
9
     <objects>
9
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
10
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
12
             <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
13
             <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
13
             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
14
             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
14
             <subviews>
15
             <subviews>
15
-                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
16
+                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
16
                     <rect key="frame" x="20" y="439" width="441" height="21"/>
17
                     <rect key="frame" x="20" y="439" width="441" height="21"/>
17
                     <fontDescription key="fontDescription" type="system" pointSize="17"/>
18
                     <fontDescription key="fontDescription" type="system" pointSize="17"/>
18
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
19
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
19
                     <nil key="highlightedColor"/>
20
                     <nil key="highlightedColor"/>
20
                 </label>
21
                 </label>
21
-                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Campus" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
22
+                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="Campus" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
22
                     <rect key="frame" x="20" y="140" width="441" height="43"/>
23
                     <rect key="frame" x="20" y="140" width="441" height="43"/>
23
                     <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
24
                     <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
24
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
25
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
25
                     <nil key="highlightedColor"/>
26
                     <nil key="highlightedColor"/>
26
                 </label>
27
                 </label>
27
             </subviews>
28
             </subviews>
28
-            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
29
+            <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
29
             <constraints>
30
             <constraints>
30
                 <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
31
                 <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
31
                 <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
32
                 <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>

Loading…
Cancel
Save