example-project to reproduce an issue with cocoapods not working with a cmake-generated Xcode project.
- cmake >= 3.7
- cocoapods >= 1.7
- configure cmake project with
cmake -H. -Bbuild -GXcode
- install pod dependencies with
cd build && pod install
- Open the Xcode-workspace located in
build
in Xcode - click
run
in Xcode - 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/...
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!