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

iOS projects using pod manage always build failed #20762

Closed
FaiChou opened this issue Aug 21, 2018 · 3 comments

Comments

@FaiChou
Copy link

commented Aug 21, 2018

My project was managed by pod, and if adding some other libraries will to Libraries folder not to podfile(some library don't include a podspec) , then build project, it will crash of 'React/RCT**.h' file not found.

There is a way to solve this: creating own pod files

But if there is a very complex libraries that I don't know how to create a podspec. How to overcome this?

Environment

Run react-native info in your terminal and paste its contents here.
Environment:
OS: macOS High Sierra 10.13.6
Node: 9.5.0
Yarn: 1.7.0
npm: 5.7.1
Watchman: 4.9.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.1 AI-173.4720617

Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.50.1 => 0.50.1

image

@react-native-bot

This comment has been minimized.

Copy link
Collaborator

commented Aug 21, 2018

Can you reproduce the issue on the latest release, v0.56?

@MrPluto

This comment has been minimized.

Copy link

commented Aug 21, 2018

it seems you are using both pod and react native link to manage third libs?
try to check your react native linked third project's header search path and see if this ${SRCROOT}/../../../ios/Pods/Headers/Public/\*\* exists or not

@FaiChou

This comment has been minimized.

Copy link
Author

commented Aug 21, 2018

@MrPluto Thank you, build success after adding the search path to the third lib

@FaiChou FaiChou closed this Aug 21, 2018

@facebook facebook locked as resolved and limited conversation to collaborators Aug 21, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants
You can’t perform that action at this time.