-
Notifications
You must be signed in to change notification settings - Fork 286
ATTN: Enabled shared Schemes #1693
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
Comments
OK, I deleted all those not ticked for ‘shared’. Everything still seems to work fine. What’s the advantage? Most of the warnings are just "undeclared selector” warnings. Pretty easy to fix up, and should help with documentation as well… :D On 29 Nov 2013, at 05:43, Etienne Samson notifications@github.com wrote:
|
P.S. Can the warning cleanup wait until we’ve got some of your outstanding PRs merged, incase of conflicts? On 29 Nov 2013, at 05:43, Etienne Samson notifications@github.com wrote:
|
The advantage is that 1) I rearranged the scheme so the Distribution target is first (no more "I built QS but it just beeps around"), 2) we can actually share the scheme settings with one another (like I think the Distribution one I pushed has the memory debug setup I use), 3) PROFIT! and 4) they're setup so that Building, Testing and debugging works out of the box (that's useful for Jenkins). I tried to fix the warnings, but since #1147, #1601 and #1611 exists, I'm cautiously not fixing warnings in there. And I found some oddities while doing so, so I guess that's helpful in a way ;-). |
Only one problem: With all non-shared schemes deleted, none of the other branches can be built. Should we all go rebase our open pulls to address this? |
Oh didn't think about that... I should have put this in a PR then, sorry guys :-S. I'd say a quick |
Can anyone else get the application to run now? It keeps stopping with an EXC_BAD_INSTRUCTION in |
I'll try as soon as I'm back from work. But I could tell the same thing about #1611 — I can't debug anything when that thing isn't merged because it breaks all over the place... |
Works fine from me, running from master. Tried force refreshing the Contacts catalog entry as well. On 30 Nov 2013, at 00:07, Rob McBroom notifications@github.com wrote:
|
Quick note so I don't forget. We have 2 failing tests :
|
Actually, the UTI test has been failing for quite some time, I just never investigated why. Changing the file we test to I’m not sure what we should do about the naming test. |
Worked for me. Seems like the OS isn’t that clever about figuring out the executable type from the +x bit on the file (or by checking the first few bytes of the file for #!) like we do. On 30 Nov 2013, at 08:55, Rob McBroom notifications@github.com wrote:
|
OK, I’ve got those EXC_BAD_ACCESS crashes, tracked it down to the contacts plugin as well I think. I thought it could have been to do with the fact Etienne enabled malloc history, but disabling it doesn’t help. I then tried to debug/run QS from the Contacts plugin .xcodeproj, and it worked fine - after which, it worked fine running from the QS.xcodeproj itself. Etienne did you perhaps change how binaries are built somehow so they’re incompatible with ‘old’ built binaries until they’re rebuilt? I have no idea, just a guess. FWIW - how can I use malloc_history. I’ve done Reformatted by Etienne |
The syntax's That'll give you an "timeline" of what was allocated at that address (top is first). You'll see "ALLOC" and "FREE" lines separated by "--" (IIRC), it's pretty useful to know :
I don't think what I enabled would have caused binary incompatibilities, I just enabled warnings and disabled building all archs in debug (which is useless since we're only targeting x86_64 atm. I'm still not seeing But I'm getting at startup (often but not always) :
|
OK, whilst trying to send my previous email and battling with problematic internet, I managed to track the problem down to… the Address Book plugin at QSABSource.m:L133 The line is:
For some weird reason, I thought it might be a threading issue (maybe sharedAddressBook isn’t thread safe) but I checked the backtrace and Apple uses a lock, so I’m pretty sure it’s thread safe. Plus, I tried wrapping the code in a GCD block to dispatch to the main queue and the crash still occurred. Here’s the info you wanted, although I doubt it’ll be any useful Backtrace memory_history: Enjoy ;-) On 1 Dec 2013, at 09:15, Etienne Samson notifications@github.com wrote:
|
Hmmm. The backtrace of thread 1 looks suspicious too... Just to be sure, that's 10.9 or 10.8 ? Can you try editing the scheme and disabling the 2 zombies things that are in Arguments as well as unchecking everything under Diagnostics ? |
10.9 I did as you said. The culprit is NSZombieEnabled On 1 Dec 2013, at 18:51, Etienne Samson notifications@github.com wrote:
|
Yay ! I'll push a commit to the fix-warning PR that removes those debugging flags. |
OK... so this is very ugly for one reason: I just checked out the For those wondering, a temporary fix is to:
|
Yeah, I ran into that. Probably not good in the long run. As for getting back the old ones… Time Machine? Are they the same for all of us? If so, if I find them, I can send them out. |
Temporary work-around: When you have no schemes, go to “Manage Schemes…” and click the |
I just pushed Xcode schemes in the repo (yeah, straight to master, no PR). You guys will end up with duplicate schemes until you do some cleanup manually by going to "Manage Schemes" and removing the non-shared ones.
I also brought the xcconfig files up to date (now 120 warnings, yay). I'll do a PR to fix those.
The text was updated successfully, but these errors were encountered: