{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/3985","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3985/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3985/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3985/events","html_url":"https://github.com/realm/realm-cocoa/issues/3985","id":172021956,"number":3985,"title":"Fresh project, `pod try 'RealmSwift'` fails; also `pod install` fails.","user":{"login":"ashokds","id":17131511,"avatar_url":"https://avatars.githubusercontent.com/u/17131511?v=3","gravatar_id":"","url":"https://api.github.com/users/ashokds","html_url":"https://github.com/ashokds","followers_url":"https://api.github.com/users/ashokds/followers","following_url":"https://api.github.com/users/ashokds/following{/other_user}","gists_url":"https://api.github.com/users/ashokds/gists{/gist_id}","starred_url":"https://api.github.com/users/ashokds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashokds/subscriptions","organizations_url":"https://api.github.com/users/ashokds/orgs","repos_url":"https://api.github.com/users/ashokds/repos","events_url":"https://api.github.com/users/ashokds/events{/privacy}","received_events_url":"https://api.github.com/users/ashokds/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/build","name":"build","color":"2A0000"},{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/T:Help","name":"T:Help","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-18T23:13:15Z","updated_at":"2016-09-19T02:04:56Z","closed_at":"2016-08-31T18:21:18Z","body":"## Goals\r\n\r\nTo get a project started with Realm (or SugarRecord).\r\n\r\n## Expected Results\r\n\r\n'pod install' results in successful generation of xcworkspace file.\r\n\r\n## Actual Results\r\n\r\nGetting following error \r\n```\r\n$ /bin/bash -c  set -e sh build.sh cocoapods-setup\r\n[!] /bin/bash -c \r\nset -e\r\nsh build.sh cocoapods-setup\r\n```\r\n\r\n(output of `pod install --verbose`)\r\n```\r\npod install --verbose\r\n  Preparing\r\n\r\nAnalyzing dependencies\r\n\r\nInspecting targets to integrate\r\n  Using `ARCHS` setting to build architectures of target `Pods-Realm_101`: (``)\r\n  Using `ARCHS` setting to build architectures of target `Pods-Realm_101Tests`:\r\n  (``)\r\n  Using `ARCHS` setting to build architectures of target\r\n  `Pods-Realm_101UITests`: (``)\r\n\r\nFetching external sources\r\n-> Pre-downloading: `Realm` from `https://github.com/realm/realm-cocoa.git`, branch `master`, submodules `true`\r\n > Git download\r\n > Git download\r\n     $ /usr/local/bin/git clone https://github.com/realm/realm-cocoa.git\r\n     /var/folders/m3/rrsgdbg16sx4gn19qpy497nrhg335x/T/d20160818-68761-v3payo\r\n     --template= --single-branch --depth 1 --branch master\r\n     Cloning into '/var/folders/m3/rrsgdbg16sx4gn19qpy497nrhg335x/T/d20160818-68761-v3payo'...\r\n     $ /usr/local/bin/git submodule update --init --recursive\r\n     Submodule 'Realm/ObjectStore' (https://github.com/realm/realm-object-store.git) registered for path 'Realm/ObjectStore'\r\n     Cloning into '/private/var/folders/m3/rrsgdbg16sx4gn19qpy497nrhg335x/T/d20160818-68761-v3payo/Realm/ObjectStore'...\r\n     Submodule path 'Realm/ObjectStore': checked out '6a47d44fa8562e1c998eea57ce8a01eea7d11031'\r\n     Submodule 'external/catch' (https://github.com/philsquared/Catch) registered for path 'Realm/ObjectStore/external/catch'\r\n     Submodule 'external/pegtl' (https://github.com/ColinH/PEGTL) registered for path 'Realm/ObjectStore/external/pegtl'\r\n     Cloning into '/private/var/folders/m3/rrsgdbg16sx4gn19qpy497nrhg335x/T/d20160818-68761-v3payo/Realm/ObjectStore/external/catch'...\r\n     Cloning into '/private/var/folders/m3/rrsgdbg16sx4gn19qpy497nrhg335x/T/d20160818-68761-v3payo/Realm/ObjectStore/external/pegtl'...\r\n     Submodule path 'Realm/ObjectStore/external/catch': checked out 'f294c9847272b1b92c5119a6f711e57113b5f231'\r\n     Submodule path 'Realm/ObjectStore/external/pegtl': checked out '3c4128a7e7e1288eb746418ea60c41477358f26a'\r\n > Running prepare command\r\n   $ /bin/bash -c  set -e sh build.sh cocoapods-setup\r\n[!] /bin/bash -c \r\nset -e\r\nsh build.sh cocoapods-setup\r\n\r\n\r\n\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/executable.rb:69:in `execute_command'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/executable.rb:27:in `block in executable'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/pod_source_preparer.rb:66:in `block (2 levels) in run_prepare_command'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/pod_source_preparer.rb:60:in `chdir'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/pod_source_preparer.rb:60:in `block in run_prepare_command'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:63:in `section'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/pod_source_preparer.rb:59:in `run_prepare_command'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/pod_source_preparer.rb:37:in `prepare!'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:201:in `copy_and_clean'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:158:in `block (2 levels) in uncached_pod'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:156:in `each'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:156:in `block in uncached_pod'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:180:in `in_tmpdir'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:152:in `uncached_pod'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:33:in `download_pod'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader.rb:39:in `download'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/external_sources/abstract_external_source.rb:114:in `block in pre_download'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:84:in `titled_section'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/external_sources/abstract_external_source.rb:112:in `pre_download'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/external_sources/downloader_source.rb:13:in `fetch'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/analyzer.rb:479:in `fetch_external_source'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/analyzer.rb:455:in `block (2 levels) in fetch_external_sources'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/analyzer.rb:454:in `each'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/analyzer.rb:454:in `block in fetch_external_sources'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:63:in `section'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/analyzer.rb:453:in `fetch_external_sources'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/analyzer.rb:73:in `analyze'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:227:in `analyze'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:151:in `block in resolve_dependencies'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:63:in `section'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:150:in `resolve_dependencies'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:114:in `install!'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/command/install.rb:37:in `run'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/claide-1.0.0/lib/claide/command.rb:334:in `run'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/command.rb:50:in `run'\r\n/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/bin/pod:55:in `<top (required)>'\r\n/usr/local/bin/pod:23:in `load'\r\n/usr/local/bin/pod:23:in `<main>'\r\n```\r\n\r\n## Steps to Reproduce\r\n\r\n#Start an empty project using XCode 8 beta 6\r\n#\r\n\r\n## Code Sample\r\n\r\n```\r\n# Uncomment this line to define a global platform for your project\r\n# platform :ios, '9.0'\r\n\r\ntarget 'SugarRecord_101_XCode7' do\r\n  # Comment this line if you're not using Swift and don't want to use dynamic frameworks\r\n  use_frameworks!\r\n\r\n  # Pods for SugarRecord_101_XCode7\r\n  pod 'RealmSwift', git: 'https://github.com/realm/realm-cocoa.git', branch: 'master', :submodules => true\r\n\r\n  target 'SugarRecord_101_XCode7Tests' do\r\n    inherit! :search_paths\r\n    # Pods for testing\r\n  end\r\n\r\n  target 'SugarRecord_101_XCode7UITests' do\r\n    inherit! :search_paths\r\n    # Pods for testing\r\n  end\r\n\r\nend\r\n```\r\n## Version of Realm and Tooling\r\n\r\n[In the CONTRIBUTING guidelines](https://git.io/vgxJO), you will find a script,\r\nwhich will help determining these versions.\r\n\r\nRealm version: 1.0.2\r\n\r\nXcode version: XCode 8 beta 6\r\n\r\niOS/OSX version: El Capitan\r\n\r\nDependency manager + version: Cocoapods 1.0.1\r\n"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/247899792","html_url":"https://github.com/realm/realm-cocoa/issues/3985#issuecomment-247899792","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3985","id":247899792,"user":{"login":"SandyChapman","id":3920249,"avatar_url":"https://avatars.githubusercontent.com/u/3920249?v=3","gravatar_id":"","url":"https://api.github.com/users/SandyChapman","html_url":"https://github.com/SandyChapman","followers_url":"https://api.github.com/users/SandyChapman/followers","following_url":"https://api.github.com/users/SandyChapman/following{/other_user}","gists_url":"https://api.github.com/users/SandyChapman/gists{/gist_id}","starred_url":"https://api.github.com/users/SandyChapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SandyChapman/subscriptions","organizations_url":"https://api.github.com/users/SandyChapman/orgs","repos_url":"https://api.github.com/users/SandyChapman/repos","events_url":"https://api.github.com/users/SandyChapman/events{/privacy}","received_events_url":"https://api.github.com/users/SandyChapman/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T02:04:56Z","updated_at":"2016-09-19T02:04:56Z","body":"Just started seeing this same issue happen on my build machine. Was working just a couple days ago. Not sure what's wrong."}}
{"actor":{"display_login":"SandyChapman"}}