mattpolzin / JSONAPI

Swift Codable JSON:API framework
MIT License
75 stars 19 forks source link

No such module 'Poly' #105

Closed reshadf closed 1 year ago

reshadf commented 1 year ago

Describe the bug after using the library for a few months, we suddenly get "No such module poly" when running our unit tests. Running the actual app target runs just fine. The problem happens in JSONAPI/Sources/JSONAPI/Document/Document.swift where it fails to import the Poly module. Do you have any clue how to fix this?

What I tried already

Do you plan to fix yourself? No clue where to start

mattpolzin commented 1 year ago

I have a few questions to help me get my bearings.

  1. Are you using Swift Package Manager (SwiftPM) to manage your dependency on JSONAPI? It sounds like you are (ideally, that is, I know you've tried CocoaPods as a troubleshooting step).
  2. Are you using Xcode, the command line, or a CI platform to run your tests?
  3. What version of Swift and/or Xcode are you using?
mattpolzin commented 1 year ago

I’m hoping this issue is resolved since I haven’t heard more about it. I’m guessing the problem had something to do with the test environment or an Xcode configuration since I haven’t heard other reports of the same problem.

Please re-open the issue if you’d still like me to help track the problem down.