美文网首页
上架App Store遇到的问题

上架App Store遇到的问题

作者: myk | 来源:发表于2018-05-16 15:51 被阅读49次

1、ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'ComisteSent.app/dump_syms' is not permitted.

  • 原因:您的应用程序不能包含独立的可执行文件或库,而不是支持的捆绑包的CFBundle可执行文件
  • 解决方法:把’dump_syms’文件从 build phase-> copy bundle resources 中移除

2、Your account already has a valid iOS Distribution certificate!

  • 原因:本地和网站上面的证书不一致,可能一个appid创建了两个dis证书
  • 解决方法:去苹果网站上面找到dis证书,删除多余的那个dis证书

3、dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserNotifications

Referenced from: /var/containers/Bundle/Application/AE240A9C-D59D-4A81-A112-1DFBF6020FF2/WeiWuLian2.1.app/WeiWuLian2.1

  • 原因:很明显是 UserNotifications.framework image not found , 因为这个framework 是仅在ios10上可以用的。
  • 解决方法:Build Phases ---> Link Binary With Libraries 里 点击添加 UserNotifications.framework 然后Required 改成Optional。然后就OK啦。

4、ERROR ITMS-90163:”Invalid Code Signing Entitlements.”

  • 原因:项目中的信息没有包含在App Store的描述文件中
    *解决方法:去App Store更新Profilefile

5、error: make directory /Users/mobilewise/Library/Developer/Xcode/DerivedData/MCDM-epoyegaizqaljifbmfuxvovvwxqn/Build/Products/Debug-iphoneos/MCDM_guangzhoudianwang.app/mapapi.bundle/images: File exists

error: couldn't remove '/Users/mobilewise/Library/Developer/Xcode/DerivedData/MCDM-epoyegaizqaljifbmfuxvovvwxqn/Build/Products/Debug-iphoneos/MCDM_guangzhoudianwang.app/mapapi.bundle' after command failed: Directory not empty

  • 原因:移动了项目,造成路径发生改变了,在Build Phases--->>Copy Bundle Resources里边是找不到最初的那个文件了(因为原文件已经被删除了)
  • 解决方法:把Build Phases--->>Copy Bundle Resources那个XX.bundle 删除或者删除重新添加即可。

相关文章

网友评论

      本文标题:上架App Store遇到的问题

      本文链接:https://www.haomeiwen.com/subject/ebnpdftx.html