Cannot import LocalAuthentication into Xcode 6 beta

I cannot import LocalAuthentication into the beta version of Xcode 6. After adding LocalAuthentication.framework to "Link binary with libraries" I tried to import the @import LocalAuthentication framework / class; or #import, but Xcode does not recognize the framework. I tried to change the "Deployment Goal" on the settings of iOS 8.0, but that did not help. Any ideas?

+6
source share
2 answers

Yes, the same problem occurs when I tried in Xcode 6. But it worked fine when I use an iPhone device, change the "Deployment Goal" to the settings on iOS 7.0, create and run on the Iphone device.

But touch ID is not supported on my device and iPod simulator. It only works on the iPhone 5s device.

+3
source

FYI:

Fixed in beta 3 Projects using the LocalAuthentication function will not be created if the Destination parameter is set to iOS Simulator.

+2
source

Source: https://habr.com/ru/post/970257/


All Articles