xcodeでcocoapodsを用いた日記アプリを作りたいです。
他のサイトで作り方が出ているのを参考にしています。
まず、xcodeで新規プロジェクトを作りました。
次に、ターミナルでcocoapodsをインストールし、projのディレクトリまで移動しpod initを入力したところ、このようなエラーメッセージが表示されました。
Operation not permitted - getcwd (Errno::EPERM)
全体としては下記のように出ています。
Traceback (most recent call last): 46: from /Users/apple/.rbenv/versions/2.5.0/bin/pod:23:in `<main>' 45: from /Users/apple/.rbenv/versions/2.5.0/bin/pod:23:in `load' 44: from /Users/apple/.rvm/gems/ruby-2.3.7/gems/cocoapods-1.8.4/bin/pod:36:in `<top (required)>' 43: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 42: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 41: from /Users/apple/.rvm/gems/ruby-2.3.7/gems/cocoapods-1.8.4/lib/cocoapods.rb:8:in `<top (required)>' 40: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 39: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 38: from /Users/apple/.rvm/rubies/ruby-2.3.7/lib/ruby/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/string/inflections.rb:1:in `<top (required)>' 37: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 36: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 35: from /Users/apple/.rvm/rubies/ruby-2.3.7/lib/ruby/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/inflector/methods.rb:3:in `<top (required)>' 34: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 33: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 32: from /Users/apple/.rvm/rubies/ruby-2.3.7/lib/ruby/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/inflections.rb:1:in `<top (required)>' 31: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 30: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 29: from /Users/apple/.rvm/rubies/ruby-2.3.7/lib/ruby/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/inflector/inflections.rb:3:in `<top (required)>' 28: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 27: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 26: from /Users/apple/.rvm/rubies/ruby-2.3.7/lib/ruby/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/i18n.rb:5:in `<top (required)>' 25: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 24: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 23: from /Users/apple/.rvm/rubies/ruby-2.3.7/lib/ruby/gems/2.3.0/gems/i18n-0.9.5/lib/i18n.rb:1:in `<top (required)>' 22: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 21: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 20: from /Users/apple/.rvm/gems/ruby-2.3.7/gems/concurrent-ruby-1.1.4/lib/concurrent/map.rb:3:in `<top (required)>' 19: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 18: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 17: from /Users/apple/.rvm/gems/ruby-2.3.7/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization.rb:5:in `<top (required)>' 16: from /Users/apple/.rvm/gems/ruby-2.3.7/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/native_extension_loader.rb:30:in `load_native_extensions' 15: from /Users/apple/.rvm/gems/ruby-2.3.7/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/native_extension_loader.rb:30:in `each' 14: from /Users/apple/.rvm/gems/ruby-2.3.7/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/native_extension_loader.rb:30:in `block in load_native_extensions' 13: from /Users/apple/.rvm/gems/ruby-2.3.7/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/native_extension_loader.rb:62:in `try_load_c_extension' 12: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:34:in `require' 11: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:123:in `rescue in require' 10: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems.rb:213:in `try_activate' 9: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:1036:in `find_by_path' 8: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:1036:in `find' 7: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:1036:in `each' 6: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:1037:in `block in find_by_path' 5: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/bundler_version_finder.rb:39:in `compatible?' 4: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/bundler_version_finder.rb:7:in `bundler_version' 3: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/bundler_version_finder.rb:22:in `bundler_version_with_reason' 2: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/bundler_version_finder.rb:68:in `lockfile_version' 1: from /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/bundler_version_finder.rb:80:in `lockfile_contents' /Users/apple/.rbenv/versions/2.5.0/lib/ruby/site_ruby/2.5.0/rubygems/bundler_version_finder.rb:80:in `pwd': Operation not permitted - getcwd (Errno::EPERM)
どんな問題が考えられるでしょうか。
MacOSのバージョンなどを教えてください
回答3件
あなたの回答
tips
プレビュー