提交前都要問有沒有用IDFA,哪怕自己的代碼沒寫。但是集成了第三方庫,也必須要掃描一下工程,看有沒有用過IDFA.
掃描方法為:
terminal進(jìn)入到project工程所在文件夾。
輸入命令:grep -r advertisingIdentifier .
得到反饋:
$ grep -r advertisingIdentifier .
Binary file ./hemu/SinaWeiBo/libWeiboSDK/libWeiboSDK.a matches
新浪微博有使用。所以提交時(shí)應(yīng)該選“是”。
另外一個(gè)說法是,不管有沒有用都選是。因?yàn)檫x是,沒用不影響。選否,但是用了會(huì)被拒絕。