Search code examples
swiftcocoapodsbaasbox

Swift Project Doesn't Recognize CocoaPod Library


I created a Page-based project and immediately created a Podfile in the root of the project with the following content:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'BaasBoxSDK', '~> 0.9'

I then ran pod install via terminal and opened the new workspace. Thanks to use_frameworks! it's my understanding I should be able to use the library without creating and setting up bridged headers. I have tried with and without bridged headers and XCode doesn't seem to detect my library or classes from the library. Am I missing a step? (this is my first Swift project).


Solution

  • Are you calling

    import BaasBoxSDK
    

    in the files you want to use it in