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
Closed

iOS projects using pod manage always build failed #20762

FaiChou opened this issue Aug 21, 2018 · 3 comments
Labels
Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.

Comments

@FaiChou
Copy link

FaiChou 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 react-native-bot added the Platform: iOS iOS applications. label Aug 21, 2018
@react-native-bot
Copy link
Collaborator

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

@pppluto
Copy link

pppluto 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
Copy link
Author

FaiChou commented Aug 21, 2018

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

@FaiChou FaiChou closed this as completed Aug 21, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Aug 21, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants