NAB / UBKAccessibilityKit

An iOS framework to help with accessibility development and testing.
184 stars 18 forks source link

Documentation: Installation instructions #2

Open grantneufeld opened 4 years ago

grantneufeld commented 4 years ago

The installation instructions in the README currently just describe how to include UBKAccessibilityKit in a project, assuming the kit is already installed for the project.

Is installation of the kit done as a Swift Package? CocoaPod? Download the git repository directly? …?

The documentation could do with clarification of that, please. Thanks!

Sadmansamee commented 4 years ago

I was looking for it too, it is missing.

joshualay commented 4 years ago

I just downloaded the repo and dragged it into my project to get it up and running:

  1. Clone the repository
  2. Drag the nested folder UBKAccessibilityKit/UBKAccessibilityKit into my project and make sure copy items is checked image
  3. Follow the README instructions provided to add the override in AppDelegate
  4. Build and run
Sadmansamee commented 4 years ago

@joshualay I do not want to add a dependency in this way. I need a more clean way, SwiftPM, Pod or Carthage.

AkshayNG commented 3 years ago

@joshualay I've installed in the same way as you described, but there I'm getting the error while building:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_UBKAccessibilityWindow", referenced from:
      objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
rveruna commented 2 years ago

I just downloaded the repo and dragged it into my project to get it up and running:

1. Clone the repository

2. Drag the nested folder `UBKAccessibilityKit/UBKAccessibilityKit` into my project and make sure copy items is checked
   ![image](https://user-images.githubusercontent.com/761841/71800746-e182e880-3093-11ea-9ff0-8613dfd3f593.png)

3. Follow the README instructions provided to add the override in AppDelegate

4. Build and run

why did you say nested folder? do i need to copy and paste the whole folder or just the one you have selected on the picture? and where do you paste it? in root? in ios folder?

william-james-pj commented 1 year ago

Get it running like this

  1. Clone the repository

  2. With your project open in Xcode, go to “File > Add files to…”. And add the UBKAccessibility.xcodeproj. UBK

  3. In your project's Targets, add UBKAccessibilityKit.framework as a dependency. Target

  4. Build

  5. Add the override: