pmusolino / Wormholy

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

Swift 5 Compiler Error #60

Closed silnose closed 4 years ago

silnose commented 4 years ago

Situation: First try installing Wormholy in my app

Result after: /Pods/Wormholy/Sources/Subclasses/WHBaseViewController.swift:44:91: 'shared' is unavailable: Use view controller based solutions where appropriate instead.

  1. 'shared' has been explicitly marked unavailable here (UIKit.UIApplication)
pmusolino commented 4 years ago

Hum... can you try to clean the project and derived data please?

rayray commented 4 years ago

Same, this doesn't seem to work at all in Xcode 10.3 with Cocoapods. Fresh pod install, cleaned build folder. The Wormholy target is set to Swift 4.0, but there are still a lot of errors about renamed APIs.

pmusolino commented 4 years ago

Hi there. Are you sure are you using the latest version of Wormholy (v.1.4.1)?