/cocoapods_cmake_issue

example repository to reproduce an issue with cocoapods not working with a cmake-generated Xcode project.

Primary LanguageCMakeGNU General Public License v3.0GPL-3.0

cocoapods_cmake_issue 📢

example-project to reproduce an issue with cocoapods not working with a cmake-generated Xcode project.

Requirements

  • cmake >= 3.7
  • cocoapods >= 1.7

How to reproduce

  1. configure cmake project with cmake -H. -Bbuild -GXcode
  2. install pod dependencies with cd build && pod install
  3. Open the Xcode-workspace located in build in Xcode
  4. click run in Xcode
  5. now Xcode reports an error, because it is "unable to open file" (See the screenshot below). The reason ist that it searches for the file in the wrong directory. Instead of /Users/johannes/Git/cocoapods_cmake_issue/Pods/... it should search in /Users/johannes/Git/cocoapods_cmake_issue/build/Pods/...

xcode_error

Disclaimer: I have not been able to get this example up and running, it is possible that there is more wrong with it than just the issue with cocoapods.

Please open an issue if you got any questions!