I am implementing test units to my project based on the documentation tutorial.
I selected to create a test target when creating the project which will be used for “logic” testing, and now I am creating a second target for “application” testing and only when running Test on this second target I get this warning:
Class __ARCLite__ is implemented in both
/Users/.../iPhone Simulator/5.0/.../<AppName>.app/<AppName>
and /Users/.../Build/Products/Debug-iphonesimulator/<AppName>AppTests.octest/<AppName>AppTests.
One of the two will be used. Which one is undefined.
I freshly created the target using the documentation guide Setting Up Application Unit Tests.
It also surprises me that there are no references to such “ARCLite” class, neither here, documentation or Google (besides some chinese site results).
Any idea? Thanks
I’m not positive, but my guess is that the
__ARCLite__class is what deals with ARC on OS X 10.6/iOS 4 (where ARC isn’t part of the system runtime). As far as this warning is concerned, I wouldn’t worry about it; if you compiled both the application and the library the classes should be identical.