You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
When running tests under XCode 5, it fails to build due to a linker error with UITouch.
The error produced by XCode is:
Undefined symbols for architecture armv7s:
"_OBJC_IVAR_$_UITouch._gestureView", referenced from:
-[UITouch(KIFAdditions) initAtPoint:inWindow:] in libPods-IntegrationTests.a(UITouch-KIFAdditions.o)
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The project being tested is an iOS 6.0 project.
The workaround is to use XCode 4 to run KIF tests.
The text was updated successfully, but these errors were encountered:
It would appear the SDK you are compiling against does not have this iVar. Using reflection, there is a method -[UITouch setGestureView:(UIView *)gestureView] which you could use in place of an iVar:
Internally, it appears that all ivars are being set via undocumented setters. The category could be reworked only to use the same setters as _UIApplicationHandleEvent and not reference any ivars.
When running tests under XCode 5, it fails to build due to a linker error with UITouch.
The error produced by XCode is:
The project being tested is an iOS 6.0 project.
The workaround is to use XCode 4 to run KIF tests.
The text was updated successfully, but these errors were encountered: