๐Ÿ“ฆ paulb777 / leveldb-modular

Demonstrate CocoaPods modular header bug with the header_dir attribute

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ MIT License
๐Ÿ“ฅ Clone https://github.com/paulb777/leveldb-modular.git
HTTPS git clone https://github.com/paulb777/leveldb-modular.git
SSH git clone git@github.com:paulb777/leveldb-modular.git
CLI gh repo clone paulb777/leveldb-modular
Paul Beusterien Paul Beusterien Update README 00370a1 7 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ Example
๐Ÿ“ leveldb-modular
๐Ÿ“„ _Pods.xcodeproj
๐Ÿ“„ .gitignore
๐Ÿ“„ .travis.yml
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ README.md

leveldb-modular

Example

  • git clone git@github.com:paulb777/leveldb-modular.git
  • cd leveldb-modular/Example/
  • pod update
  • open leveldb-modular.xcworkspace/
  • build and notice failure
  • grep HEADERSEARCHPATH "Pods/Target Support Files/leveldb-modular/leveldb-modular.xcconfig"
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public"
  • Remove :modular_headers => true from Podfile
  • pod update
  • grep HEADERSEARCHPATH "Pods/Target Support Files/leveldb-modular/leveldb-modular.xcconfig"
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/leveldb-library"
  • Notice that the search path is now correct

Requirements

Installation

leveldb-modular is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'leveldb-modular'

Author

Paul Beusterien, paulbeusterien@google.com

License

leveldb-modular is available under the MIT license. See the LICENSE file for more info.