不支持电报 Xcode 8
Telegram not supported Xcode 8
我尝试使用我的 Xcode 8 下载电报源代码“http://www.telegramdownload.com/download-telegram-source-codes”和 运行,但出现以下错误
"_BN_rshift1", referenced from:
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
"_BIO_new", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BIO_write", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BIO_s_mem", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_CTX_new", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
_MTCheckMod in MtProtoKit iOS(MTEncryption.o)
"_BN_sub", referenced from:
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
"_BN_new", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
"_BN_value_one", referenced from:
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
"_AES_ige_encrypt", referenced from:
_MTAesEncryptInplace in MtProtoKit iOS(MTEncryption.o)
_MTAesEncryptInplaceAndModifyIv in MtProtoKit iOS(MTEncryption.o)
_MTAesDecryptInplace in MtProtoKit iOS(MTEncryption.o)
_MTAesDecryptInplaceAndModifyIv in MtProtoKit iOS(MTEncryption.o)
_MTAesEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTAesDecrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_num_bits", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
"_BN_cmp", referenced from:
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
"_PEM_read_bio_RSAPublicKey", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_CTX_free", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
_MTCheckMod in MtProtoKit iOS(MTEncryption.o)
"_BN_free", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
_MTCheckMod in MtProtoKit iOS(MTEncryption.o)
"_RSA_free", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_mod_word", referenced from:
_MTCheckMod in MtProtoKit iOS(MTEncryption.o)
"_BN_bn2bin", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
"_BN_is_prime_ex", referenced from:
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
"_BIO_free", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_mod_exp", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
"_AES_set_decrypt_key", referenced from:
_MTAesDecryptInplace in MtProtoKit iOS(MTEncryption.o)
_MTAesDecryptInplaceAndModifyIv in MtProtoKit iOS(MTEncryption.o)
_MTAesDecrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_bin2bn", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
_MTCheckMod in MtProtoKit iOS(MTEncryption.o)
"_AES_set_encrypt_key", referenced from:
_MTAesEncryptInplace in MtProtoKit iOS(MTEncryption.o)
_MTAesEncryptInplaceAndModifyIv in MtProtoKit iOS(MTEncryption.o)
_MTAesEncrypt in MtProtoKit iOS(MTEncryption.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我发现我需要安装通用框架,但我总是收到错误
使其工作的步骤:
- 下载旧的 Xcode、Xcode 7.x 或更旧的 。 这个答案将
帮助你并与你的最新版本并排安装
版本。
- 下载 iOS Universal Frameworks 并使用旧版本安装
Xcode路径。使用 Real Framework.
- 从此 unofficial but working version 下载代码。
- 打开 Telegram Xcode Project 项目文件 > Telegraph Target > Build Settings > Search For Header search paths > MtProotoKit>> make it 递归.
- 不要 接受将为您显示的 POP 框架错误的解决方案弹出窗口。取消它和 运行 应用程序,不管这个错误,它将 运行 成功。
- 设置 appID inside TGTelegramNetworking.m 和 Hash and appId inside TGTelegraph.mm to your.
- 尽情享受吧!
注意:在项目中的每次更新后拍摄您的工作快照或提交您的存储库,以避免如果您在任何步骤中做错了重新启动整个工作。
我尝试使用我的 Xcode 8 下载电报源代码“http://www.telegramdownload.com/download-telegram-source-codes”和 运行,但出现以下错误
"_BN_rshift1", referenced from:
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
"_BIO_new", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BIO_write", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BIO_s_mem", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_CTX_new", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
_MTCheckMod in MtProtoKit iOS(MTEncryption.o)
"_BN_sub", referenced from:
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
"_BN_new", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
"_BN_value_one", referenced from:
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
"_AES_ige_encrypt", referenced from:
_MTAesEncryptInplace in MtProtoKit iOS(MTEncryption.o)
_MTAesEncryptInplaceAndModifyIv in MtProtoKit iOS(MTEncryption.o)
_MTAesDecryptInplace in MtProtoKit iOS(MTEncryption.o)
_MTAesDecryptInplaceAndModifyIv in MtProtoKit iOS(MTEncryption.o)
_MTAesEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTAesDecrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_num_bits", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
"_BN_cmp", referenced from:
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
"_PEM_read_bio_RSAPublicKey", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_CTX_free", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
_MTCheckMod in MtProtoKit iOS(MTEncryption.o)
"_BN_free", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
_MTCheckMod in MtProtoKit iOS(MTEncryption.o)
"_RSA_free", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_mod_word", referenced from:
_MTCheckMod in MtProtoKit iOS(MTEncryption.o)
"_BN_bn2bin", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
"_BN_is_prime_ex", referenced from:
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
"_BIO_free", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_mod_exp", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
"_AES_set_decrypt_key", referenced from:
_MTAesDecryptInplace in MtProtoKit iOS(MTEncryption.o)
_MTAesDecryptInplaceAndModifyIv in MtProtoKit iOS(MTEncryption.o)
_MTAesDecrypt in MtProtoKit iOS(MTEncryption.o)
"_BN_bin2bn", referenced from:
_MTRsaEncrypt in MtProtoKit iOS(MTEncryption.o)
_MTExp in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafePrime in MtProtoKit iOS(MTEncryption.o)
_MTCheckIsSafeGAOrB in MtProtoKit iOS(MTEncryption.o)
_MTCheckMod in MtProtoKit iOS(MTEncryption.o)
"_AES_set_encrypt_key", referenced from:
_MTAesEncryptInplace in MtProtoKit iOS(MTEncryption.o)
_MTAesEncryptInplaceAndModifyIv in MtProtoKit iOS(MTEncryption.o)
_MTAesEncrypt in MtProtoKit iOS(MTEncryption.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我发现我需要安装通用框架,但我总是收到错误
使其工作的步骤:
- 下载旧的 Xcode、Xcode 7.x 或更旧的 。 这个答案将 帮助你并与你的最新版本并排安装 版本。
- 下载 iOS Universal Frameworks 并使用旧版本安装 Xcode路径。使用 Real Framework.
- 从此 unofficial but working version 下载代码。
- 打开 Telegram Xcode Project 项目文件 > Telegraph Target > Build Settings > Search For Header search paths > MtProotoKit>> make it 递归.
- 不要 接受将为您显示的 POP 框架错误的解决方案弹出窗口。取消它和 运行 应用程序,不管这个错误,它将 运行 成功。
- 设置 appID inside TGTelegramNetworking.m 和 Hash and appId inside TGTelegraph.mm to your.
- 尽情享受吧!
注意:在项目中的每次更新后拍摄您的工作快照或提交您的存储库,以避免如果您在任何步骤中做错了重新启动整个工作。