0

when i enable keyboard target extension on .m file then this controller give errors like Use of undeclared identifier. i am creating custom keyboard extension on swift and i want add objective c class on keyboard target extension like

enter image description here

when i disable custom keyboard like this

enter image description here

then app work proper but i required to enable extension target so, how can i solve this issue.

i already check bridging file and build phase in compile resource on both extension and host app target.

Thanks

ikbal
  • 1,114
  • 1
  • 11
  • 30
  • Have you add .m file Custom Keyboard target? – kb920 May 21 '16 at 06:16
  • yes i add but that time show error in .m file like undeclared identifier without add .m file on custom keyboard proper run the project. i want create object of custom keyboard class without add target its not possible to create object of keyboard controller class. – ikbal May 24 '16 at 07:06
  • without add target create an object on mainView controller then show this type of error * "_OBJC_CLASS_$_MainViewController", referenced from: * – ikbal May 24 '16 at 07:15

0 Answers0