我在应用程序商店中有一个iOS 7应用程序,它有许多应用程序内购买.应用内购买只是我用Apple托管的新的.json数据结构.IAP用于完美提交,但是当我将我的机器从Mountain Lion升级到Yosemite时,我刚刚升级到XCode 6.1.现在每当我存档一个新的IAP包或重新存档上周正确提交的旧IAP包时,我得到:
"无法验证您的应用程序.该软件包不包含Info.plist".
当我单击目标(在Navigator窗格中)时,Build Settings | 包装展示:
ContentInfo.plist文件位于目标的Supporting Files文件夹中(在Navigator窗格中).在它里面我有钥匙
最后,在导航器的Products文件夹中,我在红色目标图标旁边有north_carolina.pittsburgh,并且单词为红色.
如何才能使此存档正确验证?
我已经尝试过这里发布的几种方法,但是我无法让我的表充满交换机来返回已更改交换机的单元格的索引值.我正在以编程方式创建包含表的视图(无xib).
TableSandboxAppDelegate.m我实例化视图控制器didFinishLaunchingWithOptions::
...
TableSandboxViewController *sandboxViewController = [[TableSandboxViewController alloc]
init];
[[self window] setRootViewController:sandboxViewController];
...
Run Code Online (Sandbox Code Playgroud)
TableViewController.h文件读取:
@interface TableSandboxViewController : UITableViewController
{
NSMutableArray *_questionOrder;
NSMutableArray *switchStates;
}
@end
Run Code Online (Sandbox Code Playgroud)
TableViewController.m cellForRowAtIndexPath:读取:
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MainCell"];
UISwitch *theSwitch = nil;
if (cell == nil) {
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
reuseIdentifier:@"MainCell"];
theSwitch = [[UISwitch alloc] initWithFrame:CGRectZero];
theSwitch.tag = 100;
[theSwitch addTarget:self action:@selector(switchChanged:)
forControlEvents:UIControlEventValueChanged];
[cell.contentView addSubview:theSwitch];
} else {
theSwitch = [cell.contentView viewWithTag:100];
}
if ([[switchStates objectAtIndex:indexPath.row] isEqualToString:@"ON"]) {
theSwitch.on …Run Code Online (Sandbox Code Playgroud)