ios - Import XCTest in to existing project -
i added new target cocoa touch unit testing bundle, named directory "myapptests", , actual framework not active-- highlighted red

when add framework 'link binary libraries' in 'build phases' tab technique, new framework added, instead of updating 1 created adding target.

when go run code, run in sorts of troubles, ranging linking errors other frameworks not being recognized.
how can activate xctest.framework generated when added target? please help, thank you!
xctest.framework bundle xcode uses enable
#import <xctest/xctest.h> to add test cases existing project select target, right click > file > new > objective c test case class. in build phases can add xctest.framework. make sure check add target boxes when creating test case.
Comments
Post a Comment