crspybits / swift-log-file

A simple file logger based on swift-log
MIT License
40 stars 15 forks source link

Crash Build on linux #4

Open bordunosp opened 3 years ago

bordunosp commented 3 years ago

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
       ^
crspybits commented 3 years ago

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.