simonmitchell / rocc

A Swift framework for remote control of digital Cameras
MIT License
123 stars 15 forks source link

Add demo project! #22

Open simonmitchell opened 4 years ago

simonmitchell commented 4 years ago

Create a demo (iOS for now) project so when people want to get started with ROCC they don't have to flesh out a whole app UI and perform connection to the Camera's WiFi network e.t.c. this should be basic, and provide a standard UI for each of the functions available! Not going to be pretty but it will work and help people debug issues on particular models!

henningdekode commented 4 years ago

Hey Simon.

I am having a bit if struggle with including your library to my app - would it be possible to get a noob description on how to add your Library to an existing app in Xcode 13? Looks like you have put in a lot of effort in this and I would love to test it out myselves. Thanks.

simonmitchell commented 4 years ago

Hi @henningdekode, I'm really sorry I don't think it currently supports Carthage or dependency managers in the state it's in...

I'll add some instructions to the README this weekend, and also try and add support for (At least) Carthage. For now you will have to manually install the library:

  1. Clone this repo, making sure to checkout any submodules.
  2. Drag and drop the project file from ROCC into your Xcode project.
  3. Make sure Embed & Sign is set for ROCC under Project -> General -> Frameworks, Libraries and Embedded Content.

Those steps should work, but I don't have time to check right now I'm afraid! I'll try and keep an eye on my GitHub notifications incase you have any issues!

henningdekode commented 4 years ago

Thank you so much! I have been able to get it working locally.

I checked out the repo via submodule from git and copied this file: Rocc.xcodeproj inside my project folder - is that correct

I still have an issue with building the packages for testing on an actual device even though I have ROCC and ThunderRequest as build dependencies but I will take another stab at it. Thanks again for a very feature rich library.

simonmitchell commented 4 years ago

Hi @henningdekode glad you managed to get it working on the simulator! If you have much more difficulty feel free to reply here again or drop me an email: support@camrote.app with screenshots/exact errors whatever! I merged some stuff into master over the weekend which hopefully should've made the situation marginally better!

Once I've finished my current project (Adding support for newer cameras) I'll take some time to add support for Carthage and hopefully SPM too so this is all way easier!

No worries at all, glad to be helping people out!

divyathakkar123 commented 3 years ago

can you please share some demo? I am not sure I have placed project file at correct place or not. Giving me error "Cannot find 'CameraDiscoverer' in scope" . Please help if I am doing anything wrong.