I got the same binding error for Simulator after upgrading from Xcode 4.2 -> 4.3.1. I noticed that new projects in 4.3.1 work with Unit Tests, so I just compare the differences of the project.
This has been fixed for me: -
- Select a project in the project navigator
- Choose a test target
- Select Build Settings
- Go to the search paths in the Framework and click once on it.
- Delete everything that is.
- Enter $ (SDKROOT) / Developer / Library / Frameworks $ (DEVELOPER_LIBRARY_DIR) / Frameworks
- If you have any custom frameworks, add them back
Actually, device tests also work on the device too.
Phil penn
source share