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

时间: 2024-11-08 18:20:39

pod install 错误 - incompatible character encodings: UTF-8 and ASCII-8BIT的相关文章

使用cocoaPods出现:incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError)

使用cocoaPods安装AFNetworking时出现: incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError) 原因是:Podfile文件里面的内容格式有问题,检查你的标点符号是否是在英文状态下输入的: platform :ios, '7.0' pod "AFNetworking", "~> 2.0"

incompatible character encodings: UTF-8 and ASCII-8BIT

http://stackoverflow.com/questions/5286117/incompatible-character-encodings-ascii-8bit-and-utf-8 http://stackoverflow.com/questions/22932282/gemloaderror-specified-mysql2-for-database-adapter-but-the-gem-is-not-loade 这个是因为在Gemfile和database.yml里写的都是my

Encoding::CompatibilityError: incompatible character encodings: GBK and UTF-8

在scss前面加上一句 @charset "utf-8"; 这样就不会报错了, 解决方案参考 https://github.com/imathis/octopress/issues/232 试过改engin.ruby文件没有效果: C:\Ruby\lib\ruby\gems\1.9.1\gems\sass-3.3.14\lib\sass 在这个文件里面engine.rb,添加一行代码(同方法1) Encoding.default_external = Encoding.find('ut

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 命令

使用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出现[!] /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

Xcode8 pod install 报错 “Generating Pods project Abort trap

Xcode8 pod install 报错 "Generating Pods project Abort trap 今天在写一个新项目的时候,使用cocoapods在执行 $ pod install 的时候,终端提示 Generating Pods project Abort trap: 6 解决办法: 删除所有cocoapods gems, 依次执行以下命令: sudo gem uninstall cocoapods sudo gem uninstall cocoapods-core sudo

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