Skip to content

Instantly share code, notes, and snippets.

@naokits
Last active December 21, 2015 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naokits/6291147 to your computer and use it in GitHub Desktop.
Save naokits/6291147 to your computer and use it in GitHub Desktop.

フィリピンに住んでいると遭遇する様々なエラー

分類はしませんので、必要があれば検索してください。基本的に、ネットへの接続が問題だったために起きているエラーです。

異常時

% gem update cocoapods
Updating installed gems
^CERROR:  Interrupted

正常時

% gem update cocoapods
Updating installed gems
Updating cocoapods
Fetching: nap-0.5.1.gem (100%)
Successfully installed nap-0.5.1
Fetching: cocoapods-core-0.23.0.gem (100%)
Successfully installed cocoapods-core-0.23.0
Fetching: cocoapods-downloader-0.1.2.gem (100%)
Successfully installed cocoapods-downloader-0.1.2
Fetching: xcodeproj-0.9.0.gem (100%)
Building native extensions.  This could take a while...
Successfully installed xcodeproj-0.9.0
Fetching: cocoapods-0.23.0.gem (100%)

CHANGELOG:

## 0.23.0

###### Enhancements
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.22.3...0.23.0.rc1)
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.22.3...0.23.0.rc1)
• [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.8.1...0.9.0)
• [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader/compare/0.1.1...0.1.2)

* Added `prepare_command` attribute to Specification DSL. The prepare command
  will replace the `pre_install` hook. The `post_install` hook has also been
  deprecated.
  [#1247](https://github.com/CocoaPods/CocoaPods/issues/1247)

  The reason we provided Ruby hooks at first, was because we wanted to offer
  the option to make any required configuration possible. By now, however, we
  have a pretty good idea of the use-cases and are therefore locking down the
  freedom that was once available. In turn, we’re adding attributes that can
  replace the most common use-cases. _(See the enhancements directly following
  this entry for more info)._

  The second reason we need to lock this down is because this is the last
  remaining obstacle to fully serialize specifications, which we need in order
  to move to a ‘spec push’ web-service in the future.

* Added `resource_bundles` attribute to the Specification DSL.  
  [#743](https://github.com/CocoaPods/CocoaPods/issues/743)
  [#1186](https://github.com/CocoaPods/CocoaPods/issues/1186)

* Added `vendored_frameworks` attribute to the Specification DSL.  
  [#809](https://github.com/CocoaPods/CocoaPods/issues/809)
  [#1075](https://github.com/CocoaPods/CocoaPods/issues/1075)

* Added `vendored_libraries` attribute to the Specification DSL.  
  [#809](https://github.com/CocoaPods/CocoaPods/issues/809)
  [#1075](https://github.com/CocoaPods/CocoaPods/issues/1075)

* Restructured `.cocoapods` folder to contain repos in a subdirectory.  
  [Ian Ynda-Hummel](https://github.com/ianyh)
  [#1150](https://github.com/CocoaPods/CocoaPods/issues/1150)  

* Improved `pod spec create` template.  
  [#1223](https://github.com/CocoaPods/CocoaPods/issues/1223)

* Added copy&paste-friendly dependency to `pod search`.  
  [#1073](https://github.com/CocoaPods/CocoaPods/issues/1073)

* Improved performance of the installation of Pods with git
  sources which specify a tag.  
  [#1077](https://github.com/CocoaPods/CocoaPods/issues/1077)

* Core Data `xcdatamodeld` files are now properly referenced from the Pods
  project.  
  [#1155](https://github.com/CocoaPods/CocoaPods/issues/1155)

* Removed punctuation check from the specification validations.  
  [#1242](https://github.com/CocoaPods/CocoaPods/issues/1242)

* Deprecated the `documentation` attribute of the Specification DSL.  
  [Core#20](https://github.com/CocoaPods/Core/issues/20)

###### Bug Fixes

* Fix copy resource script issue related to filenames with spaces.  
  [Denis Hennessy](https://github.com/dhennessy)
  [#1231](https://github.com/CocoaPods/CocoaPods/issues/1231)  



Successfully installed cocoapods-0.23.0
Parsing documentation for nap-0.5.1
Installing ri documentation for nap-0.5.1
Installing darkfish documentation for nap-0.5.1
Parsing documentation for cocoapods-core-0.23.0
Installing ri documentation for cocoapods-core-0.23.0
Installing darkfish documentation for cocoapods-core-0.23.0
Parsing documentation for cocoapods-downloader-0.1.2
Installing ri documentation for cocoapods-downloader-0.1.2
Installing darkfish documentation for cocoapods-downloader-0.1.2
Parsing documentation for xcodeproj-0.9.0
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/xcodeproj/xcodeproj_ext.bundle, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/xcodeproj/xcodeproj_ext.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/xcodeproj_ext.bundle, skipping
Installing ri documentation for xcodeproj-0.9.0
Installing darkfish documentation for xcodeproj-0.9.0
Parsing documentation for cocoapods-0.23.0
Installing ri documentation for cocoapods-0.23.0
Installing darkfish documentation for cocoapods-0.23.0
Gems updated: nap cocoapods-core cocoapods-downloader xcodeproj cocoapods

異常時

% pod install 
Analyzing dependencies
Pre-downloading: `AAMFeedback` from `https://github.com/azu/AAMFeedback.git`
Downloading dependencies
Installing AAMFeedback (0.0.5)
Installing AFNetworking (1.3.2)
Installing Facebook-iOS-SDK (3.5.3)
Installing HPGrowingTextView (0.0.1)
Installing RestKit (0.20.3)
Installing SDWebImage (3.3)
[!] Pod::Executable remote update

Fetching origin
fatal: unable to access 'https://github.com/rs/SDWebImage.git/': The requested URL returned error: 502

error: Could not fetch origin

やり直し

% pod install
Analyzing dependencies
Pre-downloading: `AAMFeedback` from `https://github.com/azu/AAMFeedback.git`
Downloading dependencies
Installing AAMFeedback (0.0.5)
Installing AFNetworking (1.3.2)
Installing Facebook-iOS-SDK (3.5.3)
Installing HPGrowingTextView (0.0.1)
Installing RestKit (0.20.3)
Installing SDWebImage (3.3)
Installing SOCKit (1.1)
Installing SVProgressHUD (0.9)
Installing TestFlightSDK (1.2.6)
Installing TransitionKit (1.1.1)
Installing UIDeviceIdentifier (0.1)
Installing libwebp (0.3.0-rc7)
Generating Pods project
Integrating client project

[!] From now on use `nana.xcworkspace`.

異常時


% git pull
fatal: unable to access 'https://github.com/tomaz/appledoc.git/': The requested URL returned error: 502

やり直し


% git pull
remote: Counting objects: 38, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 27 (delta 14), reused 21 (delta 8)
Unpacking objects: 100% (27/27), done.
From https://github.com/tomaz/appledoc
   5ec94a8..b04f052  master     -> origin/master
Updating 5ec94a8..b04f052
Fast-forward
 Readme.markdown                              |  14 +++++++++-----
 Templates/html/css/styles.css                |  21 +++++++++++----------
 Templates/html/img/button_bar_background.png | Bin 95 -> 2825 bytes
 Templates/html/img/library_background.png    | Bin 119 -> 183 bytes
 Templates/html/img/title_background.png      | Bin 101 -> 177 bytes
 XcodeIntegrationScript.markdown              |  61 ++++++++++++++++++++++++++++++-------------------------------
 appledoc.xcodeproj/project.pbxproj           |   6 ++++++
 7 files changed, 56 insertions(+), 46 deletions(-)
 mode change 100755 => 100644 Templates/html/css/styles.css


異常時

% pod install 
Analyzing dependencies
Pre-downloading: `AAMFeedback` from `https://github.com/azu/AAMFeedback.git`
Downloading dependencies
Installing AAMFeedback (0.0.5)
Installing AFNetworking (1.3.2)
Installing Facebook-iOS-SDK (3.5.3)
Installing HPGrowingTextView (0.0.1)
Installing RestKit (0.20.3)
Installing SDWebImage (3.3)
[!] Pod::Executable remote update

Fetching origin
fatal: unable to access 'https://github.com/rs/SDWebImage.git/': The requested URL returned error: 502

error: Could not fetch origin

やり直し

% pod install
Analyzing dependencies
Pre-downloading: `AAMFeedback` from `https://github.com/azu/AAMFeedback.git`
Downloading dependencies
Installing AAMFeedback (0.0.5)
Installing AFNetworking (1.3.2)
Installing Facebook-iOS-SDK (3.5.3)
Installing HPGrowingTextView (0.0.1)
Installing RestKit (0.20.3)
Installing SDWebImage (3.3)
Installing SOCKit (1.1)
Installing SVProgressHUD (0.9)
Installing TestFlightSDK (1.2.6)
Installing TransitionKit (1.1.1)
Installing UIDeviceIdentifier (0.1)
Installing libwebp (0.3.0-rc7)
Generating Pods project
Integrating client project

[!] From now on use `nana.xcworkspace`.

異常

% pod install
Analyzing dependencies
Pre-downloading: `AAMFeedback` from `https://github.com/azu/AAMFeedback.git`
Downloading dependencies
Installing AAMFeedback (0.0.5)
Installing AFNetworking (1.3.2)
Installing Facebook-iOS-SDK (3.5.3)
Installing HPGrowingTextView (0.0.1)
Installing RestKit (0.20.3)
Installing SDWebImage (3.3)
Installing SOCKit (1.1)
[!] Pod::Executable remote update

Fetching origin
fatal: unable to access 'https://github.com/jverkoey/sockit.git/': Unknown SSL protocol error in connection to github.com:443 

error: Could not fetch origin

正常

% pod install
Analyzing dependencies
Pre-downloading: `AAMFeedback` from `https://github.com/azu/AAMFeedback.git`
Downloading dependencies
Installing AAMFeedback (0.0.5)
Installing AFNetworking (1.3.2)
Installing Facebook-iOS-SDK (3.5.3)
Installing HPGrowingTextView (0.0.1)
Installing RestKit (0.20.3)
Installing SDWebImage (3.3)
Installing SOCKit (1.1)
Installing SVProgressHUD (0.9)
Installing TestFlightSDK (1.2.6)
Installing TransitionKit (1.1.1)
Installing UIDeviceIdentifier (0.1)
Installing libwebp (0.3.0-rc7)
Generating Pods project
Integrating client project

[!] From now on use `nana.xcworkspace`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment