I can't import LocalAuthentication on Xcode 6 beta. After Adding LocalAuthentication.framework on "Link binary with libraries" i tried to import the framework/class by @import LocalAuthentication; or by #import but Xcode don't recognise the framework. I tried to change "Deployment target" on settings to iOS 8.0 but it didn't helped. Any ideas?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Yes,Same Problem Occurs when i tried in Xcode 6. But It worked fine when I use an iPhone Device, change "Deployment target" on settings to iOS 7.0, build and run in Iphone device.
But Touch ID not Supported in my ipod Device and Simulator.. Its works only in iPhone 5s Device.
回答2:
FYI:
Fixed in beta 3 Projects using LocalAuthentication won’t build if the Destination is set to iOS Simulator.