今天从svn下载下来的工程运行pod install安装后遇到的问题。
问题1
Multiple commands produce '/Users/hml/Library/Developer/Xcode/DerivedData/ByTalk-ggqcplakcssjghegvezbxqgzgjzp/Build/Products/Debug-iphoneos/ByTalk.app/Info.plist':
- Target 'ByTalk' (project 'ByTalk') has copy command from '/Users/hml/Desktop/SVN_Project/ByTalk/ByTalkSDK/Info.plist' to '/Users/hml/Library/Developer/Xcode/DerivedData/ByTalk-ggqcplakcssjghegvezbxqgzgjzp/Build/Products/Debug-iphoneos/ByTalk.app/Info.plist'
- Target 'ByTalk' (project 'ByTalk') has process command with output '/Users/hml/Library/Developer/Xcode/DerivedData/ByTalk-ggqcplakcssjghegvezbxqgzgjzp/Build/Products/Debug-iphoneos/ByTalk.app/Info.plist'
解决办法,找到重复数据删除,参考https://stackoverflow.com/questions/50718018/xcode-10-error-multiple-commands-produce
![](https://img.haomeiwen.com/i549204/539fb1be5ae73b8c.png)
问题2
Use of undeclared identifier 'MJExtensionSemaphoreWait'![](https://img.haomeiwen.com/i549204/0c70f8322c0b1f53.png)
通过查找,头文件#import "BTFMJExtensionConst.h" 中已经包含MJExtensionSemaphoreWait,
解决方法:通过修改头文件位置问题改好。
![](https://img.haomeiwen.com/i549204/8b3392e9ebce509b.png)
问题3
ld: framework not found Reachability
clang:error: linker commmand failed with exit code 1 (user -v to see invacation)
![](https://img.haomeiwen.com/i549204/9b4afe1c1d823c92.png)
解决方法:
target->Build Settings->Other Linker Flags 中找到出错的文件删除
![](https://img.haomeiwen.com/i549204/5a67442c491c667d.png)
问题4
pod install 时一直出错
LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to GitHub.com:443
![](https://img.haomeiwen.com/i549204/793c9e7b7b1bd950.png)
解决方法:
网络问题,网络超时,pod install很多次,把所有库文件都下载下来。
网友评论