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.

  • 相关阅读:
    隔离级别 && SNAPSHOT
    多态性&& 虚函数 && 抽象类
    socket编程
    [APIO2015]巴邻旁之桥
    LuoguP3701 「伪模板」主席树
    线段树标记永久化
    [HNOI2015]开店
    NOIP2017划水记
    FFTNTT总结
    [THUWC 2017]在美妙的数学王国中畅游
  • 原文地址:https://www.cnblogs.com/1024Planet/p/6934245.html
Copyright © 2011-2022 走看看