emaloney / cleanroomlogger Goto Github PK
View Code? Open in Web Editor NEWCleanroomLogger provides an extensible Swift-based logging API that is simple, lightweight and performant
License: MIT License
CleanroomLogger provides an extensible Swift-based logging API that is simple, lightweight and performant
License: MIT License
Does it support OS X (specifically, 10.10+)?
Hi @emaloney!
I'd like to ask about the plan for updating this library (and its dependency CleanroomASL) to work with Swift 2.3 or Swift 3 respectively?
Are you going to explicitly update the underlying architecture to leverage the new logging mechanism introduced at WWDC 2016?
In the documentation for setting up CleanroomLogger, it says to add the line
$PROJECT_DIR/Carthage/Checkouts/CleanroomLogger/BuildControl/bin/stripCarthageFrameworks.sh
as the run script. $PROJECT_DIR
should be double-quoted so that spaces are expanded correctly, like so:
"$PROJECT_DIR"/Carthage/Checkouts/CleanroomLogger/BuildControl/bin/stripCarthageFrameworks.sh
I would love to see Cocoapods support for this.
Hello,
if I build&run my test application on a simulator I got the error "Use of unresolved Identifier 'Log'". The same code works fine on an actual device.
I can't reproduce that but I have in my mind that I saw yesterday some messages of a missing x86_64 slice within the frameworks, for running on a simulator. I installed CleanroomLogger through carthage.
Within the "update" command in carthage I got following warnings:
➜ CleanroomTest git:(master) ✗ carthage update --platform ios
*** Fetching CleanroomLogger
*** Fetching CleanroomASL
*** Checking out CleanroomASL at "2.0.0"
*** Checking out CleanroomLogger at "3.0.0"
*** xcodebuild output can be found in /var/folders/lw/95vjc0zx5396l4fb6hn43fww0000gn/T/carthage-xcodebuild.0E1MYJ.log
*** Building scheme "CleanroomASL" in CleanroomASL.xcodeproj
*** WARNING: Skipping build for "iphonesimulator" SDK because the necessary signing identity "-" is not installed
*** Building scheme "CleanroomLogger" in CleanroomLogger.xcworkspace
*** WARNING: Skipping build for "iphonesimulator" SDK because the necessary signing identity "-" is not installed
My Environment:
Xcode Version 8.0 (8A218a)
iPad Mini iOS 10.0.1
Oh, and my carthage is outdated, I have version 0.10.0 installed. Can this be the point?
Maybe this is local problem or is it more generally?
Sorry for writing this issue... if I see this issue within carthage this seems to be a local problem only
Carthage/Carthage#914
It's not clear to me how one might extend CleanroomLogger to send messages to other destinations, such as a network API. Ideally, I would like to continue to use the framework to log various messages, but be able to send particular messages to a network API. Something like Log.network.message("foo") or Log.warning.networkMessage("bar"). There may be more than one destination for different types of logs. Little help? :)
Thanks,
Glen
It would be useful to be able to install CleanroomLogger with Carthage
I like the approach of the framework but is the base dependency really needed? A "light-weight" logging library should be self-contained and not depend on another project. If I want to use CleanroomLogger I have to pull in code which is actually not needed/used.
I am trying to do a simple:
carthage update --platform iOS
But it fails on CleanroomLogger with, "error: module file's minimum deployment target is ios9.3 v9.3":
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
/Users/Joe/Desktop/Wyxic/Carthage/Checkouts/CleanroomLogger/Sources/ASLLogRecorder.swift:10:8: error: module file's minimum deployment target is ios9.3 v9.3: /Users/Joe/Library/Developer/Xcode/DerivedData/CleanroomLogger-fjjxazwqlrnuilbxejdzjuunlfbb/Build/Products/Release-iphoneos/CleanroomASL.framework/Modules/CleanroomASL.swiftmodule/arm64.swiftmodule
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/Joe/Desktop/Wyxic/Carthage/Checkouts/CleanroomLogger/CleanroomLogger.xcworkspace -scheme CleanroomLogger-iOS -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
The error makes little sense to me - my project already had Deployment Target 9.3, so why is it complaining that the "module file's minimum deployment target is ios9.3"?
The other modules that I use (also with Carthage) build just fine.
Here are the relevant lines from my Cartfile.resolved:
github "emaloney/CleanroomASL" "1.5.0"
github "emaloney/CleanroomLogger" "2.2.0"
I am using Xcode 7.3.1 (cannot yet upgrade to Xcode 8 due to dependency on library that is not yet ready for Swift 2.3 / Swift 3.0).
Help with resolving this would be great. Thanks!
Hey, your library is really interesting.
The only problem I found was the README.md
, which needs an organization in the Installation Section
I created this iOS Open source Readme Template so you can take a look on how to make it better.
If you want, I can help you to organize the lib.
What are your thoughts? 😄
New to all of Git/Markdown...be kind.
I had a crash when output was to the FileLogRecorder.recordFormattedMessage. The offending line was:
let c = unichar(uniStr[uniStr.endIndex.predecessor()].value)
The value of the message parameter causing the crash was:
"ABC😺"
Seems easy to reproduce in a OS X Playground with:
//: Playground - noun: a place where people can play
import Cocoa
var str = "Hello, playground"
let message = "ABC😺"
let uniStr = message.unicodeScalars
if uniStr.count > 0 {
let c = unichar(uniStr[uniStr.endIndex.predecessor()].value)
// addNewline = !newlineCharset.characterIsMember(c)
}
see this example -
https://github.com/burczyk/UIForLumberjack
dyld: Library not loaded: @rpath/CleanroomASL.framework/CleanroomASL
Referenced from
Reason: image not found
I have built a custom LogRecorder to send logs with Crashlytics reports. Here's my recorder:
class CrashlyticsLogRecorder: LogRecorderBase
{
init()
{
super.init(name: "CrashlyticsLogRecorder", formatters: [])
}
override func recordFormattedMessage(
message: String,
forLogEntry entry: LogEntry,
currentQueue: dispatch_queue_t,
synchronousMode: Bool)
{
CLSLogv(message, CVaListPointer(_fromUnsafeMutablePointer: nil))
}
}
And here's my Log.enable()
call, in AppDelegate.init()
:
override init()
{
let logConfiguration = DefaultLogConfiguration(
minimumSeverity: .Debug,
filters: [],
formatters: [DefaultLogFormatter()],
additionalRecorders: [CrashlyticsLogRecorder()],
synchronousMode: false)
Log.enable(logConfiguration)
super.init()
}
All my Log.message()
calls are visible in the Xcode console, but a breakpoint in CrashlyticsLogRecorder.recordFormattedMessage()
is never hit and the logs are never sent with Crashlytics reports.
When building a DEBUG
version of an app, CleanroomLogger may be used in synchronous mode to ensure that all logs reflect the latest state when hitting a breakpoint in Xcode.
Because GCD queues are not re-entrant when used synchronously, to avoid a deadlock in the ASLLogRecorder, we pass around a reference to the dispatch_queue_t
being used by the recordFormattedString(_:synchronously:currentQueue:forLogEntry:)
function.
This has made the signature for that function a bit long and unattractive, and it generally seems like a hacky way to handle the situation since it introduces another vector for programmer error.
*** Fetching CleanroomLogger
*** Fetching CleanroomASL
*** Checking out CleanroomASL at "01768104b667d75d3fbe67dbdea98927c0bf73c4"
*** Checking out CleanroomLogger at "8735b3a0163aec8e0af3ba25b0df54a92902b907"
*** xcodebuild output can be found in /var/folders/lg/qjd2fxnj31v8rjzwkr46kmc00000gn/T/carthage-xcodebuild.SKwZZU.log
*** Building scheme "CleanroomASL iOS" in CleanroomASL.xcodeproj
** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64 ~/MyProject/Carthage/Checkouts/CleanroomASL/Code/ASLObject.swift
CompileSwift normal x86_64 ~/MyProject/Carthage/Checkouts/CleanroomASL/Code/ASLClient.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(3 failures)
As we know, The master branch of this project is Swift 2.0 compliant and therefore requires Xcode 7 beta 2 or higher to compile.
Is swift 1.2 not supported now? Any Branch?
Why are there two frameworks, cleanroomlogger and cleanroomloggerAsl? Can they be combined into one? The way the project is set up creates problems for Jenkins with Carthage
I'm quite confused about this, but could it be that the log formatters passed as a parameter to the DefaultLogConfiguration
initializer are just ignored?
Looking at the code, I can't see any property in the log configuration class where they are stored.
This is at the very minimum confusing, other than a possible bug :)
Because DefaultLogFormatter provided no explicit initializer, the compiler created one but assumed an internal access level.
As a result, DefaultLogFormatter could only be instantiated from within the CleanroomLogger module via the DefaultLogConfiguration.
To make this code re-usable by external developers, the DefaultLogFormatter struct should provide an explicit no-arg initializer that's public
.
As Cleanroom Project repos proliferate, we'll need to streamline the release process to minimize the time spent on release overhead.
To do this, I'd like to have a BuildControl script that:
I also consider such a script a prerequisite for adding Cocoapods support (#10), as I'd like it to also handle updating the podspec and manage versioning & releasing in a Cocoapods-appropriate way.
I use CleanroomLogger 2.2.0(First Swift 2.3 / Xcode 8 release) in Xcode project
when I archive :
error: use of unresolved identifier 'Log'
Synchronous logging is needed for debugging, to ensure that the log messages are up-to-date when breakpoints are hit.
Currently, a LogRecorder
would have to have this mode specified in the constructor. However, this mode should be passed down by the LogConfiguration
. This would allow a single LogRecorder
to be used in the correct mode given the LogConfiguration
selected to log that specific item.
To enable this, we'll need to add a parameter to the recordFormattedString(...)
function specifying whether synchronous mode should be used.
This will be a breaking change, and will be released with a minor point update.
It looks like the deployment target is not set for both the CleanroomLogger and CleanroomLoggerASL projects. Is there a reason for this? Since this is intended to be deployed as a Swift Framework, wouldn't it make sense to set this to 8.0 (at least for iOS)?
I was trying to integrate the framework manually by using the guide but build fails with "No such Module CleanroomASL"
I am using cocoapods for other frameworks
I attempted to build using Carthage and the build failed.
here's the build results, I've replaced my file path with [root]:
The following build commands failed:
CompileSwift normal x86_64 [root]/Carthage/Checkouts/CleanroomASL/Code/ASLObject.swift
CompileSwift normal x86_64 [root]/Carthage/Checkouts/CleanroomASL/Code/ASLClient.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(3 failures)
[root]/Carthage/Checkouts/CleanroomASL/Code/ASLObject.swift:285:39: error: use of undeclared type 'OptionSetType'
[root]/Carthage/Checkouts/CleanroomASL/Code/ASLClient.swift:27:28: error: use of undeclared type 'OptionSetType'
[root]/Carthage/Checkouts/CleanroomASL/Code/ASLClient.swift:27:28: error: use of undeclared type 'OptionSetType'
[root]/Carthage/Checkouts/CleanroomASL/Code/ASLClient.swift:178:34: error: missing argument label 'currentQueue:' in call
[root]/Carthage/Checkouts/CleanroomASL/Code/ASLClient.swift:219:47: error: cannot find an initializer for type 'Int' that accepts an argument list of type '(String)'
[root]/Carthage/Checkouts/CleanroomASL/Code/ASLObject.swift:285:39: error: use of undeclared type 'OptionSetType'
A shell task failed with exit code 65:
ASLClient.swift:144:64: Binary operator '!=' cannot be applied to two dispatch_queue_t operands
DefaultLogFormatter.swift:210:20: 'reflect' is unavailable: call the 'Mirror(reflecting:)' initializer
Hi, I started having this issue a couple of days ago, where building through gym
(fastlane) outputs this error:
no such module 'ASL'
It looks like you're conditionally importing ASL
depending on a #if !XCODE_BUILD
Can you elaborate a bit more on what this does and how it's supposed to work when building from command line tools?
Hey there,
I've tried to Google this, but I wasn't really able to find an answer. Do you know if it's possible for me to use this with Cocoapods side by side? What I mean is, add CleanroomLogger manually to my Xcode project workspace and still use Cocoapods for my other third party libraries?
Would I have any issues if I did 'pod install'? If so, do you have any suggestions how I could use this with all my other third party libraries, without having to switch over to Carthage?
Thanks
I have created an instance of DailyRotatingLogFileRecorder. It does create the directory I pass into the initializer and it isn't throwing an error on initialize.
I have various logs throughout my app that do get logged out into the console but no log files are ever written. I have tried running Log.enable() before and after creating the DailyRotatingLogFileRecorder.
This is the code I have:
Log.enable()
let logsPath = Utilities.logsDirectoryPath()
do {
self.logRecorder = try DailyRotatingLogFileRecorder(daysToKeep: 7, directoryPath: logsPath)
} catch let _error as NSError {
Log.error?.message(_error.localizedDescription)
} catch {
Log.error?.message("Unable to create DailyRotatingLogFileRecorder")
}
In both CleanroomLogger and CleanroomASL projects
Running following code results in a growth of memory usage to 500 MB
func testMemoryLeak() {
var loggers = [LogConfiguration]()
let xcodeConfig = XcodeLogConfiguration(minimumSeverity: LogSeverity.verbose,
logToASL: false)
loggers.append(xcodeConfig)
Log.enable(configuration: loggers)
for _ in 1...1000000 {
Log.info?.message("Test")
}
}
This issue came up in bmichotte/HSTracker#495.
My project looks a little like so:
import CleanroomLogger
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
override init() {
//Enable logging
Log.enable()
Log.debug?.message("Debug") //Prints nothing
let debugCheck = Log.debug //is nil
}
//... usual AppDelegate set up methods
Installed via Carthage, can't seem to get it to work, thoughts?
The CleanroonLogger (and CleanroomASL) should both check the Allow app extension API only
box to allow them to be used in frameworks that can be used in App Extensions.
why not support Cocoapods?
I had forked your project and added a User log channel and severity. Which proved pretty handy. For I could create a Log.user?.message() or use a corresponding traceUser() method to log user interactions.
For instance my methods such as "didTouchInsideButton" would log the user interaction. I can then easily filter the log file to see all the user actions that happened to get my app in the state it is.
A further enhancement could be to allow for the addition of custom log channels. Right now you have a fixed set of channels. Doing so would allow users to extend the library without forking it.
What is the cleanest way you suggest to reformat the xcodeformatter output to something like this:
I 09:07:39.015 -KeychainService.savedModelForKey:369 | Successfully retrieved a model from keychain
where the first column is I/E/U/W/D, the date is in 24h local time, ...
The sample I had posted earlier no longer works due to all the 2.0 changes.
Navi
Can CleanroomLogger be integrated with robbiehanson/XcodeColors?
Or support XcodeColors by myself, how should I support the XcodeColors?
I read the code, and I thought the ASLClient's implementation should be swapped.
How does one use multiple formatters: one for the xcode debug window (as shown below), another to go into a log file, a third to go in the ASL log file?
Here is a sample custom log formatter for anyone who is interested.
import Foundation
import CleanroomLogger
public struct LogFormatterTTY : LogFormatter
{
private static let timestampFormatter: NSDateFormatter = {
let fmt = NSDateFormatter()
fmt.dateFormat = "hh:mm:ss.SSS"
return fmt
}()
public static func stringRepresentationOfTimestamp(timestamp: NSDate)
-> String
{
return timestampFormatter.stringFromDate(timestamp)
}
public static func stringRepresentationOfSeverity(severity: LogSeverity)
-> String
{
var severityTag = severity.printableValueName.uppercaseString
severityTag = severityTag.substringToIndex(severityTag.startIndex.advancedBy(1))
return severityTag
}
public static func formatLogMessageWithSeverity(severity: String, caller: String, message: String, timestamp: String?, threadID: String?)
-> String
{
var fmt = "\(severity) "
if let timestamp = timestamp {
fmt += "\(timestamp) "
}
// if let threadID = threadID {
// fmt += "\(threadID) "
// }
fmt += "\(caller) \(message)"
return fmt
}
public static func stringRepresentationForCallingFile(filePath: String, line: Int, function: String)
-> String
{
let filename = NSURL(fileURLWithPath: filePath).URLByDeletingPathExtension?.lastPathComponent ?? "(unknown)"
return "\(filename).\(function):\(line)"
}
public func formatLogEntry(entry: CleanroomLogger.LogEntry) -> String?
{
let severity = LogFormatterTTY.stringRepresentationOfSeverity(entry.severity)
let caller = LogFormatterTTY.stringRepresentationForCallingFile(entry.callingFilePath, line: entry.callingFileLine, function: entry.callingFunction)
var message = DefaultLogFormatter.stringRepresentationForPayload(entry)
var timestamp: String?
timestamp = LogFormatterTTY.stringRepresentationOfTimestamp(entry.timestamp)
var threadID: String?
threadID = DefaultLogFormatter.stringRepresentationOfThreadID(entry.callingThreadID)
if message == entry.callingFunction {
message = ""
}
return LogFormatterTTY.formatLogMessageWithSeverity(severity, caller: caller, message: message, timestamp: timestamp, threadID: threadID)
}
}
public struct LogConfigurationTTY : LogConfiguration
{
/** The minimum `LogSeverity` supported by the configuration. */
public let minimumSeverity: LogSeverity
/** The list of `LogFilter`s to be used for filtering log messages. */
public let filters: [LogFilter]
/** The list of `LogRecorder`s to be used for recording messages to the
underlying logging facility. */
public let recorders: [LogRecorder]
/** A flag indicating when synchronous mode should be used for the
configuration. */
public let synchronousMode: Bool
public init(minimumSeverity : LogSeverity = .Info){
self.minimumSeverity = minimumSeverity
self.filters = []
self.recorders = [ASLLogRecorder(formatters: [LogFormatterTTY()])]
self.synchronousMode = false
}
}
How do I have a separate format for output to the xcode console and the output to the ASL log? It would really help if you provide an example of multiple formats to multiple outputs - ASL / Console / File.
Hi,
do you plan to support Swift 3 in the future?
It is because I experience these warnings:
CleanroomLogger/Sources/LogChannel.swift:93:57: warning: __FUNCTION__ is deprecated and will be removed in Swift 3, please use #function
GitHub API request failed: NetworkError(Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x7ff22c100570 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://api.github.com/repos/emaloney/CleanroomASL/releases/tags/1.4.2?, NSErrorFailingURLKey=https://api.github.com/repos/emaloney/CleanroomASL/releases/tags/1.4.2?, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.})
CleanroomLogger really great, but i wan't to know how to change the color of logs in XcodeColor
According to the document, ColorTable Should be override.
Could anybody give me an example to set it?
the following is my way to override the ColorTable but never worked
let formatter = XcodeLogFormatter(timestampStyle: .Default, severityStyle: .Xcode, delimiterStyle: nil, showCallSite: true, showCallingThread: false, colorizer: nil)
let config = XcodeLogConfiguration(minimumSeverity: .Verbose, colorTable: HulkColorTable(), formatter: formatter)
Log.enable(configuration: config)
I am using Carthage to download CleanroomLogger 1.3.7
github "emaloney/CleanroomLogger" == 1.3.7
and build fail for CleanroomASL and CleanroomLogger.
I am using Xcode 6.4 and Swift 1.2 thats why I download version 1.3.7
Build fail log:
2015-08-20 11:30:18.798 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details: Failed to load dependencies output contents from /Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogConfiguration.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “LogConfiguration.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d432360c0 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogConfiguration.d, NSUnderlyingError=0x7f8d43222f70 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogConfiguration.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; }. Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong)) Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 2015-08-20 11:30:18.813 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77 Details: Failed to load dependencies output contents from
/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/DailyRotatingLogFileRecorder.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “DailyRotatingLogFileRecorder.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d40786000 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/DailyRotatingLogFileRecorder.d, NSUnderlyingError=0x7f8d40781e20 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/DailyRotatingLogFileRecorder.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn\U2019t be completed. No such file or directory"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString ___strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-08-20 11:30:18.831 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details: Failed to load dependencies output contents from /Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/Log.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “Log.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d40786220 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/Log.d, NSUnderlyingError=0x7f8d40781e70 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/Log.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; }. Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong)) Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 2015-08-20 11:30:18.850 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77 Details: Failed to load dependencies output contents from
/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/FileLogRecorder.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “FileLogRecorder.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d42ca69e0 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/FileLogRecorder.d, NSUnderlyingError=0x7f8d4330dcd0 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/FileLogRecorder.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn\U2019t be completed. No such file or directory"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-08-20 11:30:18.869 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details: Failed to load dependencies output contents from /Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogReceptacle.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “LogReceptacle.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d4330df40 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogReceptacle.d, NSUnderlyingError=0x7f8d43236100 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogReceptacle.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; }. Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong)) Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 2015-08-20 11:30:18.887 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77 Details: Failed to load dependencies output contents from
/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogFilter.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “LogFilter.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d4330d430 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogFilter.d, NSUnderlyingError=0x7f8d4074d850 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogFilter.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn\U2019t be completed. No such file or directory"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-08-20 11:30:18.904 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details: Failed to load dependencies output contents from ``/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogEntry.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “LogEntry.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d42f06d60 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogEntry.d, NSUnderlyingError=0x7f8d43223390 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogEntry.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn\U2019t be completed. No such file or directory"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *_strong))
Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
* BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/LogSeverity.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/ASLLogRecorder.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/DefaultLogFormatter.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/DefaultLogConfiguration.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/LogChannel.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/LogFormatter.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/LogRecorderBase.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/LogRecorder.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(9 failures)
/Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/ASLLogRecorder.swift:10:8: error: no such module 'CleanroomASL'
/Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/ASLLogRecorder.swift:10:8: error: no such module 'CleanroomASL'
/Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/ASLLogRecorder.swift:10:8: error: no such module 'CleanroomASL'
/Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/ASLLogRecorder.swift:10:8: error: no such module 'CleanroomASL'
/Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/ASLLogRecorder.swift:10:8: error: no such module 'CleanroomASL'
/Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/ASLLogRecorder.swift:10:8: error: no such module 'CleanroomASL'
/Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/ASLLogRecorder.swift:10:8: error: no such module 'CleanroomASL'
/Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/ASLLogRecorder.swift:10:8: error: no such module 'CleanroomASL'
A shell task failed with exit code 65:
2015-08-20 11:30:18.798 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details: Failed to load dependencies output contents from /Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogConfiguration.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “LogConfiguration.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d432360c0 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogConfiguration.d, NSUnderlyingError=0x7f8d43222f70 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogConfiguration.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; }. Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong)) Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 2015-08-20 11:30:18.813 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77 Details: Failed to load dependencies output contents from
/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/DailyRotatingLogFileRecorder.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “DailyRotatingLogFileRecorder.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d40786000 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/DailyRotatingLogFileRecorder.d, NSUnderlyingError=0x7f8d40781e20 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/DailyRotatingLogFileRecorder.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn\U2019t be completed. No such file or directory"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString ___strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-08-20 11:30:18.831 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details: Failed to load dependencies output contents from /Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/Log.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “Log.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d40786220 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/Log.d, NSUnderlyingError=0x7f8d40781e70 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/Log.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; }. Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong)) Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 2015-08-20 11:30:18.850 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77 Details: Failed to load dependencies output contents from
/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/FileLogRecorder.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “FileLogRecorder.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d42ca69e0 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/FileLogRecorder.d, NSUnderlyingError=0x7f8d4330dcd0 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/FileLogRecorder.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn\U2019t be completed. No such file or directory"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-08-20 11:30:18.869 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details: Failed to load dependencies output contents from /Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogReceptacle.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “LogReceptacle.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d4330df40 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogReceptacle.d, NSUnderlyingError=0x7f8d43236100 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogReceptacle.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; }. Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong)) Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 2015-08-20 11:30:18.887 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77 Details: Failed to load dependencies output contents from
/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogFilter.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “LogFilter.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d4330d430 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogFilter.d, NSUnderlyingError=0x7f8d4074d850 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogFilter.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn\U2019t be completed. No such file or directory"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-08-20 11:30:18.904 xcodebuild[8965:1418926] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details: Failed to load dependencies output contents from ``/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogEntry.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “LogEntry.d” couldn’t be opened because there is no such file." UserInfo=0x7f8d42f06d60 {NSFilePath=/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogEntry.d, NSUnderlyingError=0x7f8d43223390 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/noble/Library/Developer/Xcode/DerivedData/CleanroomLogger-dgygmvxzubxfmobwrxjzxktvwszu/Build/Intermediates/CleanroomLogger.build/Release-iphonesimulator/CleanroomLogger.build/Objects-normal/x86_64/LogEntry.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn\U2019t be completed. No such file or directory"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *_strong))
Thread: <NSThread: 0x7f8d4077fa10>{number = 10, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
* BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/LogSeverity.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/ASLLogRecorder.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/DefaultLogFormatter.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/DefaultLogConfiguration.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/LogChannel.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/LogFormatter.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/Implementation/LogRecorderBase.swift
CompileSwift normal x86_64 /Users/noble/iOS/sample/Carthage/Checkouts/CleanroomLogger/Code/LogRecorder.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(9 failures)
This looks promising but the lack of examples make it irritating to work with. For example, long strings are not logged and it's not known if there is a size limit, etc. Simple Log.info?.message("hello world works") but if you have a pretty long string, it's just totally ignored.
Do you have cocoapods support for this library?
Currently, a LogRecorder implementation is provided only for ASL, but it would be nice to ship CleanroomLogger with some built-in file loggers such as:
hope support xcode colour
When trying to build my app with Xcode 8.1 and Swift 3.0.1, I get the following error:
Module compiled with Swift 3.0 cannot be imported in Swift 3.0.1: Frameworks/CleanroomLogger.framework/Modules/CleanroomLogger.swiftmodule/x86_64.swiftmodule
Steps to reproduce:
A/C:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.