进入 Xcode ----->TARGETS---->Signing&Capabilities 点击 Capability ,出现 搜索 background modes、Associated Domains等 即可