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.

[iOS Build] Failing with workspace error

See original GitHub issue

Build/Submit details page URL

https://expo.dev/accounts/lightstalker89/projects/dec112-react-native/builds/9293311d-563a-4206-8e65-76c89f10e899

Summary

I’m trying to build the iOS app via EAS CLI, but I’m no getting the following errors. I did not change anything or upgrade any dependencies and I’m using the latest SKD (v44)

I also tried to start the build with --clear-cache and also disabled caching but this did not help. Same error if I try to build it locally.

Managed or bare?

Managed

Environment

EAS CLI 0.42.4 environment info: System: OS: macOS 12.0.1 Shell: 5.8 - /bin/zsh Binaries: Node: 14.17.5 - /usr/local/opt/nvm/versions/node/v14.17.5/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 8.3.0 - /usr/local/opt/nvm/versions/node/v14.17.5/bin/npm Utilities: Git: 2.32.0 - /usr/bin/git npmPackages: expo: ~44.0.0 => 44.0.0 expo-cli: ^5.0.3 => 5.0.4 expo-dev-client: ~0.7.2 => 0.7.2 expo-updates: ~0.11.3 => 0.11.3 react: 17.0.1 => 17.0.1 react-dom: 17.0.1 => 17.0.1 react-native: 0.64.3 => 0.64.3 react-native-web: 0.17.1 => 0.17.1 npmGlobalPackages: eas-cli: 0.42.4 expo-cli: 5.0.3 Project workflow: managed

Error output

[!] Please close any current Xcode sessions and use dec112reactnative.xcworkspace for this project from now on. 102 [!] An error occurred while processing the post-integrate hook of the Podfile. 103 104 undefined method expo_patch_react_imports!' for #<Pod::Podfile:0x00007feae2c934a0>

Reproducible demo or steps to reproduce from a blank project

No idea on how to give you a reproducible example!?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

6reactions
jesuscovamcommented, Dec 22, 2021

I fixed this for my project with

npm i expo@44.0.1

2reactions
kendallrothcommented, Dec 22, 2021

Was running into the same issue, with the only changes to package.json since the last successful build (3 days ago) being a patch bump to expo-splash-screen@~0.14.1 and adding expo-application@~4.0.1. After checking out a previous commit, I was able to build successfully. I also tried to upgrade expo@44.0.1 and can confirm that this works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New Build System Error - missingWorkspaceContext
Individual build tasks may have failed for unknown reasons. One possible cause is if there are too many (possibly zombie) processes; in this...
Read more >
React native build failed - xcodebuild: error: The workspace ...
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider...
Read more >
IOS Workspace Build Failed With Swift Compile Error In Xcode ...
When attempting to build the ios workspace, the following error occurs. ... 1. Uncategorized – Command CompileSwift failed with a nonzero exit ......
Read more >
Oh dear! Build errors? - LoopDocs - GitHub Pages
Solution: Go to your Xcode -> Preferences (or Settings) and under the Locations tab, select your Xcode version (the figure shows 14.0.1 -...
Read more >
Build failed on iOS device · Issue #9823 - GitHub
... build project for real device or open xcode project I get error. ... _retainedContainerAtFilePath:fileDataType:workspace:options:error ...
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