美文网首页
Xcode14.3打包出错

Xcode14.3打包出错

作者: 凡尘一笑 | 来源:发表于2023-04-19 09:47 被阅读0次

    最近升级Xcode,打包出错,在网上找资料解决了,于是记录一下,参考地址https://blog.csdn.net/hengsf123456/article/details/129936483

    building file list ... rsync: link_stat "/Users/xxx/.../AFNetworking.framework" failed: No such file or directory (2)
    done
    
    sent 29 bytes  received 20 bytes  98.00 bytes/sec
    total size is 0  speedup is 0.00
    rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/9e200cfa-7d96-11ed-886f-a23c4f261b56/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
    Command PhaseScriptExecution failed with a nonzero exit code
    
    解决方案一

    1.假如电脑上还有Xcode 14.2,则把 Command Line Tools中改为Xcode 14.2编译,点击右上角的Xcode-Settings-Locations,如下图:


    image.png
    解决方案二
    image.png
    将
    source="$(readlink "${source}")"
    替换为
    source="$(readlink -f "${source}")"
    

    相关文章

      网友评论

          本文标题:Xcode14.3打包出错

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