{"action":"closed","issue":{"url":"https://api.github.com/repos/CocoaLumberjack/CocoaLumberjack/issues/456","labels_url":"https://api.github.com/repos/CocoaLumberjack/CocoaLumberjack/issues/456/labels{/name}","comments_url":"https://api.github.com/repos/CocoaLumberjack/CocoaLumberjack/issues/456/comments","events_url":"https://api.github.com/repos/CocoaLumberjack/CocoaLumberjack/issues/456/events","html_url":"https://github.com/CocoaLumberjack/CocoaLumberjack/issues/456","id":57686701,"number":456,"title":"CocoaLumberjack not available","user":{"login":"goodcyg","id":5400137,"avatar_url":"https://avatars.githubusercontent.com/u/5400137?v=3","gravatar_id":"","url":"https://api.github.com/users/goodcyg","html_url":"https://github.com/goodcyg","followers_url":"https://api.github.com/users/goodcyg/followers","following_url":"https://api.github.com/users/goodcyg/following{/other_user}","gists_url":"https://api.github.com/users/goodcyg/gists{/gist_id}","starred_url":"https://api.github.com/users/goodcyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodcyg/subscriptions","organizations_url":"https://api.github.com/users/goodcyg/orgs","repos_url":"https://api.github.com/users/goodcyg/repos","events_url":"https://api.github.com/users/goodcyg/events{/privacy}","received_events_url":"https://api.github.com/users/goodcyg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaLumberjack/CocoaLumberjack/labels/Awaiting%20response","name":"Awaiting response","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-02-14T08:48:12Z","updated_at":"2015-03-09T20:10:43Z","closed_at":"2015-03-09T20:10:43Z","body":"\r\n   1. Add the lumberjack files to your project.\r\n    2.Configure the framework.\r\n 2.1 Write in the test.pch files  \r\n  #import \"./CocoaLumberjack/Classes/CocoaLumberjack.h\"\r\n    #import \"./CocoaLumberjack/Classes/DDLegacyMacros.h\"\r\n\r\n#ifdef DEBUG\r\nstatic const int ddLogLevel =LOG_LEVEL_VERBOSE;\r\n#else\r\nstatic const int ddLogLevel = LOG_LEVEL_OFF;\r\n#endif\r\n2.2 YGAppDelegate.m\r\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\r\n{\r\n    [DDLog addLogger:[DDASLLogger sharedInstance]];\r\n    [DDLog addLogger:[DDTTYLogger sharedInstance]];\r\n\r\n    return YES;\r\n}\t\t\t\r\n- (void)applicationWillResignActive:(UIApplication *)application\r\n{\r\n    DDLogError(@\"ok\");  \r\n}\r\nCompile the project .Report an error  \r\n\r\n\r\nLd /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator/testlog.app/testlog normal x86_64\r\n    cd /Users/Jackson/Desktop/oc/testlog\r\n    export IPHONEOS_DEPLOYMENT_TARGET=7.1\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -L/Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator -L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/build/Debug-iphoneos -L/Users/Jackson/Desktop/oc/testlog -L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/Build/Debug-iphoneos -F/Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator -F/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Desktop/build/Debug -F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-hagiutaowmyznjdswctloqoaktgh/Build/Products/Release -F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-dknsbwmeyhqxyugzaxspmmklmamb/Build/Products/Release -F/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Desktop/Build/Debug -filelist /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Intermediates/testlog.build/Debug-iphonesimulator/testlog.build/Objects-normal/x86_64/testlog.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -Xlinker -dependency_info -Xlinker /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Intermediates/testlog.build/Debug-iphonesimulator/testlog.build/Objects-normal/x86_64/testlog_dependency_info.dat -o /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator/testlog.app/testlog\r\n\r\nld: warning: directory not found for option '-L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/build/Debug-iphoneos'\r\nld: warning: directory not found for option '-L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/Build/Debug-iphoneos'\r\nld: warning: directory not found for option '-F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-hagiutaowmyznjdswctloqoaktgh/Build/Products/Release'\r\nld: warning: directory not found for option '-F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-dknsbwmeyhqxyugzaxspmmklmamb/Build/Products/Release'\r\nUndefined symbols for architecture x86_64:\r\n  \"_OBJC_CLASS_$_DDASLLogger\", referenced from:\r\n      objc-class-ref in YGAppDelegate.o\r\n  \"_OBJC_CLASS_$_DDLog\", referenced from:\r\n      objc-class-ref in YGAppDelegate.o\r\n  \"_OBJC_CLASS_$_DDTTYLogger\", referenced from:\r\n      objc-class-ref in YGAppDelegate.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\nhelp me！！！\r\n"}}