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

fix: Compilation errors in ParseLiveQuery using Starscream 4.0.6 #1749

Merged
merged 10 commits into from
Oct 6, 2023

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Oct 5, 2023

New Pull Request Checklist

Issue Description

There are many reasons why these issues could occur.

Type 'Client' does not conform to protocol
Switch must be exhaustive

Closes: #1738

Approach

You can replicate this issue by adding ParseLiveQuery to the tvOS starter project via SPM.

  • Bump starscream to 4.0.6
  • Remove starscream from Carthage
  • Remove bolts-swift from Carthage
  • Add starscream changes from update
  • Add local SDK from SPM to tvOS starter
  • Deploy for iOS 12

@parse-github-assistant
Copy link

parse-github-assistant bot commented Oct 5, 2023

Thanks for opening this pull request!

  • 🎉 We are excited about your hands-on contribution!

@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (79a92ac) 78.22% compared to head (530857c) 78.22%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1749   +/-   ##
=======================================
  Coverage   78.22%   78.22%           
=======================================
  Files         307      307           
  Lines       36981    36981           
=======================================
+ Hits        28927    28929    +2     
+ Misses       8054     8052    -2     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dplewis dplewis changed the title fix: Compilation errors in ParseLiveQuery related to StarStream fix: Compilation errors in ParseLiveQuery using Starscream 4.0.6 Oct 5, 2023
@dplewis
Copy link
Member Author

dplewis commented Oct 5, 2023

When adding Starscream to the ParseLiveQuery project as a swift package dependency I got this. I'm using my own fork for now.

Screenshot 2023-10-05 at 6 00 25 PM

@mtrezza
Copy link
Member

mtrezza commented Oct 6, 2023

How is that possible for a public repository? Did you try https://stackoverflow.com/questions/58816416/xcode-swift-package-manager-error-the-repository-could-not-be-found?

Also, there is a repository= prefix in the dialog text, not sure if that's expected.

@dplewis
Copy link
Member Author

dplewis commented Oct 6, 2023

I figured it out

@dplewis
Copy link
Member Author

dplewis commented Oct 6, 2023

@mtrezza This is ready to merge.

Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - an impressive tour de force!

@mtrezza mtrezza merged commit 3da5bde into parse-community:master Oct 6, 2023
12 checks passed
parseplatformorg pushed a commit that referenced this pull request Oct 6, 2023
## [2.7.3](2.7.2...2.7.3) (2023-10-06)

### Bug Fixes

* Compilation errors in `ParseLiveQuery` using `Starscream` 4.0.6 ([#1749](#1749)) ([3da5bde](3da5bde))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 2.7.3

@parseplatformorg parseplatformorg added the state:released Released as stable version label Oct 6, 2023
@dplewis dplewis deleted the livequery-fix branch October 6, 2023 09:37
eeallen1 added a commit to eeallen1/Parse-SDK-iOS-OSX that referenced this pull request May 6, 2024
* commit 'ef9b00de9eeeca7fddfe9439141f5141ff5dac02': (86 commits)
  chore(release): 3.0.0 [skip ci]
  ci: Fix release workflow (parse-community#1782)
  feat: Remove `ParseFacebookUtils` and `ParseTwitterUtils` (parse-community#1779)
  feat: Add `PFObject.isDataAvailableForKey` to check if data is available for individual key (parse-community#1756)
  ci: Bump ip from 2.0.0 to 2.0.1 (parse-community#1772)
  ci: Fix failing CI by pinning bundler version (parse-community#1778)
  refactor: Remove Carthage dependency (parse-community#1763)
  refactor: Remove OCMock Carthage dependency (parse-community#1754)
  ci: Run CI on Xcode 15 and macOS 13 (parse-community#1753)
  refactor: Update ruby dependencies (parse-community#1752)
  refactor: Remove framework builder for assets (parse-community#1751)
  chore(release): 2.7.3 [skip ci]
  fix: Compilation errors in `ParseLiveQuery` using `Starscream` 4.0.6 (parse-community#1749)
  docs: Add changelog note about missing assets (parse-community#1750)
  chore(release): 2.7.2 [skip ci]
  fix: Compilation errors `Undefined symbol` and `SystemConfiguration not found` on watchOS (parse-community#1748)
  ci: Remove publishing release assets (parse-community#1745)
  ci: Fix and build Starter Projects (parse-community#1744)
  chore(release): 2.7.1 [skip ci]
  fix: Compilation error on macOS `Undefined symbol: OBJC_CLASS$_PFProductsRequestHandler` (parse-community#1739)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ParseLiveQuery: 2 compilation errors related to Starscream
3 participants