ios - xcglogger via cocoapods results in No Such Module -


caveat: new cocoapods... have swift xcode project , i'm trying use xcglogger pod, after adding podfile, (with use_frameworks! ), pod install -- looks good:

enter image description here

but when put import xcglogger in appdelegate, compiler tells me no such module: xcglogger.

import uikit import crashlytics import xcglogger 

what have done wrong (this time:) ?

thanks!

according to: https://github.com/davewoodcom/xcglogger

how use

add xcglogger project subproject project, , add either ios or os x library dependancy of target(s). under general tab of target, add xcglogger.framework embedded binaries.

then, in each source file:

import xcglogger 

you don't need cocoapods this. download .zip link above. unzip , use .xcodeproj located in library directory step 1...

  1. add xcglogger project subproject: enter image description here

  2. add ios library dependency of target: enter image description here

  3. under general tab, add xcglogger.framework embedded binaries: enter image description here

then...

import xcglogger  func application(application: uiapplication, didfinishlaunchingwithoptions launchoptions: [nsobject: anyobject]?) -> bool {         // override point customization after application launch.          let log = xcglogger.defaultinstance()          return true     } 

and that's it.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -