Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install podfile with expo SDK47 #2386

Closed
yoann84 opened this issue Jan 25, 2023 · 3 comments
Closed

Can't install podfile with expo SDK47 #2386

yoann84 opened this issue Jan 25, 2023 · 3 comments
Labels
Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snack or repo is provided

Comments

@yoann84
Copy link

yoann84 commented Jan 25, 2023

Description

Hi,

I cannot build my app on iOS with the latest version of expo and rn-gesture-handler.
rn gesture-handler version : 2.8.0.
Expo version : 47.0.12 and also tried the 47.0.13.

The command npx expo run ios resolved with the following error :

⚠️ Something went wrong running pod installin theiosdirectory. Commandpod installfailed. └─ Cause: InvalidPodfilefile: [!] InvalidRNGestureHandler.podspecfile: undefined methodexists?' for File:Class.

from /Users/yo/Documents/dev/Tests/test-app/node_modules/react-native-gesture-handler/RNGestureHandler.podspec:5

isUserApp = File.exists?(File.join(dir, "..", "..", "node_modules", "react-native", "package.json"))
if isUserApp

from /Users/yo/Documents/dev/Tests/test-app/ios/Podfile:14
use_expo_modules!
config = use_native_modules!`

Steps to reproduce

  1. Start project with : npx create-expo-app my-app
  2. Install RN gesture-handler with the command: expo install react-native-gesture-handler and import it in index.js
  3. Start on simulateur with npx expo run:ios

Snack or a link to a repository

https://github.com/yoann84/fail-gesture-handler

Gesture Handler version

2.8.0

React Native version

0.70.5

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

iOS simulator

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added Platform: iOS This issue is specific to iOS Missing repro Repro provided A reproduction with a snack or repo is provided and removed Missing repro labels Jan 25, 2023
@paulsizer
Copy link

I also have the same issue

@paulsizer
Copy link

@yoann84 this helped me #2367 (comment)

@j-piasecki
Copy link
Member

I see that you managed to find a solution so I'll close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snack or repo is provided
Projects
None yet
Development

No branches or pull requests

3 participants