zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    逆波兰表达式解数学运算(c#)
    杂文
    WebDriverExtensionsByC#
    cookie使用
    Discuz
    重构中学习
    生活知识
    js和 jquery对象
    jquery中is的用法
    html下select追加元素,IE下错误
  • 原文地址:https://www.cnblogs.com/1024Planet/p/6934245.html
Copyright © 2011-2022 走看看