Invalid Podfile on Appcenter
See original GitHub issueI’m taking the following error on pod install:
[!] Invalid `Podfile` file: cannot load such file -- /node_modules/@react-native-community/cli-platform-ios/native_modules.
 #  from /ios/Podfile:2
 #  -------------------------------------------
 #  platform :ios, '9.0'
 >  require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
 #  
React Native version:
System: OS: macOS 10.14.6 CPU: (4) x64 Intel® Core™ i5-7360U CPU @ 2.30GHz Memory: 275.30 MB / 8.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 10.16.0 - /usr/local/bin/node Yarn: 1.16.0 - /usr/local/bin/yarn npm: 6.9.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2 IDEs: Android Studio: 3.4 AI-183.6156.11.34.5692245 Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild npmGlobalPackages: react-native-cli: 2.0.1
Issue Analytics
- State:
 - Created 4 years ago
 - Reactions:8
 - Comments:18
 
Top Results From Across the Web
Invalid Podfile file: Generated.xcconfig must exist
Flutter iOS build on the App Center fails with error: "Invalid Podfile file: Generated.xcconfig must exist · Subscribe to RSS.
Read more >[Solved]-Flutter iOS build on the App Center fails with error
Coding example for the question Flutter iOS build on the App Center fails with error: "Invalid Podfile file: Generated.xcconfig must exist-Flutter.
Read more >React Native SDK Troubleshooting - Visual Studio App Center
This error appears when RN core libraries aren't referenced correctly, which can be caused by different kinds of integrating or linking issues.
Read more >Flutter iOS build on the App Center fails with error: "Invalid ...
iOS : Flutter iOS build on the App Center fails with error: " Invalid Podfile file: Generated.xcconfig must exist [ Beautify Your Computer ......
Read more >if you're running pod install manually, make sure flutter pub ...
Flutter iOS build on the App Center fails with error: "Invalid Podfile file: Generated.xcconfig must exist. Asked Mar 19, 2020 • 15 votes...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I had the same error, and it was because I had not installed node dependencies and it was not able to find them at line:
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'I just ran
npm iin project root and the error went away.Nevermind, I’ve configured Appcenter wrong. Instead of choosing the React Native configuration, I chose Object C and Swift 🤦♂