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

Xcode 7.3 support #31

Closed
pixeldock opened this issue Mar 24, 2016 · 5 comments
Closed

Xcode 7.3 support #31

pixeldock opened this issue Mar 24, 2016 · 5 comments

Comments

@pixeldock
Copy link

First of all: Thanks for developing and sharing Laurine, I really like it a lot!

Unfortunately with the recent release of Xcode 7.3 Laurine Generator produces the following error and warnings:

bildschirmfoto 2016-03-24 um 10 48 02

@JiriTrecak
Copy link
Owner

Hello!

Thanks for using it :) I updated Brew few minutes ago, so when you do brew / update latest version (if you have it installed locally), then you will have the latest version with all the fixes. (v0.2.2)

If you have downloaded Laurine directly, please download LaurineGenerator.swift directly from master and replace your current version with it (works in 7.3). I will go through example project now if everything works there.

@JiriTrecak
Copy link
Owner

So I just tested and it works okay, I also just removed the warnings so it does not show anything in the project. Hope it will work flawlessly for you now!

Sincerely,

Jiri T

@JiriTrecak
Copy link
Owner

Yes, this happens when you connect Laurine to project (that the LaurineGenerator.swift can be found in your project tree). You have to run it either through command line, OR through build script. XCode does not allow top-level expressions when compiling your project, which is exactly what you are encountering.

@pixeldock
Copy link
Author

It works, no warnings. Thanks a lot! I accidently added Laurine Generator to my target. After removing it from the target it works

@JiriTrecak
Copy link
Owner

No problem, glad to help.

Have a nice day!

JT

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