当我尝试运行我的应用时收到以下警告:
无法打开文件"WxChase.app",因为您无权查看它.
我已经查看了以前可以找到的所有问题,但找不到答案.
我试过了:
谢谢你的帮助!
更新:我无法在模拟器或手机上运行它.
我有一个segue被编程地调用,performSegueWithIdentifier:但是不会触发。但是,当我使用按钮创建segue时,segue可以正常工作。我还尝试过在代码中更改我的segue的名称,这会产生no segue with identifier错误。
这是我的代码(注意:segue在两个不同的地方被调用,以检查它是否可以在代码中的其他地方起作用。)
#import "SignUpViewController.h"
#import "ProgressHUD.h"
@interface SignUpViewController ()
@end
@implementation SignUpViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
[self performSegueWithIdentifier:@"profilePic" sender:self];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get …Run Code Online (Sandbox Code Playgroud)