my installed xcode9-beta4.
Able to use 'cocopod'.
Can not execute the command is 'pod init'.
CoacoaPods : 1.0.1
Ruby : ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
RubyGems : 2.4.8
Host : Mac OS X 10.12.6 (16G29)
Xcode : 9.0 (9M214v)
Git : git version 2.14.1
Ruby lib dir : /Users/tongshanli/.rvm/rubies/ruby-2.2.2/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 008eb94ca61ae2aac4cba3e48c4f3be8efe85dc8
cocoapods-deintegrate : 1.0.0
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.0.0
cocoapods-trunk : 1.0.0
cocoapods-try : 1.1.0
RuntimeError - [Xcodeproj] Unknown object version.
/Users/tongshanli/.rvm/gems/ruby-2.2.2@global/gems/xcodeproj-
1.2.0/lib/xcodeproj/project.rb:217:ininitialize_from_file'
/Users/tongshanli/.rvm/gems/ruby-2.2.2@global/gems/xcodeproj-
1.2.0/lib/xcodeproj/project.rb:102:in open'
/Users/tongshanli/.rvm/gems/ruby-2.2.2@global/gems/cocoapods-
1.0.1/lib/cocoapods/command/init.rb:41:invalidate!'
/Users/tongshanli/.rvm/gems/ruby-2.2.2@global/gems/claide-1.0.0/lib/claide/command.rb:333:in run'
/Users/tongshanli/.rvm/gems/ruby-2.2.2@global/gems/cocoapods-
1.0.1/lib/cocoapods/command.rb:50:inrun'
/Users/tongshanli/.rvm/gems/ruby-2.2.2@global/gems/cocoapods-1.0.1/bin/pod:55:in <top
(required)>'
/Users/tongshanli/.rvm/rubies/ruby-2.2.2/bin/pod:23:inload'
/Users/tongshanli/.rvm/rubies/ruby-2.2.2/bin/pod:23:in <main>'
/Users/tongshanli/.rvm/gems/ruby-2.2.2@global/bin/ruby_executable_hooks:15:ineval'
/Users/tongshanli/.rvm/gems/ruby-2.2.2@global/bin/ruby_executable_hooks:15:in <main>'
Hi there, thanks for the issue, but it seem that this issue is just the default template. Please create a new issue with the template filled out.
Generated by :no_entry_sign: dangerJS
Hi Tonshell
I was also facing same problem since last three days, but its solution is pretty easy which Finally I configured within 5 minutes.
lets move towards the solution.
Step 1. Open your Terminal.
and you are in your default users's Directory.
Step 2. just write following command to update or install your pod
[sudo] gem install cocoapods
if that above command does not works, no needs to worry about, because you will be having sudo less gem in your mac machine.
So after that try this command.
gem install cocoapods --user-install
this will install or updates latest version of pod in your current Users directory smoothly
Remember, NO needs to step into or step out of any directory when you open your terminal very first time, because you'll be in your default user's directory very first time you open your terminal,
Otherwise if you stepped in our stepped out any directory just close your terminal and reopen and to repeat step number 2.
Step 3. Now move to your required project's directory and to install pod while using following command
pod init
and after adding your required dependencies to your pod install it while using following command
pod install
please leave your comment if it works out....
Not working, I'm facing the same issues as above. Any fixes as yet?
Same here CP 1.4.0 with Xc 9.3 beta (9Q98q)
Has anyone found the fix for this.. I'm experiencing the same for 9.3 beta
Pleas share your Xcode project so we can investigate, thanks!
@segiddins are you able to use Cocoapods at all with Xcode 9.3 beta?
@aodhol yes
@infinZero This is ok!
I am still not able to use pods in my beta app
Can you check that the Project Format of your Xcode project is set to Xcode
8.0-compatible rather than Xcode 9.3-compatible because I think Cocoapods
1.4.0 doesn't yet support that 'object version'.
On 2 February 2018 at 22:42, mattmega4 notifications@github.com wrote:
I am still not able to use pods in my beta app
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CocoaPods/CocoaPods/issues/6991#issuecomment-362729869,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQw-kp1gktyxIyQ26nIrZ8IqxyYTXfBks5tQ49tgaJpZM4PI3A-
.
Most helpful comment
Can you check that the Project Format of your Xcode project is set to Xcode
8.0-compatible rather than Xcode 9.3-compatible because I think Cocoapods
1.4.0 doesn't yet support that 'object version'.
On 2 February 2018 at 22:42, mattmega4 notifications@github.com wrote: