Can't import LocalAuthentication on Xcode 6 be

2019-02-13 14:25发布

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?

标签: ios8 xcode6
2条回答
聊天终结者
2楼-- · 2019-02-13 14:46

FYI:

Fixed in beta 3 Projects using LocalAuthentication won’t build if the Destination is set to iOS Simulator.

查看更多
Emotional °昔
3楼-- · 2019-02-13 15:07

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.

查看更多
登录 后发表回答