gpt4 book ai didi

iphone - 添加 S7FTPRequest 后,iPhone 应用程序无法编译

转载 作者:行者123 更新时间:2023-12-03 16:59:37 25 4
gpt4 key购买 nike

iPhone 应用程序开发新手,在将 S7FTPRequest 包含到类库中后,我在编译(或“构建并运行”)应用程序时遇到问题;在我将它包含在任何特定脚本中之前。我收到以下错误:

Undefined symbols:
"_kCFStreamPropertyFTPPassword", referenced from:
_kCFStreamPropertyFTPPassword$non_lazy_ptr in S7FTPRequest.o
(maybe you meant: _kCFStreamPropertyFTPPassword$non_lazy_ptr)
"_CFWriteStreamCreateWithFTPURL", referenced from:
-[S7FTPRequest startUploadRequest] in S7FTPRequest.o
-[S7FTPRequest startCreateDirectoryRequest] in S7FTPRequest.o
"_kCFStreamPropertyFTPUserName", referenced from:
_kCFStreamPropertyFTPUserName$non_lazy_ptr in S7FTPRequest.o
(maybe you meant: _kCFStreamPropertyFTPUserName$non_lazy_ptr)
"_kCFStreamErrorDomainFTP", referenced from:
_kCFStreamErrorDomainFTP$non_lazy_ptr in S7FTPRequest.o
(maybe you meant: _kCFStreamErrorDomainFTP$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status

谢谢!

最佳答案

你搞错了一点。问题的出现是由于链接缺少所需的框架,但所需的框架是 CFNetwork.framework 而不是 libz.1.2.3.dylib

libz动态库用于压缩/解压缩操作。

关于iphone - 添加 S7FTPRequest 后,iPhone 应用程序无法编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5301409/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com