I'm having issues using a pod. I want to initialise Backendless and use as backend, but Xcode cannot resolve the library as it seems. When I try(AppDelegate.swift):
import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { let APP_ID = "xxx" let SECRET_KEY = "xxx" let VERSION_NUM = "v1" var backendless = Backendless.sharedInstance() var window: UIWindow? I get
Use of unresolved identifier 'Backendless'
and what I did was:
- Create a new project, closed xCode.
- Created a pod file and edited it to take my library
- Installed without fault
- Opened the workspace file generated with the pod instalment.
- Built project
and then I tried to initialise the library as shown above.
platform :ios, '8.0' use_frameworks! target 'Test' do pod 'Backendless' end target 'TestTest' do end I have tried cleaning, building and restarting xcode. But I suspect I'm missing a crucial step somewhere?
Thanks in advance
import Backendlessor something similar?use_frameworks!I almost always import the module usingimport modulethen just build the project. This usually fixes any import issues I have