question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pod install fails after ejecting to ExpoKit

See original GitHub issue

Expected Behavior

It seems CRNA’s eject is broken:

create-react-native-app my-app
cd my-app
yarn eject
cd ios
pod install

Observed Behavior

$ pod install
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Pre-downloading: `ExpoKit` from `http://github.com/expo/expo.git`, tag `ios/1.20.5`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `GLog` from `../node_modules/react-native/third-party-podspecs/GLog.podspec`
Fetching podspec for `React` from `../node_modules/react-native`
Fetching podspec for `Yoga` from `../node_modules/react-native/ReactCommon/yoga`
Downloading dependencies
Installing Amplitude-iOS (3.14.1)
Installing Analytics (3.6.7)
Installing AppAuth (0.90.0)
Installing Bolts (1.8.4)
Installing Branch (0.14.12)
Installing CocoaLumberjack (3.2.1)
Installing Crashlytics (3.9.0)
Installing DoubleConversion (1.1.5)
Installing ExpoKit (1.20.5)
Installing FBAudienceNetwork (4.26.0)
Installing FBSDKCoreKit (4.27.1)
Installing FBSDKLoginKit (4.27.1)
Installing FBSDKShareKit (4.27.1)
Installing Fabric (1.7.0)
Installing Folly (2016.09.26.00)
Installing GLog (0.3.4)
Installing GPUImage (0.1.7)
Installing Google-Mobile-Ads-SDK (7.22.0)
Installing GoogleAppUtilities (1.1.2)
Installing GoogleAuthUtilities (2.0.2)
Installing GoogleMaps (2.2.0)
Installing GoogleNetworkingUtilities (1.2.2)
Installing GoogleSignIn (3.0.0)
Installing GoogleSymbolUtilities (1.1.2)
Installing GoogleUtilities (1.3.2)
Installing KVOController (1.2.0)
Installing React (0.48.3)
Installing Yoga (0.48.3.React)
Installing boost (1.59.0)

[!] Error installing boost
[!] /usr/bin/tar xfz /var/folders/2p/zsx2_tb10hd74d7dyb3lvcp80000gn/T/d20171013-43428-ygkpqh/file.tgz -C /var/folders/2p/zsx2_tb10hd74d7dyb3lvcp80000gn/T/d20171013-43428-ygkpqh

tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

Environment

  • npm ls react-native-scripts: (N/A since I ejected)
  • npm ls react-native: 0.48.3
  • npm ls expo: 21.0.2
  • node -v: 6.9.5
  • npm -v: 4.6.1
  • yarn --version: 0.27.5
  • watchman version: 4.6.0
  • pod --version: 1.3.1
  1. Operating system: macOS Sierra 10.12.4
  2. Phone/emulator/simulator & version: N/A

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
isaac-ivinscommented, Nov 16, 2017

Not sure if it’s kosher but running pod repo update seemed to do the trick for me.

0reactions
corysimmonscommented, Mar 12, 2018

pod repo update seemed to do the trick for me. :\

Read more comments on GitHub >

github_iconTop Results From Across the Web

Eject successful but build failing for AppAuth on ios parse error
I did: expo eject from CLI with option to ExpoKit, it was succesful: Epyons-iMac:The-Masjid-App-Mobile epyon$ expo eject Your git working ...
Read more >
Expokit: undefined method `target_installation_results
I am having this error after creating a project with expo init, ejecting my project and cd into my ios folder then run...
Read more >
Hello, i ejected from expo, and when i wanted to pod install it ...
Hello, i ejected from expo, and when i wanted to pod install it shows me this error, i tryed everything, but nothing works..please...
Read more >
Ejecting to Expo's Bare Workflow – IOS - Michael Washburn Jr
sudo gem install cocoapods. After this, you can cd into your ios folder and run pod install to install all of your dependencies...
Read more >
ExpoKit – The best solution for developing a mobile app
You will not have any problems after ejection with iOS. ... 3) Run pod install from your project's ios directory.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found