nvzqz / FileKit

Simple and expressive file management in Swift

Home Page:https://nvzqz.github.io/FileKit/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot call value of non-function type 'FileType?'

miralem-cebic opened this issue · comments

Hi,
I'm getting a compiler error when building my macOS app using FileKit integrated with Cocoapods.

The app is for macOS 10.13. I'm using Xcode 9.0.1, Cocoapods and FileKit 4.0.1 (5.0.0 was not available over Cocoapods)

If I want to compile the I getting this error:

Cannot call value of non-function type 'FileType?' in

extension File: CustomStringConvertible {

    // MARK: - CustomStringConvertible

    /// A textual representation of `self`.
    public var description: String {
        return String(describing: type(of: self)) + "('" + path.description + "')"
    }

}

@RabbitMC You can get 5.0.0 with cocoapod, just put the git URL in Podfile (and you also specify commit or branch or tag)

I make a pod try FileKit without any issue when compiling using Xcode9.1

You want to use swift4 or swift3?

hey @phimage,

thanks for reply.

You can get 5.0.0 with cocoapod, just put the git URL in Podfile

I will get v5.0.0 over the git URL. Thanks for the hint.

You want to use swift4 or swift3?

Swift 4

It has this problem when when compiling using Xcode9.2

@kivenZheng please describe your issue, useless to speak without adding any information

close as duplicate of #51