Skip to content

Instantly share code, notes, and snippets.

@takamii
Created June 10, 2012 12:02
Show Gist options
  • Save takamii/2905165 to your computer and use it in GitHub Desktop.
Save takamii/2905165 to your computer and use it in GitHub Desktop.
実機でtheos使ってmakeしてみた時のエラー。たぶんheader-fileが読み込めてない。試しにつかったソースはSwipeShiftCaret
Making all for tweak SwipeShiftCaret...
Preprocessing SwipeShiftCaret.x...
Compiling SwipeShiftCaret.x...
SwipeShiftCaret.x:2:46: error: UIKit/UIGestureRecognizerSubclass.h: No such file or directory
SwipeShiftCaret.x:13: error: cannot find protocol declaration for 'UITextInput'
SwipeShiftCaret.x:35: error: expected ')' before 'UIKBKey'
SwipeShiftCaret.x:40: error: cannot find interface declaration for 'UISwipeGestureRecognizer', superclass of 'SCSwipeGestureRecognizer'
SwipeShiftCaret.x:43: error: expected ')' before 'UIGestureRecognizer'
SwipeShiftCaret.x: In function '-[SCSwipeGestureRecognizer canBePreventedByGestureRecognizer:]':
SwipeShiftCaret.x:44: error: 'UIPanGestureRecognizer' undeclared (first use in this function)
SwipeShiftCaret.x:44: error: (Each undeclared identifier is reported only once
SwipeShiftCaret.x:44: error: for each function it appears in.)
SwipeShiftCaret.x:45: error: request for member 'view' in something not a structure or union
SwipeShiftCaret.x:47: error: request for member 'state' in something not a structure or union
SwipeShiftCaret.x:47: error: 'UIGestureRecognizerStateFailed' undeclared (first use in this function)
cc1obj: warnings being treated as errors
SwipeShiftCaret.x:48: warning: 'SCSwipeGestureRecognizer' may not respond to '+class'
SwipeShiftCaret.x:48: warning: (Messages without a matching method signature
SwipeShiftCaret.x:48: warning: will be assumed to return 'id' and accept
SwipeShiftCaret.x:48: warning: '...' as arguments.)
SwipeShiftCaret.x: At top level:
SwipeShiftCaret.x:53: error: expected ')' before 'UIGestureRecognizer'
SwipeShiftCaret.x: In function '-[SCSwipeGestureRecognizer canPreventGestureRecognizer:]':
SwipeShiftCaret.x:54: error: 'UISwipeGestureRecognizer' undeclared (first use in this function)
SwipeShiftCaret.x: At top level:
SwipeShiftCaret.x:63: error: cannot find interface declaration for 'UIPanGestureRecognizer', superclass of 'SCPanGestureRecognizer'
SwipeShiftCaret.x:66: error: expected ')' before 'UIGestureRecognizer'
SwipeShiftCaret.x: In function '-[SCPanGestureRecognizer canBePreventedByGestureRecognizer:]':
SwipeShiftCaret.x:67: error: 'UIPanGestureRecognizer' undeclared (first use in this function)
SwipeShiftCaret.x:68: error: request for member 'view' in something not a structure or union
SwipeShiftCaret.x:70: error: request for member 'state' in something not a structure or union
SwipeShiftCaret.x:70: error: 'UIGestureRecognizerStateCancelled' undeclared (first use in this function)
SwipeShiftCaret.x:71: warning: 'SCPanGestureRecognizer' may not respond to '+class'
SwipeShiftCaret.x: At top level:
SwipeShiftCaret.x:76: error: expected ')' before 'UIGestureRecognizer'
SwipeShiftCaret.x: In function '-[SCPanGestureRecognizer canPreventGestureRecognizer:]':
SwipeShiftCaret.x:77: warning: 'SCPanGestureRecognizer' may not respond to '+class'
SwipeShiftCaret.x:78: error: 'UISwipeGestureRecognizer' undeclared (first use in this function)
SwipeShiftCaret.x: In function 'InstallSwipeGestureRecognizer':
SwipeShiftCaret.x:89: error: 'UIGestureRecognizer' undeclared (first use in this function)
SwipeShiftCaret.x:89: error: 'gesture' undeclared (first use in this function)
SwipeShiftCaret.x:89: warning: 'UIView' may not respond to '-gestureRecognizers'
SwipeShiftCaret.x:90: warning: 'SCPanGestureRecognizer' may not respond to '+class'
SwipeShiftCaret.x:91: warning: 'UIView' may not respond to '-removeGestureRecognizer:'
SwipeShiftCaret.x:93: error: selector element does not have a valid object type
SwipeShiftCaret.x:93: warning: 'SCSwipeGestureRecognizer' may not respond to '+alloc'
SwipeShiftCaret.x:93: warning: no '-initWithTarget:action:' method found
SwipeShiftCaret.x:94: error: request for member 'direction' in something not a structure or union
SwipeShiftCaret.x:94: error: 'UISwipeGestureRecognizerDirectionRight' undeclared (first use in this function)
SwipeShiftCaret.x:95: warning: 'UIView' may not respond to '-addGestureRecognizer:'
SwipeShiftCaret.x:96: warning: 'SCSwipeGestureRecognizer' may not respond to '-release'
SwipeShiftCaret.x:98: warning: 'SCSwipeGestureRecognizer' may not respond to '+alloc'
SwipeShiftCaret.x:98: warning: no '-initWithTarget:action:' method found
SwipeShiftCaret.x:99: error: request for member 'direction' in something not a structure or union
SwipeShiftCaret.x:99: error: 'UISwipeGestureRecognizerDirectionLeft' undeclared (first use in this function)
SwipeShiftCaret.x:100: warning: 'UIView' may not respond to '-addGestureRecognizer:'
SwipeShiftCaret.x:101: warning: 'SCSwipeGestureRecognizer' may not respond to '-release'
SwipeShiftCaret.x: In function 'InstallPanGestureRecognizer':
SwipeShiftCaret.x:108: warning: 'SCPanGestureRecognizer' may not respond to '+alloc'
SwipeShiftCaret.x:108: warning: no '-initWithTarget:action:' method found
SwipeShiftCaret.x:109: error: request for member 'cancelsTouchesInView' in something not a structure or union
SwipeShiftCaret.x:110: warning: 'UIView' may not respond to '-addGestureRecognizer:'
SwipeShiftCaret.x:111: warning: 'SCPanGestureRecognizer' may not respond to '-release'
SwipeShiftCaret.x: In function 'ShiftCaret':
SwipeShiftCaret.x:121: error: 'UITextPosition' undeclared (first use in this function)
SwipeShiftCaret.x:121: error: 'position' undeclared (first use in this function)
SwipeShiftCaret.x:122: error: request for member 'selectedTextRange' in something not a structure or union
SwipeShiftCaret.x:122: error: 'UITextLayoutDirectionLeft' undeclared (first use in this function)
SwipeShiftCaret.x:122: warning: 'UIView' may not respond to '-positionFromPosition:inDirection:offset:'
SwipeShiftCaret.x:123: error: request for member 'selectedTextRange' in something not a structure or union
SwipeShiftCaret.x:123: error: 'UITextLayoutDirectionRight' undeclared (first use in this function)
SwipeShiftCaret.x:123: warning: 'UIView' may not respond to '-positionFromPosition:inDirection:offset:'
SwipeShiftCaret.x:127: error: 'UITextRange' undeclared (first use in this function)
SwipeShiftCaret.x:127: error: 'range' undeclared (first use in this function)
SwipeShiftCaret.x:127: warning: 'UIView' may not respond to '-textRangeFromPosition:toPosition:'
SwipeShiftCaret.x:128: error: request for member 'selectedTextRange' in something not a structure or union
SwipeShiftCaret.x: In function '_logos_method$_ungrouped$UIKeyboardLayoutStar$touchesBegan$withEvent$':
SwipeShiftCaret.x:169: error: 'UIKBKey' undeclared (first use in this function)
SwipeShiftCaret.x:169: error: 'kb' undeclared (first use in this function)
SwipeShiftCaret.x: At top level:
SwipeShiftCaret.x:218: error: expected declaration specifiers or '...' before 'UISwipeGestureRecognizer'
SwipeShiftCaret.x:224: error: expected declaration specifiers or '...' before 'UISwipeGestureRecognizer'
SwipeShiftCaret.x:231: error: expected declaration specifiers or '...' before 'UIPanGestureRecognizer'
SwipeShiftCaret.x: In function '_logos_method$_ungrouped$UIView$SCPanGestureDidPan$':
SwipeShiftCaret.x:237: error: nested functions are disabled, use -fnested-functions to re-enable
SwipeShiftCaret.x:237: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
SwipeShiftCaret.x:237: error: 'startTextRange' undeclared (first use in this function)
SwipeShiftCaret.x:242: error: 'gesture' undeclared (first use in this function)
SwipeShiftCaret.x:250: error: 'UIGestureRecognizerStateEnded' undeclared (first use in this function)
SwipeShiftCaret.x:250: error: 'UIGestureRecognizerStateCancelled' undeclared (first use in this function)
SwipeShiftCaret.x:267: error: 'UITextRange' undeclared (first use in this function)
SwipeShiftCaret.x:267: error: 'range' undeclared (first use in this function)
SwipeShiftCaret.x:267: error: request for member 'selectedTextRange' in something not a structure or union
SwipeShiftCaret.x:269: warning: 'UIView' may not respond to '-firstRectForRange:'
SwipeShiftCaret.x:269: error: incompatible type for argument 1 of 'PopupMenu'
SwipeShiftCaret.x:282: error: 'UIGestureRecognizerStateBegan' undeclared (first use in this function)
SwipeShiftCaret.x:285: error: request for member 'selectedTextRange' in something not a structure or union
SwipeShiftCaret.x:291: error: 'UIGestureRecognizerStateChanged' undeclared (first use in this function)
SwipeShiftCaret.x:315: error: 'UITextPosition' undeclared (first use in this function)
SwipeShiftCaret.x:315: error: 'position' undeclared (first use in this function)
SwipeShiftCaret.x:319: error: 'UITextLayoutDirectionLeft' undeclared (first use in this function)
SwipeShiftCaret.x:319: error: 'UITextLayoutDirectionRight' undeclared (first use in this function)
SwipeShiftCaret.x:320: warning: 'UIView' may not respond to '-positionFromPosition:inDirection:offset:'
SwipeShiftCaret.x:324: warning: 'UIView' may not respond to '-positionFromPosition:inDirection:offset:'
SwipeShiftCaret.x:332: warning: 'UIView' may not respond to '-textRangeFromPosition:toPosition:'
SwipeShiftCaret.x:335: warning: 'UIView' may not respond to '-textRangeFromPosition:toPosition:'
SwipeShiftCaret.x:337: warning: 'UIView' may not respond to '-textRangeFromPosition:toPosition:'
SwipeShiftCaret.x:339: error: request for member 'selectedTextRange' in something not a structure or union
make[2]: *** [obj/SwipeShiftCaret.x.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [SwipeShiftCaret.all.tweak.variables] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment