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

'RCTPackagerClient.h' file not found #17799

Closed
zaiz91 opened this issue Jan 31, 2018 · 3 comments
Closed

'RCTPackagerClient.h' file not found #17799

zaiz91 opened this issue Jan 31, 2018 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@zaiz91
Copy link

zaiz91 commented Jan 31, 2018

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment:
OS: macOS Sierra 10.12.6
Node: 8.6.0
Yarn: 0.27.5
npm: 5.3.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.2 => 0.52.2

Steps to Reproduce

(Write your steps here:)

  1. Upgrade react from 16.0.0-alpha.12 to 16.2.0
  2. Upgrade react-native from 0.47.2 to 0.52.2
  3. Reinstall all node_modules and Pods

Expected Behavior

Xcode Build with no Errors

Actual Behavior

Got following error:

../node_modules/react-native/React/Modules/RCTDevSettings.mm:23:9:
'RCTPackagerClient.h' file not found

image

I did not find any Issues with the same bug. But I also have no clue why I get this bug. Maybe someone can help me?

@zaiz91
Copy link
Author

zaiz91 commented Jan 31, 2018

Adding 'DevSupport' to podfile fixed the issue.

pod 'React', :path => '../node_modules/react-native', :subspecs => [
'DevSupport',

@zaiz91 zaiz91 closed this as completed Jan 31, 2018
facebook-github-bot pushed a commit that referenced this issue May 24, 2018
Summary:
This is the thing which is handled in https://github.com/orta/cocoapods-fix-react-native today.

https://github.com/orta/cocoapods-fix-react-native/blob/89a78ad34950b5d6b3de657914c8ced8bf37ee8e/lib/cocoapods-fix-react-native/versions/0_55_3-post.rb#L140-L164

This should be the correct fix for #17799.

<!--
  Required: Write your test plan here. If you changed any code, please provide us with
  clear instructions on how you verified your changes work. Bonus points for screenshots and videos!
-->

Integrating React Native into an existing iOS project using CocoaPods without `DevSupport` subspec and seeing if the project successfully compiles.

<!--
  Required.
  Help reviewers and the release process by writing your own release notes. See below for an example.
-->

[IOS] [BUGFIX] [DevSupport] - Fix CocoaPods integration without DevSupport subspec
Closes #19265

Differential Revision: D8149786

Pulled By: hramos

fbshipit-source-id: c665e463b76aacdfb2022e82e36eb381d2d9ff2b
@Sadanandteggi
Copy link

I am still getting this error despite having 'DevSupport', in pod file. Can I expect any help here ?
Thanks

@Baskerville42
Copy link

+1
the same problem!

@facebook facebook locked as resolved and limited conversation to collaborators Jun 15, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jan 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants