rocc icon indicating copy to clipboard operation
rocc copied to clipboard

Add demo project!

Open simonmitchell opened this issue 6 years ago • 5 comments

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!

simonmitchell avatar Dec 05 '19 17:12 simonmitchell

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.

henningdekode avatar Feb 27 '20 19:02 henningdekode

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!

simonmitchell avatar Mar 04 '20 22:03 simonmitchell

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.

henningdekode avatar Mar 09 '20 07:03 henningdekode

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: [email protected] 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!

simonmitchell avatar Mar 10 '20 11:03 simonmitchell

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.

divyathakkar123 avatar Mar 02 '21 09:03 divyathakkar123