I'm trying to create a tweak for iOS, but when I'm going to compile the tweak, I get this error: "initializer element is not a compile-time constant".
//Sound path
NSString *soundPath = [[NSBundle bundleWithPath:@"/Library/Application Support/joselito/"] pathForResource:@"joselito" ofType:@"caf"];
NSURL *soundURL = [[NSURL alloc] initFileURLWithPath:soundPath];