8000 1.7.0.rc1 regression on static library build HEADER_SEARCH_PATHS · Issue #8765 · CocoaPods/CocoaPods · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

1.7.0.rc1 regression o 8000 n static library build HEADER_SEARCH_PATHS #8765

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

Closed
paulb777 opened this issue May 4, 2019 · 0 comments
Closed

1.7.0.rc1 regression on static library build HEADER_SEARCH_PATHS #8765

paulb777 opened this issue May 4, 2019 · 0 comments
Assignees
Milestone

Comments

@paulb777
Copy link
Member
paulb777 commented May 4, 2019

#8706 breaks the static library builds of FirebaseDatabase and FirebaseFirestore. FirebaseDatabase fails with

Firebase/Database/third_party/Wrap-leveldb/APLevelDB.mm:54:9: fatal error: 'leveldb/db.h' file not found
#import "leveldb/db.h"

because the public headers from the leveldb-library pod are no longer in HEADER_SEARCH_PATHS:

diff -r good-Pods/Target Support Files/FirebaseDatabase/FirebaseDatabase.xcconfig Pods/Target Support Files/FirebaseDatabase/FirebaseDatabase.xcconfig
4c4
< HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FirebaseDatabase" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FirebaseAuthInterop" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/GoogleUtilities" "${PODS_ROOT}/Headers/Public/leveldb-library"
---
> HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FirebaseDatabase" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FirebaseAuthInterop" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseDatabase" "${PODS_ROOT}/Headers/Public/GoogleUtilities"

To reproduce, put pod FirebaseDatabase in a Podfile without use_frameworks!, pod install, and build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0