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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run the Example

mazloumi opened this issue · comments

Hi all, I tried to run the example but get the following issue:

[!] CocoaPods could not find compatible versions for pod "WKZombie":
In Podfile:
WKZombie (from ../)

Specs satisfying the WKZombie (from ../) dependency were found, but they required a higher minimum deployment target.

Any suggestions?

Installing the pre release of CocoaPods 1.6.0.beta.2 and running pod update WKZombie in the Examples folder I get this;

Pod installation complete! There is 1 dependency from the Podfile and 2 total pods installed.

[!] The platform of the target Example iOS (iOS 9.1) may not be compatible with WKZombie (1.1.1) which has a minimum requirement of iOS 10.3 - macOS 10.12.

[!] The platform of the target Example OSX (macOS 10.11) may not be compatible with WKZombie (1.1.1) which has a minimum requirement of iOS 10.3 - macOS 10.12.

[!] The Example iOS [Debug] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in Pods/Target Support Files/Pods-Example iOS/Pods-Example iOS.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the $(inherited)` flag, or
- Remove the build settings from the target.

[!] The Example iOS [Release] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in Pods/Target Support Files/Pods-Example iOS/Pods-Example iOS.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the $(inherited)` flag, or
- Remove the build settings from the target.

[!] The Example OSX [Debug] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in Pods/Target Support Files/Pods-Example OSX/Pods-Example OSX.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the $(inherited)` flag, or
- Remove the build settings from the target.

[!] The Example OSX [Release] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in Pods/Target Support Files/Pods-Example OSX/Pods-Example OSX.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the $(inherited)` flag, or
- Remove the build settings from the target.

I was also having trouble running the example. First, go to the project build settings in Xcode and delete the build setting "always embed swift standard libraries". Second, I couldn't get the cocoapod to build locally so I just replaced the import cocoapod to just download it and install it. After that I was able to run the example project.