swift-log-file icon indicating copy to clipboard operation
swift-log-file copied to clipboard

Crash Build on linux

Open bordunosp opened this issue 3 years ago • 1 comments

Linux swift-log-file: 0.1.0 swift: 5.3

<module-includes>:1:10: note: in file included from <module-includes>:1:
#include ".../.build/checkouts/XCGLogger/Sources/ObjcExceptionBridging/include/ObjcExceptionBridging.h"
         ^
...//.build/checkouts/XCGLogger/Sources/ObjcExceptionBridging/include/ObjcExceptionBridging.h:10:9: error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^
/...//.build/checkouts/XCGLogger/Sources/XCGLogger/Misc/HelperFunctions.swift:11:8: error: could not build C module 'ObjcExceptionBridging'
import ObjcExceptionBridging
       ^

bordunosp avatar Mar 05 '21 16:03 bordunosp

Hey-- thanks for the issue. This is designed only for usage on iOS presently. Happy to have a PR to adapt for a Linux environment. I didn't have that noted-- added a couple of notes about iOS-only (for now) in the docs.

crspybits avatar Mar 06 '21 04:03 crspybits