Hi,
I can deploy an application via SSH to a jailbroken device. I sign it with ldid, but when I try to run it i get:
dyld: Symbol not found: _OBJC_CLASS_$_PLCameraController
Referenced from: /private/var/stash/Applications.pwn/iPhoneCam.app/iPhoneCam
Expected in: flat namespace
Trace/BPT trap
error. The code I run is;
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Override point for customization after app launch
[window addSubview:viewController.view];
[window makeKeyAndVisible];
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];
// Get the view for preview and start preview
PLCameraController *cam = [PLCameraController sharedInstance];
UIView *view = [cam previewView];
[cam startPreview];
// Add the preview view to window
[window addSubview:view];
// Override point for customization after app launch
[window makeKeyAndVisible];
}
taken from here