Examples not building
jombipva opened this issue · comments
Many errors like Pods-TLIndexPathTools-prefix.pch:2:9: Could not build module 'UIKit'
or CoreFoundation.h:11:10: Could not build module 'Darwin'
occur when trying to run the Examples project for iOS 7.1 simulator in Xcode 5.1 (5B130a) straight from the repo, no modifications.
You've got to open the Examples workspace.
Tim
On Mar 23, 2014, at 5:29 AM, jombipva notifications@github.com wrote:
Many errors like Pods-TLIndexPathTools-prefix.pch:2:9: Could not build module 'UIKit' or CoreFoundation.h:11:10: Could not build module 'Darwin' occur when trying to run the Examples project for iOS 7.1 simulator in Xcode 5.1 (5B130a) straight from the repo, no modifications.
—
Reply to this email directly or view it on GitHub.
Did so. I did open the workspace, not the project, as you said in the readme. Doesn’t work.
Got it. I suspect this is related to the project configuration generated by CocoaPods. But I can't reproduce it. Can you see if any of these help you? I might be able to dig further if you post more of the build output.
http://stackoverflow.com/questions/20163812/xcode-5-could-not-build-module-uikit
http://stackoverflow.com/questions/22349557/could-not-build-module-uikit-in-cocoapods-since-xcode-5-1
CocoaPods/CocoaPods#1450
Also, I updated Example project dependencies with the latest version of CocoaPods. Can you try the latest commit?
Still no luck. But I did clone the project on a different Mac with a the same Xcode configuration. On that Mac it did compile. So I am guessing that something is wrong with my Xcode or SDK installation …although other projects are compiling quite fine. Sorry, I guess the problem is on my side. Anyway, thanks for the great work and contributing to open source :)