#import #import int main(int argc, char *argv[]) { @autoreleasepool { NSLog(@"Testing MarkBaseFS FSKit driver..."); // Check if bundle exists NSString *bundlePath = @"/Users/accusys/markbase/build/MarkBaseFSKit.app"; NSBundle *bundle = [NSBundle bundleWithPath:bundlePath]; if (bundle == nil) { NSLog(@"❌ Bundle not found at: %@", bundlePath); return 1; } NSLog(@"✅ Bundle found: %@", bundle.bundleIdentifier); // Check Info.plist NSDictionary *info = bundle.infoDictionary; NSLog(@"Info.plist entries:"); for (NSString *key in info) { NSLog(@" %@: %@", key, info[key]); } // Try to load bundle if (![bundle load]) { NSLog(@"❌ Bundle load failed"); return 1; } NSLog(@"✅ Bundle loaded successfully"); // Check if classes exist Class fsClass = NSClassFromString(@"MarkBaseFS"); if (fsClass == nil) { NSLog(@"❌ MarkBaseFS class not found"); return 1; } NSLog(@"✅ MarkBaseFS class found: %@", fsClass); // Check superclass Class superClass = [fsClass superclass]; NSLog(@"Superclass: %@", superClass); NSLog(@"✅ All tests passed!"); return 0; } }