After upgrading Mac OS x 10.10 + xcode6.1, The Cocoapods has a problem solution, xcode6.1cocoapods
After upgrading Mac OS X 10.10 + Xcode 6.1, Cocoapods's dependent database management is also upgraded accordingly. Currently, the latest Release version is 0.34. In earlier versions, the following error occurs during database update and management.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- xcodeproj/prebuilt/universal.x86_64-darwin14-2.0.0/xcodeproj_ext (LoadError)from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj/ext.rb:6:in `rescue in <top (required)>'from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj/ext.rb:3:in `<top (required)>'from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj.rb:30:in `<top (required)>'from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods.rb:2:in `<top (required)>'from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/bin/pod:32:in `<top (required)>'from /usr/bin/pod:23:in `load'from /usr/bin/pod:23:in `<main>'
The solution is as follows: Enable Terminals
1. Uninstall cocoapods
$ Sudo gem uninstall cocoapods
2. Install xcodeproj
$ Sudo gem install xcodeproj
3. reinstall cocoapods
$ Sudo gem install cocoapods
Pod setup
4. Check the pod version
Pod -- version
During the above command execution, if a red or yellow word appears, it indicates that there is an error and you need to check according to the actual situation.
A problem may occur. When executing pod setup and pod -- version, the following error message is displayed: verify_get_version.
Options: --silent Show nothing --completion-script Print the auto-completion script --version Show the version of the tool --verbose Show more debugging information --no-ansi Show output without ANSI codes --help Show help banner of specified commandfrom /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.4/lib/cocoapods/command.rb:129:in `verify_git_version!'from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.4/lib/cocoapods/command.rb:48:in `run'from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.4/bin/pod:33:in `<top (required)>'from /usr/bin/pod:23:in `load'from /usr/bin/pod:23:in `<main>'
The solution is as follows:
Go to xcode> Preferences> Locaiton> select Xcode 6.1 in Command Line Tools, and enter the sudo password.
Return to the terminal and enter git -- version to check whether the version is later than 1.9.
Then reinstall the cocoapods process.
After mac OS X1010 is updated, the user interface will be crashed. How can this problem be solved?
Original online post:
Third-party input method causes an invincible firewheel problem for MAC 10.10 login upon startup
I use the sogou input method, so I just need to uninstall sogou. (Note that it is not simply removed from the input source)
The operation logic is that you must first enter the computer to perform the operation.
The solution is to start the computer in standalone mode and delete a file from Apple so that the system determines that the computer has not been configured. After the computer is started, the system directly enters the configuration computer and user interface and creates a user, then you can go to the desktop to delete all evil input methods.
First, press Command + s when starting the instance;
After entering the command prompt Screen
1. Enter sbin/mount-uaw and press Enter.
Here, pay attention to the prompt after the carriage return, as long as it is not found and so on.
2. Enter rm/var/db/. AppleSetupDone and press Enter.
Note that there is a space behind rm. There may be no prompt after you press enter here. If there is, as long as it is not found or another type, if the old prompt is not found, check whether there is a mistake, add/try before rm, and so on.
3. Enter reboot and press enter to restart
After restart, the user enters the system after the configuration is established.
Download a dmg of the sogou input method, and select uninstall sogou input method.
Restart and delete the account you Just configured to enter the system.
The Virtual Machine Mac OS X1094 is upgraded to 1010, and is stuck here after it is restarted.
What do you want to upgrade?
Unlucky child
This is a cracked version.
Mac generally only recognizes self-production machines. Black Apple cannot be upgraded. OK?