苹果公司给出的检测 advertisingIdentifier 的方法

本文介绍如何通过Xcode创建一个与提交到AppStore相同配置的.ipa文件,包括选择正确的分发标识符签名及使用string工具查找广告标识符引用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

To locate the reference to the advertisingIdentifier selector, please perform these steps to create an .ipa file of your app that matches what you submitted to the App Store:

1. In the Xcode Organizer, instead of Submit to the iOS App Store, do Save for Enterprise or Ad-Hoc Deployment. That will create a local copy of the .ipa file that would be submitted to the App Store.

2. When asked to choose an identity to sign with, select the same distribution identity you use when submitting to the App Store.

3. When asked to save the package, uncheck Save for Enterprise Distribution, then save the .ipa file.

4. Find the .ipa file and change its extension to .zip.

5. Expand the .zip file. That will produce a Payload folder containing your app bundle.

6. Use the strings tool to search for uniqueIdentifier references like this:

   $ strings - -a -arch armv7 "Payload/YourApp.app/YourApp" | grep advertisingIdentifier

where YourApp is the actual name of your app.

转载于:https://www.cnblogs.com/weiboyuan/p/3585756.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值