Tag: 编译器错误

'GPUImageOutput <GPUImageInput>'没有可见的@interface声明select器'imageFromCurrentlyProcessedOutputWithOrientation:'

我负责pipe理其他人在我公司创build的旧项目,现在我必须使用XCode 5.1进行一些更改 事情是,即使它一年前(2013年春)编译好,它现在不编译。 该项目包含GPUImage库子项目。 这是XCode产生的错误: 'GPUImageOutput <GPUImageInput>'没有可见的@interface声明select器'imageFromCurrentlyProcessedOutputWithOrientation:' 当我尝试编译这两行时: if( self.grayScaleOutput ) { photo = [grayscaleFilter imageFromCurrentlyProcessedOutputWithOrientation:UIImageOrientationUp]; } else { photo = [blendFilter imageFromCurrentlyProcessedOutputWithOrientation:UIImageOrientationUp]; } 我甚至让Xcode 5.1改变了我的项目的一些设置(它build议我这样做),但没有运气。 任何提示? 任何设置我需要激活? 一些ARC的苦难,它可能仍然在我的旧的代码行? 注意:我已经replace了我使用的1年前的GPUImage库,以及刚刚从GitHUB下载的GPUImage库。 也没有运气。

ios:<Error>:CGAffineTransformInvert:奇异matrix

任何此错误的原因“CGAffineTransformInvert” 我应该担心吗? 我有一个视图的.xib,和4个位于视图之外,但在同一个xib中的webViews。 然后在代码中,我将webViews作为子视图添加到视图内的滚动视图中。 会导致这个问题吗? 代码如下: //Called first to initialize this class. Also, initializes the nib file and tab bar name. – (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { self.title = NSLocalizedString(@"More", @"More"); self.tabBarItem.image = [UIImage imageNamed:@"first"]; } return self; } //Initialize the more tab titles and views -(void)initViewsandTitles{ […]

如何解决显示文件名使用两次的错误

我在Xcode 7.3.1快速工作。 现在我得到错误显示文件名称使用两次 ,我坚持以下错误。 <unknown>:0: error: no such file or directory: '/Users/mac/Desktop/develop/myApp/Manager.swift' <unknown>:0: error: filename "Manager.swift" used twice: '/Users/mac/Desktop/develop/myApp/Manager.swift' and '/Users/mac/Desktop/develop/myApp/MyApp/module/Manager.swift' 你可以帮我吗

无法为桥接头发出预编译头

我从GitHub上下载了一个项目,然后把下面的文件,其中一些是用OBJ-C写的,我用了一个桥头。 pod 'SnapKit' pod 'MJRefresh' pod 'Alamofire' pod 'Kingfisher' pod 'MBProgressHUD' pod 'pop' pod 'EVReflection' pod 'StreamingKit' pod 'iCarousel' pod 'ReflectionView' 当我用Xcode 9.0 beta 2运行这个项目时,不幸的是错误日志如下所示: 错误:未能发出预编译的头文件'/var/folders/kd/4gh0_kxx3jx4thjb_sssmmcw0000gn/T/EvoRadio-Bridging-Header-97bd5f.pch'为桥接头'/ Users / ringo / Downloads / EvoRadio-master / EvoRadio / Resources / EvoRadio-桥接-Header.h” 我GOOGLE了,但没有这样的问题。错误意味着它需要一个PCH文件? 这是我的.pch头configuration: 它不能解决它。 如何做到这一点?

Xcode 8.0命令/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码1

当我在Xcode版本8.0 beta 4(8S188o)上编译我的代码时,出现这个编译失败的单个错误: 命令/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码1 我试图清理项目,并擦除派生的文件夹,但没有改变的东西。 这是什么,我怎么知道呢? 当我尝试在terminal上编译报告的错误是: 无效bitcast \ n%.asUnsubstituted = bitcast%swift.error *%13到i2,!dbg!438 \ nLLVM错误:find中断的函数,编译中止!\ n

'警告:目录未find选项'生成错误

突然我的应用程序开始给我一个错误,当我试图build立它。 这是我得到的错误: ld:warning:目录找不到选项-L / Users / user / Documents / Developer / Alton-Towers-Times / build / Debug-iphoneos'ld:file too small(length = 0)file'/ Users / user / Library / Developer / Xcode / DerivedData / Mouse_Times_Florida-eqhrhnbxmmkxtahdghmnvehbzbgt / Build / Intermediates / Mouse Times对于体系结构x86_64,Florida.build / DebugBlocks.Mouse TimesFit的WatchKit Extension.build/Objects-normal/x86_64/SecondInterfaceController.o clang:error :链接器命令失败,退出代码1(使用-v查看调用) 自从我最后一次设法让它运行之后,我唯一真正做的事情就是更改软件包ID,并且还更改了应用程序名称。 我已经尝试了一些东西,包括删除派生的数据,但似乎没有任何帮助。 有人有主意吗?

Xcode 7.0.1与CocaoPods应用程序编译错误退出代码1

我最近升级到最新的Xcode,并添加了一堆新的代码,并修复了所有正常的编译错误后,我得到了以下,我不知道如何纠正这个错误。 任何build议,请。 PhaseScriptExecution Copy\ Pods\ Resources /Users/dpreston10/Library/Developer/Xcode/DerivedData/Pesto-dxseswuhgbzbluabjffcnlgzjelu/Build/Intermediates/Pesto.build/Debug-iphoneos/Pesto.build/Script-EF1179D6E7811474BD220AEA.sh cd /Users/dpreston10/Dropbox/Pesto /bin/sh -c /Users/dpreston10/Library/Developer/Xcode/DerivedData/Pesto-dxseswuhgbzbluabjffcnlgzjelu/Build/Intermediates/Pesto.build/Debug-iphoneos/Pesto.build/Script-EF1179D6E7811474BD220AEA.sh /Users/dpreston10/Dropbox/Pesto/Pods/GoogleMaps/Frameworks/GoogleMaps.framework/Versions/A/Resources/GoogleMaps.bundle /Users/dpreston10/Dropbox/Pesto/Pods/JSQMessagesViewController/JSQMessagesViewController/Assets/JSQMessagesAssets.bundle ibtool –reference-external-strings-file –errors –warnings –notices –output-format human-readable-text –compile /Users/dpreston10/Library/Developer/Xcode/DerivedData/Pesto-dxseswuhgbzbluabjffcnlgzjelu/Build/Products/Debug-iphoneos/Pesto.app/JSQMessagesViewController.nib /Users/dpreston10/Dropbox/Pesto/Pods/JSQMessagesViewController/JSQMessagesViewController/Controllers/JSQMessagesViewController.xib –sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk 2015-10-03 16:35:22.011 Interface Builder Cocoa Touch Tool[12168:7780607] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetClass' from MGCopyAnswer got '{ ArtworkDeviceIdiom = pad; ArtworkDeviceScaleFactor = "-1"; DevicePerformanceMemoryClass = 1; }' 2015-10-03 16:35:22.011 Interface […]

iOS的CocoaPods – 如何解决“在模块被禁用时使用'@import'错误?

我在通过cocoapods添加Google Analytics时寻求如何解决“禁用模块时使用'@import': pod 'Google/Analytics', '~> 1.0.0' link_with 'AppTarget', 'AppTargetTests' 在代码中: #import <Google/Analytics.h> 我在一个pod中得到这个错误: "use of '@import' when modules are disabled" 我检查了所有的项目,并看到模块已启用,以及其他build议“自动链接框架” 由于此错误,我无法覆盖此导入: 在xCode6中通过cocoapods添加框架时,如何解决“禁用模块时使用@import”?

未加载库:@ rpath / Alamofire.framework / Alamofire

当我尝试在应用程序的Xcode中运行我的iOS应用程序时: dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire Referenced from: /private/var/mobile/Containers/Bundle/Application/78CC9A04-53B7-49D3-9E4D-7DF0CAA41DD0/Sawasdee.app/Sawasdee Reason: image not found (lldb) 我该怎么办?

SpeechKit Pod for Swift会导致未声明的types错误

我已经实现了Nuance SpeechKit使用这个CocoaPod https://cocoapods.org/pods/SpeechKit并执行从接受的SO指令在这里: https : //stackoverflow.com/questions/30327372/implementing-nuance-speech-recognition -on-迅速-不能试听到onresult-oner 这样做后,我得到一个“使用未声明的types”SKRecognizerDelegate“”错误: 支持文件: 和 UIViewController中的错误: