Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add CocoaPods #3

Merged
merged 2 commits into from

2 participants

@gfontenot
Collaborator

Added the podspec needed to add this library to CocoaPods. Right now, the podspec is pointed at a specific commit, but it would really be better to point it at a git tag, which would require PublicAutomation to be versioned.

I also ran into an ARC error with the id * pointer in the UIAutomation header, so I redefined it as void *.

@moredip moredip merged commit 810a765 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 5, 2013
  1. @gfontenot

    Fix id pointer error

    gfontenot authored
Commits on May 7, 2013
  1. @gfontenot

    Add podspec

    gfontenot authored
This page is out of date. Refresh to see the latest.
Showing with 19 additions and 1 deletion.
  1. +18 −0 PublicAutomation.podspec
  2. +1 −1  PublicAutomation/UIAutomation.h
View
18 PublicAutomation.podspec
@@ -0,0 +1,18 @@
+Pod::Spec.new do |s|
+ s.name = 'PublicAutomation'
+ s.version = '0.0.1'
+ s.summary = 'Wrapper for Apple\'s internal UIAutomation APIs.'
+ s.homepage = 'https://github.com/TestingWithFrank/PublicAutomation'
+ s.license = 'Apache2'
+ s.authors = {
+ 'Pete Hodgson' => 'github@thepete.net'
+ }
+ s.source = {
+ :git => 'https://github.com/TestingWithFrank/PublicAutomation.git',
+ :commit => '8c6b2556ec1bc4ef89c49c3a5c563487023b2fce'
+ }
+
+ s.platform = :ios, '5.0'
+ s.source_files = 'PublicAutomation/**/*.{h,m}'
+ s.requires_arc = true
+end
View
2  PublicAutomation/UIAutomation.h
@@ -37,7 +37,7 @@ struct _EventMessage {
typedef struct {
unsigned long _field1;
- id *_field2;
+ void *_field2;
unsigned long *_field3;
unsigned long _field4[5];
} CDStruct_11f37819;
Something went wrong with that request. Please try again.