expo / examples

Example projects that demonstrate how to use Expo APIs and integrate Expo with other popular tools
2.21k stars 862 forks source link

Update Examples to SDK 47 #396

Closed keith-kurak closed 1 year ago

keith-kurak commented 1 year ago

What

Spot-checking results

❌ with-gatsby

linear[bot] commented 1 year ago

CX-178 Update examples to sdk 47

linear[bot] commented 1 year ago
ENG-6826 Running "npx crna -t with-dev-client" doesn't install pods

Going through the Development builds docs for Bare React Native projects from here [https://docs.expo.dev/development/installation/](https://docs.expo.dev/development/installation/), the first command on the page tells the user to initialize a new project using `npx crna -t with-dev-client` . When running this command on macOS, it fails to install the pods when setting up the project directory: ``` ➜ npx crna -t with-dev-client ✔ What is your app named? … my-rn-app ✔ Downloaded and extracted project files. Using Yarn to install packages. You can pass --use-npm to use npm instead. ✔ Installed JavaScript dependencies. ⚠️ Something went wrong running `pod install` in the `ios` directory. Continuing with initializing the project, you can debug this afterwards. ``` Also, after setting up the project directory, when I manually run the command `npx pod-install` it throws the following error: ``` ➜ npx pod-install Scanning for pods... 1.11.3 > pod install Using Expo modules [Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json Analyzing dependencies Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec` [Codegen] Found FBReactNativeSpec Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec` Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec` Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec` [!] CocoaPods could not find compatible versions for pod "RCT-Folly": In snapshot (Podfile.lock): RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) In Podfile: RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) It seems like you've changed the version of the dependency `RCT-Folly` and it differs from the version stored in `Pods/Local Podspecs`. You should run `pod update RCT-Folly --no-repo-update` to apply changes made locally. Couldn't install: RCT-Folly. Updating the Pods project and trying again... ``` Not sure what's the resolution here is but since we recommend this command to create bare react native projects, I think we should check what's the issue here is.

EvanBacon commented 1 year ago

@allcontributors add @keith-kurak for code

allcontributors[bot] commented 1 year ago

@EvanBacon

I've put up a pull request to add @keith-kurak! :tada: