Error in importing Bond Framework in iOS app -


i hope can me problem. i'm trying use dynamic uiimage in program supported bond framework. so, getting error (no such module 'bond') while importing bond framework. installed third party library cocoapods , integrated project.yet have same problem.

here sample of program code

import foundation import parse import bond

// 1 class post : pfobject, pfsubclassing {

var image: dynamic<uiimage?> = dynamic(nil) // dynamic image property   var photouploadtask: uibackgroundtaskidentifier?  // 2 @nsmanaged var imagefile: pffile? @nsmanaged var user: pfuser?   //mark: pfsubclassing protocol  // 3 static func parseclassname() -> string {     return "post" }  // 4 override init () {     super.init() }  override class func initialize() {     var oncetoken : dispatch_once_t = 0;     dispatch_once(&oncetoken) {         // inform parse subclass         self.registersubclass()     } } 

did follow cocoapods instructions? https://cocoapods.org/#get_started

your podfile should this:

platform :ios, '8.0' use_frameworks!  target 'mytargetname'   pod 'bond', '~> 3.9' end 

where mytargetname name of target.

enter image description here

after you've configured podfile, run following command same directory:

pod install 

additionally, make sure open yourapp.xcworkspace instead of yourapp.xcodeproj.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -