"唯一标识符"被苹果禁止使用 [英] "uniqueIdentifier" is banned by Apple to use
问题描述
我想上传我的iPhone应用程序,但问题是Facebook ios SDK正在使用uniqueIdentifier,因为这个问题我无法在应用商店上传我的应用程序。任何可能的解决方案?
苹果已经禁止uniqueIdentifier,为什么这个问题来了,请建议我可能的解决方案。
I want to upload my iPhone app but the problem is that Facebook ios SDK is using "uniqueIdentifier" because of this issue I am not to able to upload my app on app store.Any possible solution ? Apple has banned uniqueIdentifier that why this issue is coming so please suggest me possible solution.
推荐答案
您可以使用 otool
命令来确定哪些库是错误的,而 grep
仍然提供一个可疑文件池。如我的博客文章所示这里,以下命令将只输出实际导致问题的库的非空白行:
You can use the otool
command to identify precisely which libraries are at fault, with grep
still providing a pool of suspicious files. As shown in my blog post here, the following command will only output non-blank lines for libraries that actually cause an issue:
for match in $(grep -lR uniqueIdentifier *); do printf "File:%s\n\n" $match; otool -v -s __TEXT __objc_methname $match | grep uniqueIdentifier; printf "\n\n"; done;
这篇关于"唯一标识符"被苹果禁止使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!