加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Telegram iOS应用程序不会使用Xcode 6.1.1构建

发布时间:2020-12-15 01:43:28 所属栏目:百科 来源:网络整理
导读:我已经在 their website下载了Telegram app的代码源.当我在Xcode 6.1.1中打开项目时,我收到以下错误: UFW (M iphonesimulator): ERROR: Build failed Traceback (most recent call last): File"/Users/yanfeng/Library/Developer/Xcode/DerivedData/Build/I
我已经在 their website下载了Telegram app的代码源.当我在Xcode 6.1.1中打开项目时,我收到以下错误:

UFW (M iphonesimulator): ERROR: Build failed Traceback (most recent call last): File"/Users/yanfeng/Library/Developer/Xcode/DerivedData/Build/Intermediates/MtProtoKit.build/Debug-iphonesimulator/MtProtoKit iOS.build/Script-D05A831218AFB3F9007F1076.sh",line 812,in <module>run_build()File "/Users/yanfeng/Library/Developer/Xcode/DerivedData/Build/Intermediates/MtProtoKit.build/Debug-iphonesimulator/MtProtoKit iOS.build/Script-D05A831218AFB3F9007F1076.sh",line 787,in run_build
    add_symlinks_to_framework(project)
  File "/Users/yanfeng/Library/Developer/Xcode/DerivedData/Build/Intermediates/MtProtoKit.build/Debug-iphonesimulator/MtProtoKit iOS.build/Script-D05A831218AFB3F9007F1076.sh",line 675,in add_symlinks_to_framework
    attempt_symlink(os.path.join(base_dir,"Versions","Current"),os.environ['FRAMEWORK_VERSION'])
  File "/Users/yanfeng/Library/Developer/Xcode/DerivedData/Build/Intermediates/MtProtoKit.build/Debug-iphonesimulator/MtProtoKit iOS.build/Script-D05A831218AFB3F9007F1076.sh",line 493,in attempt_symlink
    os.stat(os.path.abspath(os.path.join(link_path,"..",link_to)))
OSError: [Errno 2] No such file or directory: '/Users/yanfeng/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/MtProtoKit iOS.framework/Versions/A'
Showing first 200 notices only
Command /bin/sh failed with exit code 1

解决方法

MtProtoKit需要 https://github.com/kstenerud/iOS-Universal-Framework,所以克隆它,安装“Real Framework”,重新启动Xcode并享受!

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读