Tyler-Keith-Thompson / CucumberSwift

A lightweight swift Cucumber implementation
https://tyler-keith-thompson.github.io/CucumberSwift/documentation/cucumberswift/
MIT License
74 stars 19 forks source link

Couldn't load project from derived data #90

Closed noureen-motorway closed 1 year ago

noureen-motorway commented 1 year ago

Describe the bug I am trying to use this library in my project and adding the dependency via SPM. As soon as I add it, I starts getting a weird error and no matter if I clear the build, its just keep appearing.

To Reproduce Just add the dependency via SPM into UI Test target

Expected behavior I want to get rid of this error so that I can continue with this framework.

Screenshots Screen shot is attached.

Screenshot 2023-05-31 at 17 55 24

Additional context Add any other context about the problem here.

noureen-motorway commented 1 year ago

@Tyler-Keith-Thompson can you comment on that please?

Tyler-Keith-Thompson commented 1 year ago

I'll look into this ASAP. I really thought I removed that folder from SPM once Xcode 14 came out and caused problems. Don't expect much before the weekend, though.

Tyler-Keith-Thompson commented 1 year ago

4.3.1 should solve this once and for all!

noureen-motorway commented 1 year ago

@Tyler-Keith-Thompson : The original issue is gone but now after using the 4.3.1, I am getting another compiler error.

Screenshot 2023-06-04 at 17 56 29

I did try to install via carthage but getting the similar type of error.

Screenshot 2023-06-04 at 17 53 52

Any thoughts?

Tyler-Keith-Thompson commented 1 year ago

Wow...that's new. Okay so I know you're using Xcode 14.3 but what version of Swift and what version of the OS are your tests running on? (iOS/macOS/tvOS/whatever) are you using?

It's possible that there's some kind of async/await issue at play here, but that's supposed to be quite backwards compatible.

Tyler-Keith-Thompson commented 1 year ago

Carthage not working there is a bit different. That's just an ARM vs x86 thing which presumably you can fix by changing your Carthage command and/or version of Carthage. But that SPM error is odd

noureen-motorway commented 1 year ago

@Tyler-Keith-Thompson : for SPM I am using swift language version 5 and running my tests on iphone 14(16.4).