• No matching provisioning profiles found for "Applications/MyApp.app”问题解决


    新开发的一个app打包报错,度娘谷歌了好久,废了不少时间,发现错误提示已经很明显了,只是自己没读懂而已,先说下问题和解决方法,给同意遇到这个问题的你:

    Failed to locate or generate matching signing assets:

    Xcode attempted to locate or generate matching signing assets and failed to do so because of the following issues:

    No matching provisioning profiles found for "Applications/MyApp.app”

    None of the valid provisioning profiles allowed the specified entitlements: application-identifier, beta-reports-active, keychain-access-groups.

    一直以为是证书问题,其实不然,是Bundle Identifier配置不同步问题。

    配置Bundle Identifier的有两个地方,必须同步:

    1、TARGETS > Identity > Bundle Identifier(也可以在Info.plist里面修改);

    2、TARGETS > Build Settings > Packaging > Product Bundle Identifier;

    以上是路径,这两个地方的Bundle Identifier值必须一致,不然会让xcode懵逼。

    解决问题的启发来自这里的一句话:

    https://stackoverflow.com/questions/28006773/xcode6-error-no-matching-provisioning-profiles-found-for-application

    In my case, the problem was caused by different Bundle Identifier in Target General tab than in Build Setttings.

  • 相关阅读:
    计网 | 文件传输协议
    Java | JDK8 | Integer
    2.项目管理-应用工具
    1.需求管理
    1.短视频运营基础
    10.视频效果---变形稳定器
    9.时间重映射
    8.效果控件之移动&&缩放
    7.标记
    6.子剪辑与合并剪辑
  • 原文地址:https://www.cnblogs.com/1024Planet/p/6934245.html
Copyright © 2020-2023  润新知