danylokos / LiveView

This is a demo app that uses IOKit (libusb, libvnc) to interact with a USB camera on a jailbroken iPhone
7 stars 4 forks source link

Can't Work When using StoryBoard #3

Open RainyLave opened 1 month ago

RainyLave commented 1 month ago

Hello there! I'm trying to transplant this project on armv7 devices, I've rebuilt libuvc libusb and libjpeg for both iOS arm64 and iOS armv7. To get a universal compatibility, I rewrite the ui by storyboard, the function code is not changed at all, when I debug this project, I found that it never execute context.start function, and I can't locate the problem. Could you please give me some advise? The project is just as below: [Uploading MyLiveView-1.0.0.zip…]()

RainyLave commented 1 month ago

Hello there! I'm trying to transplant this project on armv7 devices, I've rebuilt libuvc libusb and libjpeg for both iOS arm64 and iOS armv7. To get a universal compatibility, I rewrite the ui by storyboard, the function code is not changed at all, when I debug this project, I found that it never execute context.start function, and I can't locate the problem. Could you please give me some advise? The project is just as below:

MyLiveView-1.0.0.zip

danylokos commented 1 month ago

Hi, not sure why would you want to use Storyboards, but try creating a new Xcode project that utilizes Storyboards and compare project.pbxproj (and potentially Info.plist) to one from this project (LiveView.xcodeproj/project.pbxproj) to find where the storyboard gets referenced and try to do the same. Right now, all the logic for instantiating the ViewController is inside SceneDelegate.swift you might need to delete that if you switch to storyboard.