Unit Testing iPhone - Linker Errors
        Posted  
        
            by sliver
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by sliver
        
        
        
        Published on 2009-09-22T15:36:26Z
        Indexed on 
            2010/03/13
            11:25 UTC
        
        
        Read the original article
        Hit count: 778
        
iphone
|unit-testing
I've followed the Unit Testing Applications guide from the iPhone Development documentation. I followed all the steps and it worked with the TestCase from the documentation. But as soon as I changed the TestCase to test real Code from my project I ended up with linker errors. All classes that are used in the TestCase are reported as missing.
I've already searched the internet and found that the Bundle Loader property must be set to "$(BUILT_PRODUCTS_DIR)/MyApplication.app/Contents/MacOS/MyApplication". But this also fails because the file could not be found.
Any ideas what I have to do to tell the linker where to search for the missing files?
© Stack Overflow or respective owner