davekeck / Xcode-4-Fixins

Plugins for fixing Xcode 4 bugs and shortcomings
362 stars 41 forks source link

Desperately needs ability to toggle Logging / Loglevel #8

Closed mralexgray closed 12 years ago

mralexgray commented 12 years ago

I couldnt find anywhere that LOG_XXX or DEBUG_XXX was #define'd, etc....

commenting out the NSlog's is dicey in places...

a preprocessor Macro, or something, pretty please?

xcodebuild environment gets bombarded with this kind of stuff...

2012-08-28 09:46:51.316 xcodebuild[1369:1207] XCFixin_FindFix initialization attempt 2/3... 2012-08-28 09:46:51.317 xcodebuild[1369:1207] XCFixin_FindFix initialization successful! 2012-08-28 09:46:51.320 xcodebuild[1369:1207] XCFixin_DisableWriteStateData initialization attempt 2/3... 2012-08-28 09:46:51.320 xcodebuild[1369:1207] Assertion failed (file: /Volumes/+10RAID2000/ServiceData/git/Xcode-4-Fixins/XCFixin_DisableWriteStateData/../Shared Code/XCFixin.m, function: IMP XCFixinOverrideMethod(Class, SEL, IMP), line: 11): class 2012-08-28 09:46:51.321 xcodebuild[1369:1207] Assertion failed (file: /Volumes/+10RAID2000/ServiceData/git/Xcode-4-Fixins/XCFixin_DisableWriteStateData/XCFixin_DisableWriteStateData.m, function: +[XCFixin_DisableWriteStateData pluginDidLoad:], line: 25): gOriginalWriteStateData 2012-08-28 09:46:51.322 xcodebuild[1369:1207] XCFixin_DisableWriteStateData initialization failed.

tom-seddon commented 12 years ago

Which revision of the fixins are you using? This sort of thing should have been fixed by https://github.com/davekeck/Xcode-4-Fixins/commit/49df716448a73861045ce7a16986ae81933f3e2e and https://github.com/davekeck/Xcode-4-Fixins/commit/058e0c466b549f8ea668749e6b6ce84cb46e9d4b.

(This doesn't take out the logging, it just stops the fixins loading unless it's Xcode.app that's launching. The fixins aren't much use outside Xcode.app anyway. We might need to do something better in the long run...)

tom-seddon commented 12 years ago

Will close in the next week if there are no further comments.