Tag: iphone

目标完整性 – 无法打开文件“Pods-ios.xcconfig”,因为无法解析其路径。 它可能会丢失“

我正在尝试使用RestKit版本0.20.1附带的四个示例。目前正在尝试构建RKSearchExample。 Build“成功”但没有出现模拟器,我收到两个警告 第一个 – 目标完整性 – 无法打开文件“Pods-ios.xcconfig”,因为没有这样的文件。 …. 第二个 – 目标完整性 – 无法打开文件“Pods-ios.xcconfig”,因为无法解析其路径。 它可能会丢失“ 我假设这个文件丢失了,即使Build只有警告成功,它也会丢失,导致项目实际上没有完成Build。 有谁知道在哪里可以找到这个文件? 是否成功构建了RestKit中包含的示例? 谢谢!

将KAudioUnitSubType_Reverb2添加到AUGraph时,AUGraphInitialize错误代码-10868

我正在尝试将类型为kAudioUnitSubType_Reverb2的AUGraph添加到AUGraph并在-10868 (kAudioUnitErr_FormatNotSupported)获得-10868 (kAudioUnitErr_FormatNotSupported)支持的错误。 我的出发点是Apple的iPhoneMixerEQGraphTest示例应用程序,我基本上只为混响添加了一个新的AudioUnit,但无法让它工作。 这是代码 – – (void)initializeAUGraph { printf(“initializeAUGraph\n”); AUNode outputNode; AUNode eqNode; AUNode mixerNode; AUNode reverbNode; printf(“create client ASBD\n”); // client format audio goes into the mixer mClientFormat.SetCanonical(2, true); mClientFormat.mSampleRate = kGraphSampleRate; mClientFormat.Print(); printf(“create output ASBD\n”); // output format mOutputFormat.SetAUCanonical(2, false); mOutputFormat.mSampleRate = kGraphSampleRate; mOutputFormat.Print(); OSStatus result = noErr; // load up the […]

iOS – 2个用于架构armv7的重复符号

我在我的项目中到处使用Resty ,但是现在因为我必须将图像上传到服务器,所以我尝试添加另一个名为RestKit的框架来处理文件上传。 但是当我编译时,它有错误: duplicate symbol _NewBase64Decode in: /Users/iforests/Library/Developer/Xcode/DerivedData/Owlch-gnysrakcbhsgkubbjjjfbahlocqi/Build/Products/Debug-iphoneos/libRestKit.a(NSData+Base64.o) /Users/iforests/Documents/iOSworkspace/Owlch/LRResty.framework/LRResty(NSData+Base64.o) ld: 2 duplicate symbols for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) 有没有办法解决这个问题而不删除LRResty(因为明天是这个项目的截止日期)。 非常感谢你们!

在iOS上使用OpenAL进行混响

有没有办法在iOS上使用OpenAL进行混响? 任何人都有任何代码片段来实现这种效果? 我知道它不包含在iOS的OpenAL库中,但我认为还有一种方法可以对它进行编程。 谢谢。

Xcode:仅针对iPhone发布应用更新?

我过去曾为iPhone和iPad制作过应用程序,但最新的更新仅适用于iPhone。 我将Target Device Family切换到iPhone Only并存档和validation,但我收到错误: “This bundle does not support one or more of the devices supported by the previous app version” 有没有办法解决?

iPhone手机中的噪音消除/减少

我想创建一个降低/取消音频背景噪音的iPhone应用程序..是否有任何现有的库。 有没有办法用AVAudioPlayer做到这一点。 提前致谢 。

如何在UITabBarItem上自定义标题?

当使用initWithTabBarSystemItem方法创建UITabBar对象时,有没有办法设置标题? 我之后尝试设置title属性(在viewController和tab栏项上),但似乎没有什么区别。 我知道initWithTitle: image:方法,但我想使用一个带有自定义标题的系统图标。

在iOS 7中定位导航栏按钮

我在导航栏按钮上使用自定义图像。在iOS 6中,如果我们使用按钮设置左栏按钮项,其x值从10px开始。 但是在iOS 7中,如果我们做同样的事情,按钮的x值从20px开始。 我们有什么方法可以让它从10px开始,因为iOS 7中的按钮外观不是很好吗?

使用NavigationController在不同视图上的不同方向

我已经subClassed我的NavigationController并添加了这段代码: -(NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskLandscapeRight | UIInterfaceOrientationMaskLandscapeLeft |UIInterfaceOrientationMaskPortrait; } – (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation { return UIInterfaceOrientationLandscapeLeft; } 我有2个视图控制器。 如何在不能旋转的情况下在一个和纵向模式下强制横向模式? (所有标志都在plist中启用)

iOS Google Plus集成和共享

我正在尝试将我的应用内容分享到Google Plus。 为此,我使用了以下代码: -(IBAction)handleGPlus{ id shareBuilder = [[GPPShare sharedInstance] shareDialog]; [shareBuilder setURLToShare:[NSURL URLWithString:@”http://dummy.com”]]; [shareBuilder setTitle:@”Some title” description:@”Some description” thumbnailURL:[NSURL URLWithString:@”http://dummy.com/image”]]; [shareBuilder setContentDeepLinkID:kClientId]; [shareBuilder open]; } 我已经像这样设置了clientID: static NSString * const kClientId = @”MY_CLIENT_ID”; 但是我收到以下错误: *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘You must specify |clientID| for |GPPSignIn|’ *** First throw call stack: (0x346932a3 […]