klep / scanline

Command line scanning utility for OSX
MIT License
126 stars 23 forks source link

Build fails in Xcode #2

Closed RomanticStrings closed 8 years ago

RomanticStrings commented 8 years ago

Thank you for this wonderful app. I had the binary, but wanted to add the -mono capability. I am having trouble building in Xcode. These are the errors:

screen shot 2015-09-07 at 8 13 02 pm

I can provide more info if you need it.

Best, Conor Cook

RomanticStrings commented 8 years ago

I discovered that I can use the executable from the Products folder in Xcode as my command line exec file. Thank you!

klep commented 8 years ago

I'd still like to fix the build error though. OCMock.framework should be included in the project directory and visible under "Frameworks" in XCode. I just downloaded and built it without any issues -- which version of XCode are you using?

RomanticStrings commented 8 years ago

Thank you. Version 6.3.1 (6D1002). It is under the "Frameworks" tab, but it only shows the Headers folder, whereas in my repository, it shows Headers, Resources, Versions, and an OCMock exec file.

RomanticStrings commented 8 years ago

I am sorry I never responded to this email. I was sure I had. I will check when I get back to my personal computer, but I did update XCode, and I think I tried to build after that, too.

~Conor

On Tue, Sep 8, 2015 at 4:48 PM, klep notifications@github.com wrote:

I'd still like to fix the build error though. OCMock.framework should be included in the project directory and visible under "Frameworks" in XCode. I just downloaded and built it without any issues -- which version of XCode are you using?

— Reply to this email directly or view it on GitHub https://github.com/klep/scanline/issues/2#issuecomment-138713893.

RomanticStrings commented 8 years ago

I have XCode 6.4.

I just tried to build it again, and it failed.

On Sep 17, 2015, at 2:08 PM, Conor Cook conor.p.cook@gmail.com wrote:

I am sorry I never responded to this email. I was sure I had. I will check when I get back to my personal computer, but I did update XCode, and I think I tried to build after that, too.

~Conor

On Tue, Sep 8, 2015 at 4:48 PM, klep <notifications@github.com mailto:notifications@github.com> wrote: I'd still like to fix the build error though. OCMock.framework should be included in the project directory and visible under "Frameworks" in XCode. I just downloaded and built it without any issues -- which version of XCode are you using?

— Reply to this email directly or view it on GitHub https://github.com/klep/scanline/issues/2#issuecomment-138713893.

klep commented 8 years ago

Sorry for the delay. If you don't mind re-downloading and trying again, I may have fixed it. I also added a -help option that gives an overview of configuration options

RomanticStrings commented 8 years ago

Scott,

Thank you. I did run it in XCode, and it built successfully, but with a few messages. I am not getting the -help options, though, when I run from command-line.

~Conor

On Fri, Oct 9, 2015 at 12:53 AM, klep notifications@github.com wrote:

Sorry for the delay. If you don't mind re-downloading and trying again, I may have fixed it. I also added a -help option that gives an overview of configuration options

— Reply to this email directly or view it on GitHub https://github.com/klep/scanline/issues/2#issuecomment-146760494.

RomanticStrings commented 8 years ago

Here is the list of issues. It seems that there is some disconnect between the versions.

On Fri, Oct 9, 2015 at 7:44 AM, Conor Cook conor.p.cook@gmail.com wrote:

Scott,

Thank you. I did run it in XCode, and it built successfully, but with a few messages. I am not getting the -help options, though, when I run from command-line.

~Conor

On Fri, Oct 9, 2015 at 12:53 AM, klep notifications@github.com wrote:

Sorry for the delay. If you don't mind re-downloading and trying again, I may have fixed it. I also added a -help option that gives an overview of configuration options

— Reply to this email directly or view it on GitHub https://github.com/klep/scanline/issues/2#issuecomment-146760494.

klep commented 8 years ago

I don't think the list came through, but they are likely warnings that don't affect the app if it built successfully.

Are you sure you're running the version that you built? Check the timestamp on the executable to make sure. The help command is:

scanline -help

The build output may be in a weird place, like ~/Library/Developer/Xcode/DerivedData/scanline-[something]/Build/Products/Debug/scanline

klep commented 8 years ago

(I'm also looking into ways to make this easier so you don't have to build it yourself)