XCode builds not AppCode

Hi,
I have a project "MyProject" which includes another static library project "Z1Theme". When I use a class from the static lib in the main project, I'm getting code completion and everything seems to work as expected:

Screen Shot 2012-07-03 at 4.11.33 PM.png

If I build the project, I get the error

Building target 'Z1Theme' from 'Z1Theme' with configuration 'Debug' for architecture 'i386' using 'Simulator - iOS 6.0' sdk
Building target 'RestKit' from 'RestKit' with configuration 'Debug' for architecture 'i386' using 'Simulator - iOS 6.0' sdk
Building target 'MyProject' from 'MyProject' with configuration 'Debug' for architecture 'i386' using 'Simulator - iOS 6.0' sdk
The following build commands failed:
CompileC /Users/me/Library/Caches/appCode10/DerivedData/MyProject-debd1b7e/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/i386/MyClass.o MyProject/Classes/MyClass.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
/Users/me/xworkspace/MyProject/MyProject/Classes/MyClass.m
no known instance method for selector 'baseTintColor'




If I build the same project using XCode, it builds and runs fine. What could be the problem? I did add the library as a dependency of the main project and I did add the lib into the "Link Binary With LIbraries" section.


thanks,
Tex

0
1 comment

Edit, just after posting, I've noticed that there was an old header file in a appCode10/DerivedData subfolder that AppCode was picking up (I did modify the path of the headers). I deleted it manually and now it works ;)

0

Please sign in to leave a comment.