我的应用程序工作得非常好,然后我开始集成SDK用于推送通知并停止其间的集成.我甚至从我的项目中删除了SDK并试图存档或运行应用程序,它给了我错误:
lipo错误!! 无法打开输入文件.
任何帮助都会受到很多的赞赏,我已经给了足够的时间来解决这个问题,但失败了.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo:无法打开输入文件:/ Users/XYZ/Library/Developer/Xcode/DerivedData/MyAPP-hjbmqpnmsoruqxbwlayqkjsojccv/Build /Intermediates/MyAPP.build/Debug-iphoneos/MyAPP.build/Objects-normal/armv7s/MyAPP(没有这样的文件或目录)
我正在实现一个带有section index的tableView.每当行在任何特定部分中多于一个时,我的tableViewCells重叠.
这是我的代码.
![- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
return \[self.keys count\];
}
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
// return \[\[\[UILocalizedIndexedCollation currentCollation\] sectionTitles\] objectAtIndex:section\];
return \[keys objectAtIndex:section\];
}
- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView {
// return \[\[UILocalizedIndexedCollation currentCollation\] sectionIndexTitles\];
return keys;
}
- (NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index {
return \[\[UILocalizedIndexedCollation currentCollation\] sectionForSectionIndexTitleAtIndex:index\];
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = \[tableView dequeueReusableCellWithIdentifier:nil\];
if (cell == nil) {
cell = \[\[UITableViewCell alloc\] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier\]; …
Run Code Online (Sandbox Code Playgroud) 我正在开发一个应用程序,其中我需要添加QR代码阅读器功能,这应该是这样的事情,我需要在主页上有一个图标,并通过单击该图标QR reader
应该工作.我用谷歌搜索它,发现ZBarCoderReader很好用,但我陷入了整合这个SDK的困境.任何人都可以帮助集成此SDK.我知道我必须使用以下链接来集成此SDK.
http://zbar.sourceforge.net/iphone/sdkdoc/install.html
http://zbar.sourceforge.net/iphone/sdkdoc/camera.html
任何帮助将不胜感激.