ASIdentifierManager.shared().advertisingIdentifier.uuidString
获取idfa时出现EXC_CRASH。
Xcode终端打印
LaunchServices: disconnect event (interruption) received for service com.apple.lsd.advertisingidentifiers
最佳答案
有人在 swift.org 上报告错误 https://bugs.swift.org/browse/SR-6143
关于Swift 获取 Idfa 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46499093/