Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing package product 'ApolloCore' #2213

Closed
deepcodingios opened this issue Mar 23, 2022 · 1 comment
Closed

Missing package product 'ApolloCore' #2213

deepcodingios opened this issue Mar 23, 2022 · 1 comment

Comments

@deepcodingios
Copy link

deepcodingios commented Mar 23, 2022

Bug report

Versions

0.51.0

Please fill in the versions you're currently using:

  • apollo-ios SDK version: 0.51.0
  • Xcode version: 13.3
  • Swift version: Swift 5
  • Package manager: SPM

Steps to reproduce

Updated the SPM to 0.51.0 from 0.43.0. I am getting this error after updating.

@calvincestari
Copy link
Member

Hi @deepcodingios- 👋🏻

The missing package ApolloCore is correct, it was split in 0.44.0. It is detailed as a breaking change in the release notes.

tl;dr

BREAKING: Split ApolloCore into two more granular libraries, ApolloAPI (which will contain the parts necessary to compile generated code) and ApolloUtils (which will contain code shared between Apollo and ApolloCodegenLib). If you were previously importing ApolloCore, in most places you will need to import ApolloUtils. If you're using Carthage, you will need to remove the old ApolloCore xcframework and replace it with the two ApolloAPI and ApolloUtils frameworks. (#1817)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants