Skip to content

Compiler error with Xcode 10.2 (10E125) with Apollo cocoapod 0.9.5 #485

Closed
@commanda

Description

Compiler error:

/Users/amanda/Playpen/Fresh/Pods/Apollo/Sources/Apollo/Collections.swift:65:42: Cannot assign value of type 'EnumeratedSequence<[Key]>.Iterator' to type 'EnumeratedSequence<IndexingIterator<Array<Key>>>.Iterator'

Repro steps:

  • Update to Xcode 10.2 (10E125)
  • Create a fresh Xcode project
  • pod init
  • Add pod Apollo to the Podfile
  • pod install
  • See that cocoapods installed Apollo (0.9.5)
  • Open the .xcworkspace
  • Attempt to compile the project
  • See the compiler error

I tried setting the Swift language version to 4, 4.2, or 5, and also tried setting the same on the Apollo project, but I still got the compiler error.

Podfile:

# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'

target 'Fresh' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Fresh
  pod 'Apollo'

end

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions