I'm using cocoapods to add SnapKit to my iOS project. However, none of the functions from SnapKit are accessible from my source code. Xcode immediately throws a compiler warning along this lines of "this doesn't exist"
I followed the install instructions listed here. I also have the xcworkspace open that cocoapods created and I see my app project and a Pods project. I did notice that under Pods/Product in the navigator I see "Pods.framework" and "SnapKit.framework" in red. When I run find . | grep SnapKit.framework in my project directory, nothing turns up.
After digging around I believe SnapKit.framework is in my DerviedData folder under ~/Library/Developer/XCode . I did notice that under the build settings for Pods PODS_FRAMEWORK_BUILDPATH is set to look in a builds directory under my project, which does not exist. Perhaps that's the issue? Are my pods supposed to build in a build directory? How would I make them do that?
Aucun commentaire:
Enregistrer un commentaire