Ok, a few issues:

Issue 1:  Nick, you were right in that I was totally misunderstanding the 
distinction between Project and Target -- this didn't matter in XCode 3.2.5 
since the architecture macros were fine, but in 3.2.6 this changed.   It also 
didn't help that my xcode file name, project name, and target names were all 
the same, and I didn't realize that the Info button is context sensitive (the 
contents of the info window depends on what you have selected when you click 
it, of course).  My fault.

So I've fixed that.

Issue 2: started getting link errors when trying to build including "ppc64".  
Removed that and now it compiles & links just fine.

Issue 3: supposing that I want to support the G3, G4, and G5 ppc chips, but 
only care about OS X 10.4 and later -- what ppc archs should I use?

Performance here is not terribly important, so if there's one minimal setting I 
can use that reduces file size, I'm happy to use it.

Should I just use:
  archs = i386 x86_64 ppc 

or perhaps
  archs = i386 x86_64 ppc ppc7400 ppc970

Not clear on what the differences are and the consequences for chip.

Does anyone know which PPC archs were included in the former (XCode 3.2.5) 
Universal Binary app macro?

Thanks again for your help :)




On Apr 8, 2011, at 11:14 AM, Michael Diehr wrote:

> On Apr 8, 2011, at 11:00 AM, Nick Zitzmann wrote:
>>> 
>>> Is this perhaps an XCode bug?
>> 
>> No.
>> 
>>> Any ideas what to do here?  What's the difference between PBXNativeTarget 
>>> and PBXProject?
>> 
>> Projects and targets can have different configuration settings. Settings 
>> assigned to the target apply only to that target, while settings assigned to 
>> the project apply to all targets in the project unless they are overridden. 
>> You have the Release settings correct for the project, but not for the 
>> target, and the target overrides the project.
>> 
> 
> Ok, you may be right that I'm confused about Target vs. Project settings.
> 
> However, I'm pretty sure there is an actual bug here:
> 
> In 3.2.6:
> * double-click  MyProject.xcodeproj in the finder
> * with the root item selected in Groups&Files
> * click the "Info" button in the toolbar
> 
> Result:
> Configuration shows:
> Active (Release)
> Architectures: i386, x86_64, ppc, ppc64, ppc7400, ppc970
> 
> (that's what I expect)
> 
> * close the Info window
> * From the Project menu,  choose "Edit Active Target"
> 
> Result:
> Configuration shows:
> Active (Release)
> Architectures: Standard (32/64 bit Intel)
> 
> At this point, switching the Configuration popup from Active (Release) to 
> Release has no effect -- I can't get it to show " Architectures: i386, 
> x86_64, ppc, ppc64, ppc7400, ppc970" any longer.
> 
> And then a little later Xcode crashes (see crash log below)
> 
> So, there seems to be some bug with XCode getting confused about target 
> settings.
> 
> 
>> Also, there is no reason to disable the accelerated dispatch unless you are 
>> still targeting Panther users. And there aren't that many of them that are 
>> still around & downloading new software.
> 
> Thanks, I no longer support 10.3 users...
> 
> 
> Crash log:
> 
> Application Specific Information:
> objc_msgSend() selector name: groupTreeDisplayName
> objc[32172]: garbage collection is ON
> 
> Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
> 0   libobjc.A.dylib                   0x00007fff8547b11c objc_msgSend + 40
> 1   ...ple.Xcode.DevToolsInterface    0x000000010084d46d -[PBXGroupTreeModule 
> outlineView:objectValueForTableColumn:byItem:] + 143
> 2   com.apple.AppKit                  0x00007fff85838a00 -[NSTableView 
> preparedCellAtColumn:row:] + 323
> 3   com.apple.AppKit                  0x00007fff858518e7 -[NSTableView 
> _drawContentsAtRow:column:withCellFrame:] + 47
> 4   com.apple.AppKit                  0x00007fff8585185d -[NSOutlineView 
> _drawContentsAtRow:column:withCellFrame:] + 95
> 5   com.apple.AppKit                  0x00007fff85850980 -[NSTableView 
> drawRow:clipRect:] + 1242
> 6   com.apple.AppKit                  0x00007fff85850273 -[NSTableView 
> drawRowIndexes:clipRect:] + 369
> 7   com.apple.AppKit                  0x00007fff858500f4 -[NSOutlineView 
> drawRowIndexes:clipRect:] + 131
> 8   com.apple.AppKit                  0x00007fff8584ec20 -[NSTableView 
> drawRect:] + 1302
> 9   com.apple.AppKit                  0x00007fff85844c49 -[NSView 
> _drawRect:clip:] + 3390
> 10  com.apple.AppKit                  0x00007fff858438bc -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1325
> 11  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 12  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 13  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 14  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 15  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 16  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 17  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 18  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 19  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 20  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 21  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 22  com.apple.AppKit                  0x00007fff85843c26 -[NSView 
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
> 23  com.apple.AppKit                  0x00007fff85841f8e -[NSView 
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
>  + 767
> 24  com.apple.AppKit                  0x00007fff85841ab0 -[NSThemeFrame 
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
>  + 254
> 25  com.apple.AppKit                  0x00007fff8583e362 -[NSView 
> _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
> 26  com.apple.AppKit                  0x00007fff857b7b9a -[NSView 
> displayIfNeeded] + 969
> 27  com.apple.AppKit                  0x00007fff8576971a -[NSWindow 
> _setFrameCommon:display:stashSize:] + 1895
> 28  com.apple.AppKit                  0x00007fff858b0133 -[NSWindow 
> _setFrameFromString:force:] + 1187
> 29  ...ple.Xcode.DevToolsInterface    0x0000000100816fcb 
> -[XCPerspectiveModule setWantsModuleWindow:] + 1130
> 30  ...ple.Xcode.DevToolsInterface    0x0000000100813a98 
> +[XCPerspectiveModule openForProjectDocument:] + 152
> 31  ...ple.Xcode.DevToolsInterface    0x0000000100813543 -[PBXProjectDocument 
> makeWindowControllers] + 511
> 32  ...ple.Xcode.DevToolsInterface    0x000000010081121e 
> -[PBXDocumentController 
> _innerOpenDocumentWithContentsOfFile:display:didOpenWithExternalEditor:] + 108
> 33  ...ple.Xcode.DevToolsInterface    0x0000000100811086 
> -[PBXDocumentController 
> openDocumentWithContentsOfFile:display:didOpenWithExternalEditor:] + 285
> 34  com.apple.Xcode                   0x0000000100009d28 0x100000000 + 40232
> 35  com.apple.Xcode                   0x00000001000053d1 0x100000000 + 21457
> 36  com.apple.Xcode                   0x00000001000053b8 0x100000000 + 21432
> 37  com.apple.AppKit                  0x00007fff859656fc -[NSApplication 
> _doOpenFile:ok:tryTemp:] + 330
> 38  com.apple.AppKit                  0x00007fff859b6adb 
> -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 766
> 39  com.apple.AppKit                  0x00007fff8588300d 
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 217
> 40  com.apple.Foundation              0x00007fff82086e42 
> -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 360
> 41  com.apple.Foundation              0x00007fff82086c72 
> _NSAppleEventManagerGenericHandler + 114
> 42  com.apple.AE                      0x00007fff84b78323 
> aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 
> 162
> 43  com.apple.AE                      0x00007fff84b7821c 
> dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32
> 44  com.apple.AE                      0x00007fff84b78123 aeProcessAppleEvent 
> + 210
> 45  com.apple.HIToolbox               0x00007fff87669619 AEProcessAppleEvent 
> + 48
> 46  com.apple.AppKit                  0x00007fff8578804b _DPSNextEvent + 1205
> 47  com.apple.AppKit                  0x00007fff857877a9 -[NSApplication 
> nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
> 48  com.apple.AppKit                  0x00007fff8574d48b -[NSApplication run] 
> + 395
> 49  com.apple.AppKit                  0x00007fff857461a8 NSApplicationMain + 
> 364
> 50  com.apple.Xcode                   0x0000000100001694 0x100000000 + 5780
> 
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/md03%40xochi.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to