从谷歌尝试多个答案后,我有以下错误.
PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/apple/Library/Developer/Xcode/DerivedData/Build/Intermediates/FoodSpot.build/Debug-
iphonesimulator/FoodSpotTests.build/Script-36819C3C1B6A30F50091382D.sh
cd "/Users/apple/Downloads/FoodSpot 2"
/bin/sh -c /Users/apple/Library/Developer/Xcode/DerivedData/Build/Intermediates/FoodSpot.build/Debug-iphonesimulator/FoodSpotTests.build/Script-36819C3C1B6A30F50091382D.sh
diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock.
Run 'pod install' or update your CocoaPods installation.
Run Code Online (Sandbox Code Playgroud)
我已多次更新和安装,但它们没用.
当我使用SWRevealViewController类滑出菜单时,它在iphone模拟器中正常工作.但是当我试图在iphone 5设备中运行进行测试时,选择菜单按钮时它会正确显示滑出菜单,但不幸的是,在选择时单元格,它崩溃并显示以下错误.但在模拟器中没有这样的错误.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
indexPath = [[self tableView] indexPathForSelectedRow];
if (indexPath.row==0) {
[self performSegueWithIdentifier:@"home" sender:indexPath];
}
else if (indexPath.row==1) {
[self performSegueWithIdentifier:@"cartme" sender:indexPath];
}
else {
[self performSegueWithIdentifier:@"changelocation" sender:indexPath];
}
}
Run Code Online (Sandbox Code Playgroud)
由于未捕获的异常'NSInvalidArgumentException'而终止应用程序,原因:' - [SWRevealViewControllerSegue setDestinationContainmentContext:]:无法识别的选择器发送到实例0x175c5f90'
请帮我.