Hi All
Ive just upgraded to Xcode 5.1 and now my project is displaying the error OCUnit Deprecated Ive been having several issues with Xcode and my project was using sparrow 1.0 so I thought it high time I reinstalled Xcode a fresh and upgraded my project to sparrow 2.0, the reinstall wasn't exactly successful all of my Xcode projects settings and problems seem to have hidden themselves away on my hard drive somewhere and followed me. which is very annoying considering Xcode 4.3 and higher is supposed to be completely self contained iOS style but is seems deleting the app isn't as simple as they claim and doesn't remove all the detritus, sorry had to get that little rant out of the way 😉
Anyway Ive loaded the Sparrow 2.0 barebones project into Xcode changed the source tree variable to my Sparrow 2.0 scr folder but Im still getting the error OCUnit Depreciated Ive clicked on the error and get the following window
The project “Sparrow” uses OCUnit for unit testing, which is deprecated. Choose “Convert to XCTest” to update this project to use XCTest for unit testing.
But when I click on the convert to XCTest button there is a screen which asks me to select Targets to use XCTest but there are no filter results so it won't let me progress, when I ignore the warning and run the barebones project, it runs OK (previously when I ignored the error my old project exploded into a long list of warnings and errors) but now I get 2 warnings
Apple Mach-o Librarian warning /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified, -all_load invalid
Apple Mach-o Librarian warning /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/libz.dylib is a dynamic library, not added to the static library
Any help greatly appreciated 🙂