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:
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...
add xcglogger project subproject:
add ios library dependency of target:
under general tab, add xcglogger.framework embedded binaries:
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
Post a Comment