{"action":"closed","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3195","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3195/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3195/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3195/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3195","id":58989949,"number":3195,"title":"Error on `pod install` after upgrade to 0.36.0.rc.1","user":{"login":"sstadelman","id":377404,"avatar_url":"https://avatars.githubusercontent.com/u/377404?v=3","gravatar_id":"","url":"https://api.github.com/users/sstadelman","html_url":"https://github.com/sstadelman","followers_url":"https://api.github.com/users/sstadelman/followers","following_url":"https://api.github.com/users/sstadelman/following{/other_user}","gists_url":"https://api.github.com/users/sstadelman/gists{/gist_id}","starred_url":"https://api.github.com/users/sstadelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstadelman/subscriptions","organizations_url":"https://api.github.com/users/sstadelman/orgs","repos_url":"https://api.github.com/users/sstadelman/repos","events_url":"https://api.github.com/users/sstadelman/events{/privacy}","received_events_url":"https://api.github.com/users/sstadelman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/d1:easy","name":"d1:easy","color":"00B952"},{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/s3:detailed","name":"s3:detailed","color":"E28C2C"},{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/t2:defect","name":"t2:defect","color":"6902E1"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/milestones/18","html_url":"https://github.com/CocoaPods/CocoaPods/milestones/Next%20Up%20Bug%20Fixes","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/milestones/18/labels","id":301098,"number":18,"title":"Next Up Bug Fixes","description":"This is a list of bug fixes that we will be working on for one of the next releases.\r\n\r\nThis does **not** mean all these fixes will be in the next release!","creator":{"login":"alloy","id":2320,"avatar_url":"https://avatars.githubusercontent.com/u/2320?v=3","gravatar_id":"","url":"https://api.github.com/users/alloy","html_url":"https://github.com/alloy","followers_url":"https://api.github.com/users/alloy/followers","following_url":"https://api.github.com/users/alloy/following{/other_user}","gists_url":"https://api.github.com/users/alloy/gists{/gist_id}","starred_url":"https://api.github.com/users/alloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alloy/subscriptions","organizations_url":"https://api.github.com/users/alloy/orgs","repos_url":"https://api.github.com/users/alloy/repos","events_url":"https://api.github.com/users/alloy/events{/privacy}","received_events_url":"https://api.github.com/users/alloy/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":23,"state":"open","created_at":"2013-04-02T11:17:26Z","updated_at":"2016-03-10T21:34:24Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2015-02-25T23:49:30Z","updated_at":"2016-03-10T21:34:24Z","closed_at":"2016-03-10T21:34:24Z","body":"I've been successfully using a Podfile referencing a local pod, using 0.35.  Immediately on upgrade to 0.36.0.rc.1, I am getting a new `undefined method` error in Xcodeproj on `pod install`.\r\n\r\nI was originally linking with two targets.  Since the error referenced an array, I tried cutting to just one target, but this had no effect.  I suspect that this is related to the issue discussed here:  https://github.com/CocoaPods/CocoaPods/issues/3091.  If I go into the pod spec, and comment out the `s.resources` references (which includes the contents of bundles), then I can run `pod install` successfully.\r\n\r\n*added comment on `s.resources` to resolve issue*\r\n```\r\n  s.library      = 'stdc++.6.0.9', 'z', 'c++'\r\n  s.framework   = 'CoreFoundation', 'Security', 'CFNetwork', 'MobileCoreServices', 'SystemConfiguration', 'MessageUI', 'CoreData'\r\n  s.source_files = \"MAFReuse/iOS/includes/public/MAFUIComponents/*.h\", \"MAFReuse/iOS/includes/public/MAFLogViewer/*.h\", \"ODataFramework/iOS/includes/public/**/*.h\"\r\n\r\n  # s.resources = 'MAFReuse/iOS/includes/bundles/MAFUIComponents.bundle', 'ODataFramework/iOS/includes/bundles/*.bundle', 'ODataFramework/iOS/includes/bundles/*.bundle', 'ODataFramework/iOS/includes/bundles/MobilePlace.bundle/Base.lproj/MobilePlace_iPhone.storyboard'\r\n```\r\n\r\n(reverting to 0.35 also worked).  Here's the console:\r\n\r\n### Command\r\n\r\n```\r\n/usr/local/bin/pod install\r\n```\r\n\r\n### Report\r\n\r\n* What did you do?\r\n\r\n* What did you expect to happen?\r\n\r\n* What happened instead?\r\n\r\n\r\n### Stack\r\n\r\n```\r\n   CocoaPods : 0.36.0.rc.1\r\n        Ruby : ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]\r\n    RubyGems : 2.2.2\r\n        Host : Mac OS X 10.10.2 (14C109)\r\n       Xcode : 6.3 (6D520o)\r\n         Git : git version 2.1.2\r\nRuby lib dir : /usr/local/Cellar/ruby/2.1.3_1/lib\r\nRepositories : master - https://github.com/CocoaPods/Specs.git @ bb653fb17a2d69ed808c60eab389d29ad9b9dd98\r\n```\r\n\r\n### Plugins\r\n\r\n```\r\ncocoapods-plugins : 0.4.1\r\ncocoapods-trunk   : 0.5.1\r\ncocoapods-try     : 0.4.3\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\n# Uncomment this line to define a global platform for your project\r\nplatform :ios, '8.0'\r\n\r\n# Requires Cocoapods ruby gem (www.cocoapods.org)\r\n# To install, run `$ sudo gem install cocoapods`\r\n\r\n# For setup with SAP Mobile SDK:\r\n# (1) Alter the :path value for 'NativeSDK', to match the location of the \"NativeSDK\" folder in your SAP Mobile SDK installation directory.\r\n# (2) `cd` to the project folder, and run `pod install`, to setup the NativeSDK pod with your project.\r\n\r\ntarget 'testNewCP' do\r\npod 'NativeSDK', :path => \"~/SAP/MobileSDK3/NativeSDK/\"\r\nend\r\n```\r\n\r\n### Error\r\n\r\n```\r\nNoMethodError - undefined method `[]' for #<Xcodeproj::Project::Object::PBXFileReference:0x007fcf522734a8>\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/project.rb:186:in `block in add_file_reference'\r\n/usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/pathname.rb:266:in `block in each_filename'\r\n/usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/pathname.rb:266:in `each'\r\n/usr/local/Cellar/ruby/2.1.3_1/lib/ruby/2.1.0/pathname.rb:266:in `each_filename'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/project.rb:184:in `add_file_reference'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer/file_references_installer.rb:168:in `block (2 levels) in add_file_accessors_paths_to_pods_group'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer/file_references_installer.rb:166:in `each'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer/file_references_installer.rb:166:in `block in add_file_accessors_paths_to_pods_group'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer/file_references_installer.rb:162:in `each'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer/file_references_installer.rb:162:in `add_file_accessors_paths_to_pods_group'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer/file_references_installer.rb:103:in `block in add_resources'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/user_interface.rb:110:in `message'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer/file_references_installer.rb:102:in `add_resources'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer/file_references_installer.rb:38:in `install!'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer.rb:486:in `install_file_references'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer.rb:130:in `block in generate_pods_project'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/user_interface.rb:49:in `section'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer.rb:128:in `generate_pods_project'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/installer.rb:96:in `install!'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/command/project.rb:71:in `run_install_with_update'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/command/project.rb:101:in `run'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/claide-0.8.1/lib/claide/command.rb:312:in `run'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/lib/cocoapods/command.rb:46:in `run'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/cocoapods-0.36.0.rc.1/bin/pod:44:in `<top (required)>'\r\n/usr/local/bin/pod:23:in `load'\r\n/usr/local/bin/pod:23:in `<main>'\r\n```"}}