美文网首页
本人 ios 项目 bug 解决集锦

本人 ios 项目 bug 解决集锦

作者: hypercode | 来源:发表于2020-03-05 15:24 被阅读0次

    1.编译报错:Command /bin/sh failed with exit code 1

    解决:清理DerivedData文件夹

    2.上传包到 app store 时有时会遇到账号未授权的问题,可能是因为电脑长时间没关造成登录信息过期,这时候重开一下 xcode 即可,或者在 account manager 里删掉账号重登,再重启 xcode。

    3.error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

    这个问题是 pod.lock 和 manifast.lock 文件不一致造成的,我的 pod.lock 里多了1行空格都不行,必须完全一致。

    4.pod update 时报错CDN: trunk Repo update failed - 182 error(s):

    解决:pod 里添加source 'https://github.com/CocoaPods/Specs.git'

    5.[NSTaggedPointerString stringValue]: unrecognized selector sent to instance;

    原因:对象本身就是string, 用stringValue就会报此错误,本次出错原因:后台同一个key返回格式不一致

    6.no accounts with app store connect access have been found for the team

    重启 xcode 即可。。。

    相关文章

      网友评论

          本文标题:本人 ios 项目 bug 解决集锦

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