gpt4 book ai didi

ios - iPad 上的 I/O - 错误

转载 作者:行者123 更新时间:2023-11-29 04:48:23 25 4
gpt4 key购买 nike

我的 iPad 应用程序中有以下按钮:

subject = [[UIButton alloc] init];
subject.frame = CGRectMake(710, 5, 180, 30);

[[subject layer] setCornerRadius:8.0f];
[[subject layer] setMasksToBounds:YES];
[[subject layer] setBorderWidth:3.0f];
[[subject layer] setBackgroundColor:[[UIColor greenColor] CGColor]];
subject.titleLabel.font = [UIFont boldSystemFontOfSize:20];
[subject setTitleColor:[UIColor redColor] forState:UIControlStateNormal];
[subject setTitleColor:[UIColor whiteColor] forState:UIControlEventAllEvents];
[subject addTarget:self action:@selector(subjectPressed) forControlEvents:UIControlEventTouchUpInside];
[subject setTitle:@"Subject: ?" forState:UIControlStateNormal];
[[subject layer] setBorderColor:[[UIColor greenColor] CGColor]];
[self.view addSubview:subject];

这是当我单击按钮时调用的函数:- (void)subjectPressed {

UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"Subject" message:@"Please enter the Subject:" delegate:self cancelButtonTitle:@"Continue" otherButtonTitles:nil];
alert.tag = 0;
alert.alertViewStyle = UIAlertViewStylePlainTextInput;
UITextField * alertTextField = [alert textFieldAtIndex:0];
alertTextField.keyboardType = UIKeyboardTypeNumberPad;
alertTextField.placeholder = @"Enter Subject";
[alert show];

}

当我单击按钮时,出现以下错误:

warning: Unable to read symbols for /Users/myname/Library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/TextInput/Riven.bundle/Riven (file not found).
warning: No copy of Riven.bundle/Riven found locally, reading from memory on remote device. This may slow down the debug session.

这是关于什么的?

最佳答案

尝试删除以下文件夹中的文件:

/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

重新启动 Xcode 并重新插入 iPad。

另一个类似的问题:

warning: Unable to read symbols

关于ios - iPad 上的 I/O - 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9271822/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com