Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some methods i'm not able to compile on linux #870

Closed
O-mkar opened this issue Mar 1, 2017 · 1 comment
Closed

Some methods i'm not able to compile on linux #870

O-mkar opened this issue Mar 1, 2017 · 1 comment

Comments

@O-mkar
Copy link

O-mkar commented Mar 1, 2017

Hi
I'm getting this error

`/home/ubuntu/Server/Sources/App/file.swift:46:59: error: argument type 'String' does not conform to expected type 'CVarArg'
    let emailTest = NSPredicate(format:"SELF MATCHES %@", emailRegEx)
                                                          ^~~~~~~~~~
                                                                     as! CVarArg`

It compiles on my mac but it doesn't compile on server

@tanner0101
Copy link
Member

tanner0101 commented Mar 3, 2017

Not all of the core libs (Foundation) is available on Linux yet. Check https://github.com/apple/swift-corelibs-foundation to see what has been added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants