Skip to content

[UIDevice naiqueIdentifier]: unrecognized selector sent to instance #2

@fernandospr

Description

@fernandospr

I'm getting a crash when running this project.
It seems the wrong call is in [SM3DARController verifyAuthorizedUsage].

It is trying to call [UIDevice naiqueIdentifier] instead of [UIDevice uniqueIdentifier].

However, bear in mind that this is deprecated since iOS 5: https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDevice_Class/DeprecationAppendix/AppendixADeprecatedAPI.html

You should replace it with any of the suggested methods discussed here:
http://stackoverflow.com/questions/6993325/uidevice-uniqueidentifier-deprecated-what-to-do-now
http://stackoverflow.com/questions/7273014/ios-unique-user-identifier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions