openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

Nightly build + Xcode doesn't jump to error location

Open stephanschulz opened this issue 2 years ago • 5 comments

I am using nightly build of_v20220530_osx_release with macOS 10.15.7 and Xcode Version 12.4 (12D4e)

I noticed a problem, when I have a compile error and I click on the compile error in the Issue Navigator then Xcode does not jump to the error's location.

Here my simple example: https://www.dropbox.com/sh/45tmj81bbb6oizs/AABTenKh9SDXYh6e12Z8UAnXa?dl=0

My project path: Screen Shot 2022-05-31 at 8 18 18 AM

Here you can see how after clicking on the error the code window did not jump to the location: Screen Shot 2022-05-31 at 8 14 01 AM

Here I am using OF 0.11.2 which does not have this problem. Screen Shot 2022-05-31 at 8 14 50 AM

The strange part is that this does not happen for all projects right away, but at some point (restarting Xcode, using project generator, etc) this happens to all projects, when using nightly build.

Has anyone had this problem?

stephanschulz avatar May 31 '22 12:05 stephanschulz

If I switch to 'legacy build system" then it works again. Screen Shot 2022-05-31 at 9 07 52 AM

stephanschulz avatar May 31 '22 13:05 stephanschulz

I've just tested with today's nightly build and github master and cannot reproduce. I'm using macOS 12.4 and XCode 13.4 (13F17a)

dimitre avatar May 31 '22 13:05 dimitre

@dimitre thanks for testing this. Might be something specific to my older macOS and older Xcode. I am hesitant to upgrade my development machine at this point in order to see if that would fix it.

stephanschulz avatar May 31 '22 13:05 stephanschulz

in case it's helpful, I have noticed odd behavior with new build system on older Xcodes but haven't seen it recently since upgrading to more recent ones-- linking errors, etc. Note that this was a while ago (I think around Xcode 10 or so)

ofZach avatar May 31 '22 14:05 ofZach

@stephanschulz most changes are in Project.xcconfig. you can try to comment out compiler settings to see if it makes some difference in your system

dimitre avatar May 31 '22 14:05 dimitre

@stephanschulz are you still experiencing this? Can the issue be closed? Thanks

dimitre avatar Sep 30 '22 23:09 dimitre

I have not seen this issue with OF 0.11.2 on macOS 12.6 and on 10.15.7 doing legacy build solved it too. Thanks for your help.

stephanschulz avatar Oct 01 '22 01:10 stephanschulz