pod install后出现的错误

[!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

出现这个错误是因为使用文本编辑编辑了Podfile, 解决办法:不要使用文本编辑去编辑Podfile,使用Xcode编辑,或者使用终端敲命令去编辑。

[!] The `ChatDemo [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig‘. This can lead to problems with the CocoaPods installation

- Use the `$(inherited)` flag, or

- Remove the build settings from the target.

[!] The `ChatDemo [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig‘. This can lead to problems with the CocoaPods installation

- Use the `$(inherited)` flag, or

- Remove the build settings from the target.

上面两个错误的两种解决方法:

1.点击项目文件 project.xcodeproj,右键`显示包内容`,用文本编辑器打开`project.pbxproj`,删除`OTHER_LDFLAGS`的地方,保存,回到 Xcode,编译通过

2.Go to your target Build Settings -> Other linker flags -> double click . Add $(inherited) to a new line.

时间: 2024-08-11 22:49:11

pod install后出现的错误的相关文章

osx升级到10.10后,使用pod install报错解决办法

先看下网上的解决方法如下: 先按照这个文章做:http://blog.csdn.net/dqjyong/article/details/37958067 大概步骤如下: Open Xcode 6 Open Preferences Click the Locations tab Change the Command Line Tools version to Xcode 6.0 Uninstall cocoapods a. $ sudo gem uninstall cocoapods Instal

osx升级到10.10后,用pod install报错最终解决办法

先按照这个文章做:http://blog.csdn.net/dqjyong/article/details/37958067 大概步骤如下: Open Xcode 6 Open Preferences Click the Locations tab Change the Command Line Tools version to Xcode 6.0 Uninstall cocoapods a. $ sudo gem uninstall cocoapods Install xcodeproj a.

osx升级到10.10后,用pod install报错终于解决的方法

先依照这个文章做:http://blog.csdn.net/dqjyong/article/details/37958067 大概过程例如以下: Open Xcode 6 Open Preferences Click the Locations tab Change the Command Line Tools version to Xcode 6.0 Uninstall cocoapods a. $ sudo gem uninstall cocoapods Install xcodeproj

使用CocoaPods的pod install 遇到的错误,未解决(Xcode版本v6.4,Mac OS版本v10.10.4)

转载请标明出处:http://blog.csdn.net/android_ls/article/details/47059957 一.CocoaPods 是一款很好的依赖管理工具,其安装步骤大致如下: 1.首先确保开发环境中已经安装了 Ruby(一般安装了 XCode,Ruby 会被自动安装上) 建议使用淘宝提供的 Gem源,在终端执行下列命令: $ gem sources --remove https://rubygems.org/ $ gem sources -a http://ruby.t

pod install 错误 - incompatible character encodings: UTF-8 and ASCII-8BIT

pod install [!] Invalid `Podfile` file: incompatible character encodings: UTF-8 and ASCII-8BIT. Updating CocoaPods might fix the issue. 1.Podfile 文件中存在 单引号错误   正确的 ' pod install 错误 - incompatible character encodings: UTF-8 and ASCII-8BIT

pod install出现[!] /bin/bash -c错误,Installing Realm报错

pod install出现错误,具体错误信息如下: Installing Realm (1.0.2) [!] /bin/bash -c set -e sh build.sh cocoapods-setup core is not a symlink. Deleting... Downloading dependency: core 1.3.1 Downloading core failed: curl: (35) Server aborted the SSL handshake

xcode - pod install 出现错误

xcode 10 上pod install 出现错误 error: /Users/apple/Desktop/VenusClient/Pods/Pods/Target Support Files/Pods-VenusMaster/Pods-VenusMaster.debug.xcconfig: unable to open file (in target "VenusMaster" in project "VenusMaster") (in target 'Venu

cocoapods 使用pod install失效解决方法

在使用pod install命令后,一直处于analyzing dependencies的状态,之后出现error: [!] An error occurred while performing `git pull` on repo `master`. [!] /usr/bin/git pull --ff-only From https://github.com/CocoaPods/Specs    81a48d2..2185a7f  master     -> origin/master fa

pod install 失败

错误报告: Analyzing dependencies /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:422:in `open': No such file or directory - /Users/yourMac/.cocoapods/repos (Errno::ENOENT) 解决方案: 把个人文件夹下的 .cocoapods 删除,执行 pod setup 命令