在iPhone Strange输出上测试后的Xcode日志文件

时间:2013-04-11 19:53:06

标签: iphone logging

当我在iPhone上测试我的应用程序时,当应用程序启动时,我收到了这个奇怪的输出:

DataFile:file打开错误:/var/mobile/Library/Keyboard/de_DE-dynamic-Text.dat,(权限被拒绝)

这是什么意思? 那要做什么呢?

编辑: 似乎文件打开错误发生在我的代码的那一部分,因为当我"评论"它不会显示错误:

NSMutableDictionary *InfoDic = [[NSMutableDictionary alloc] initWithContentsOfURL:[[NSURL alloc]initFileURLWithPath:[[NSBundle mainBundle]pathForResource:@"AppInformation" ofType:@"plist"]]];

    NSString *Checkstring = [InfoDic objectForKey:@"Language"];

    if ([Checkstring isEqualToString:@"empty"]) {
 UIAlertView *determineLang = [[UIAlertView alloc] initWithTitle:@"Select a Language" message:@"Choose a Language"
delegate:self cancelButtonTitle:@"Deutsch" otherButtonTitles:@"English", nil];
 determineLang.tag=5;
 [determineLang show];

 }

Edit2:似乎我的每个应用中的每个警报视图都会导致同样的问题, 一定是iPhone越狱的问题......

2 个答案:

答案 0 :(得分:1)

似乎是越狱的iDevices和UIAlertViews的问题! 由于它似乎对App本身的行为没有任何进一步的影响,我会说每个面对问题的人都必须忍受它。

答案 1 :(得分:0)

我的 Jailbroken,它似乎仍然从中得出上述结果:

  • (IBAction)callPhoneNumber:(id)sender {

    UIAlertView * alert = [[UIAlertView alloc] initWithTitle:nil message:@“xxxxxxxxxx”delegate:self cancelButtonTitle:@“Cancel”otherButtonTitles:@“Call”,nil];

    [警示显示]; }

DataFile:文件打开错误:/var/mobile/Library/Keyboard/en_GB-dynamic-text.dat,(权限被拒绝)