Browse Source

fixed build crash

Arnaud Vergnet 1 year ago
parent
commit
2d9eed6d95

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

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

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

@@ -22,7 +22,7 @@
22 22
 {
23 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 26
   RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"main" initialProperties:nil];
27 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,9 +1,10 @@
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 4
     <dependencies>
4 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 8
     </dependencies>
8 9
     <objects>
9 10
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
@@ -12,20 +13,20 @@
12 13
             <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
13 14
             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
14 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 17
                     <rect key="frame" x="20" y="439" width="441" height="21"/>
17 18
                     <fontDescription key="fontDescription" type="system" pointSize="17"/>
18 19
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
19 20
                     <nil key="highlightedColor"/>
20 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 23
                     <rect key="frame" x="20" y="140" width="441" height="43"/>
23 24
                     <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
24 25
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
25 26
                     <nil key="highlightedColor"/>
26 27
                 </label>
27 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 30
             <constraints>
30 31
                 <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
31 32
                 <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>

Loading…
Cancel
Save