ios - Telegram iOS 应用程序无法使用 Xcode 6.1.1 构建

标签 ios xcode telegram

我已经在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 并享受吧!

关于ios - Telegram iOS 应用程序无法使用 Xcode 6.1.1 构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28370297/

相关文章:

ios - 如何使用 Quartz 2d 打开和查看 PDF

ios - 在 Xcode 6 中更改文件夹位置时无法构建

ios - 归档 iOS 项目时找不到文件

iphone - 如何设计我的 subview "layers"?

telegram - Telegram Bot 是否可以从 channel 获取消息?

Telegraph 中的格式选项

ios - UIImageWriteToSavedPhotosAlbum 选择器语法问题

ios - 更新到 SDK 1.3.1 后未捕获 GMSMapView 上的拖动/平移手势

ios - Xcode 说找不到代码签名身份

go - 使用go-tdlib停留在“authorizationsStateWaitPhoneNumber”状态