diff --git a/Frank.podspec b/Frank.podspec new file mode 100644 index 0000000..ddad0df --- /dev/null +++ b/Frank.podspec @@ -0,0 +1,93 @@ +Pod::Spec.new do |s| + s.name = 'Frank' + s.version = '1.2.1' + s.summary = "Frank is 'Selenium for native iOS apps'." + s.description = <<-DESC + Frank is 'Selenium for native iOS apps'. + + It allows you to write automated acceptance tests which + verify the functionality of your native iOS app. + DESC + s.homepage = 'http://www.testingwithfrank.com' + s.license = 'Apache2' + s.authors = { + 'Pete Hodgson' => 'github@thepete.net' + } + + s.ios.deployment_target = "6.0" + s.osx.deployment_target = "10.7" + + s.source = { + :git => 'https://github.com/TestingWithFrank/Frank.git', + :commit => '90c53d07b0e42859c40092e8d23efff8488ca88a', + :submodules => true + } + + s.source_files = + 'src/AccessibilityCheckCommand.[mh]', + 'src/AppCommand.[mh]', + 'src/DeviceCommand.[mh]', + 'src/DumpCommandRoute.[mh]', + 'src/EnginesCommand.[mh]', + 'src/ExitCommand.[mh]', + 'src/FrankCommandRoute.[mh]', + 'src/FrankLoader.[mh]', + 'src/FranklyProtocolHelper.[mh]', + 'src/FrankServer.[mh]', + 'src/ImageCaptureRoute.[mh]', + 'src/MapOperationCommand.[mh]', + 'src/NSObject+FrankAutomation.[mh]', + 'src/Operation.[mh]', + 'src/RequestRouter.[mh]', + 'src/ResolutionCommand.[mh]', + 'src/RoutingHTTPConnection.[mh]', + 'src/SelectorEngineRegistry.[mh]', + 'src/StaticResourcesRoute.[mh]', + 'src/SuccessCommand.[mh]', + 'src/VersionCommand.[mh]', + 'src/ViewJSONSerializer.[mh]', + 'src/JSON.h' + + s.osx.source_files = + 'src/FEXTableCell.[mh]', + 'src/FEXTableRow.[mh]', + 'src/NSApplication+FrankAutomation.[mh]', + 'src/NSImage+Frank.[mh]', + 'src/NSScreen+Frank.[mh]', + 'src/NSStatusBar+FrankAutomation.[mh]', + 'src/NSView+FrankImageCapture.[mh]', + 'src/OSXKeyboardCommand.[mh]' + + s.ios.source_files = + 'src/IOSKeyboardCommand.[mh]', + 'src/LocationCommand.[mh]', + 'src/OrientationCommand.[mh]', + 'src/UIApplication+FrankAutomation.[mh]', + 'src/UIImage+Frank.[mh]', + 'src/UIScrollView+FrankScrolling.[mh]', + 'src/UISlider+PublicAutomation.[mh]', + 'src/UIView+Frank.[mh]', + 'src/UIView+ImageCapture.[mh]', + 'src/UIView+MapKitWorkaround.[mh]', + 'src/UIView+PublicAutomation.[mh]' + + # Alternatively, link library directly + # s.vendored_library = 'gem/frank-skeleton/libFrankMac.a' + # s.library = 'FrankMac' + + s.resource = 'gem/frank-skeleton/frank_static_resources.bundle' + s.preserve_paths = 'symbiote/bundle/**' + + s.xcconfig = { + 'LIBRARY_SEARCH_PATHS' => '"$(PODS_ROOT)/Frank/"', + 'GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS' => '$(inherited) FRANKIFIED' + } + + s.dependency 'AnyJSON', '= 0.0.1' + s.dependency 'CocoaLumberjack' + s.dependency 'Shelley/Frank' + s.dependency 'CocoaHTTPServer' + s.dependency 'CocoaAsyncSocket' + s.ios.dependency 'PublicAutomation' + +end