Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Xcode 4 Unit Test All Architectures
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 4 Unit Test All Architectures



Is there a way to make Xcode 4.0.1 run the unit tests for both i386 and x86_64? My scheme has Test set to use the Deployment configuration (ONLY_ACTIVE_ARCH = NO), so I expected this to work like in Xcode 3, but it doesn't. It seems to only run the tests for one architecture, depending on whether I have "My Mac 32-bit" or "My Mac 64-bit" selected as the run destination.

I can do:

    xcodebuild -target MyTestBundle -configuration Deployment

in Terminal, and it will test all the architectures, but I'd rather have this happen from the Xcode UI when I choose Project > Test.

--Michael


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.