pmusolino / Wormholy

iOS network debugging, like a wizard 🧙‍♂️
MIT License
2.31k stars 184 forks source link

SPM Xcode #95

Closed skychiarottoa closed 2 years ago

skychiarottoa commented 3 years ago

If I try do import it with SPM i get the follwing:

Source files for target Wormholy should be located under 'Sources/Wormholy', or a custom sources path can be set with the 'path' property in Package.swift

tadelv commented 3 years ago

I got the same error. I've forked the project and then found out, that you can't have mixed language packages with SPM, so I made changes to wormholy to be Swift only, while sacrificing the automagic hooks. But it's now pure Swift and uses Wormholy.awake() to setup itself.

pmusolino commented 2 years ago

For the moment it's not possible to use SPM because of the classes in Obj-C.

Sundea commented 2 years ago

I still have this issue 1.6.5 version

Moamenzalabia commented 1 year ago

I still have this issue any fix, please? Source files for target Wormholy should be located under 'Sources/Wormholy', or a custom sources path can be set with the 'path' property in Package.swift

tadelv commented 1 year ago

You can try and use this fork: https://github.com/tadelv/Wormholy

just make sure to call Womholy.awake() before use