diff --git a/package.json b/package.json index 4e78a5f11..86e83b50c 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,9 @@ "studio": "yarn workspace @devhub/mobile studio", "xcode": "yarn workspace @devhub/mobile xcode" }, + "dependencies": { + "react-native": "*" + }, "devDependencies": { "@primer/octicons-v2": "canary", "@typescript-eslint/eslint-plugin": "4.9.0", diff --git a/packages/mobile/ios/devhub.xcodeproj/project.pbxproj b/packages/mobile/ios/devhub.xcodeproj/project.pbxproj index 7a0eb6458..c459db78f 100644 --- a/packages/mobile/ios/devhub.xcodeproj/project.pbxproj +++ b/packages/mobile/ios/devhub.xcodeproj/project.pbxproj @@ -151,7 +151,7 @@ }; }; }; - buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "DevHub" */; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "devhub" */; compatibilityVersion = "Xcode 12.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -196,7 +196,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "set -e\n\nexport NODE_BINARY=node\n../../../node_modules/react-native/scripts/react-native-xcode.sh\n"; + shellScript = "set -e\n\nexport NODE_BINARY=node\nexport ENTRY_FILE=packages/mobile/index.js\n../../../node_modules/react-native/scripts/react-native-xcode.sh\n"; }; 30B724DD75C10DC4C299DD76 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; @@ -328,6 +328,7 @@ "$(inherited)", "@executable_path/Frameworks", ); + ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -477,7 +478,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "DevHub" */ = { + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "devhub" */ = { isa = XCConfigurationList; buildConfigurations = ( 83CBBA201A601CBA00E9B192 /* Debug */,