ios - Xcode 6.1.1 xctest release -


i create new project , set (run) build configuration release,the issue.

this code.

#import "viewcontroller.h"  @interface testtests : xctestcase  @end  @implementation testtests  - (void)testexample {   viewcontroller *vc = [[viewcontroller alloc] init];   xctassertnotnil(vc); }  @end 

issue

undefined symbols architecture x86_64: "_objc_class_$_viewcontroller", referenced from: objc-class-ref in testtests.o ld: symbol(s) not found architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation)

oups, sorry… missing link corefoundation framework!

libs += corefoundation 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -