iphone - Invalid Application Binary -
today received feedback our submission , not understand reported problem: "apps not permitted access udid , must not use uniqueidentifier method of uidevice. please update apps , servers associate users vendor or advertising identifiers introduced in ios 6.".
we know rejections udid, our app not use this! after read this, our team reevaluated app , not found occurrences "uidevice uniqueidentifier". revised used libraries , not find call udid.
someone have ideas?
after research, executed "greap" command:
my-app-directory $ grep -rnis 'uniqueidentifier' * binary file john.xcodeproj/project.xcworkspace/xcuserdata/franz.xcuserdatad/userinterfacestate.xcuserstate matches
binary file john.xcodeproj/project.xcworkspace/xcuserdata/mahendra.xcuserdatad/userinterfacestate.xcuserstate matches
binary file john.xcodeproj/project.xcworkspace/xcuserdata/pareshrathod.xcuserdatad/userinterfacestate.xcuserstate matches
binary file john.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/userinterfacestate.xcuserstate matches
how solve above issues?
by john
you should remove usage of udids. apple started rejecting apps using of may 1, 2013.
using identifiers in apps
starting may 1, app store no longer accept new apps or app updates access udids. please update apps , servers associate users vendor or advertising identifiers introduced in ios 6. can find more details in uidevice class reference.
source: https://developer.apple.com/news/
although i've not independently confirmed it, believe should use:
nsuuid *uuid = [[uidevice currentdevice] identifierforvendor]; nsstring *uuidstring = [uuid uuidstring];
Comments
Post a Comment