mkoehnke / WKZombie

WKZombie is a Swift framework for iOS/OSX to navigate within websites and collect data without the need of User Interface or API, also known as Headless browser. It can be used to run automated tests / snapshots and manipulate websites using Javascript.
MIT License
1.17k stars 100 forks source link

Compiling error Fixed #80

Closed mRs- closed 6 years ago

mRs- commented 6 years ago

Use shared() instead of shared.

mkoehnke commented 6 years ago

Thanks.

mkoehnke commented 6 years ago

Sorry. Had to rollback your changes. This is not the correct fix. I think the reporter of #75 tried to use WKZombie in an App Extension. As UIApplication.shared is not supported in those, it fails. I will increase the minimal deployment targets to 10.3 (iOS) and 10.12 (OSX).