Can't import LocalAuthentication on Xcode 6 be

2019-02-13 14:53发布

问题:

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.



标签: ios8 xcode6