简体   繁体   English

解决Swift和XCode 6.4 Beta中的Apple Mach-O Linker错误

[英]Resolving Apple Mach-O Linker Error in swift and xcode 6.4 beta

My main.storyboard got accidentally deleted and when I re-added it to my project from the trash, I started receiving 27 Apple Mach-O Linker Errors. 我的main.storyboard被意外删除,当我将其从回收站重新添加到项目中时,我开始收到27个Apple Mach-O Linker错误。 I think that it has something to do with my Parse/Stripe integration however I wasn't getting any of these problems prior to the deletion of my storyboard. 我认为这与我的Parse / Stripe集成有关,但是在删除情节提要之前我没有遇到任何这些问题。 If anyone could tell me how to love this or where I should look. 如果有人可以告诉我如何爱这个或应该去哪里看。 I am not getting any compile error in any of my self-made classes. 我的任何自制类都没有收到任何编译错误。 Furthermore, when building my project, before the errors are found I get 4 Apple Mach-O Linker Warnings which say that some directory isn't found. 此外,在构建项目时,在发现错误之前,我收到4个Apple Mach-O链接器警告,提示未找到某些目录。 Many thanks 非常感谢

You might have to import your libraries inside to make sure it's all being referenced properly ie #import "header.h". 您可能必须在内部导入库,以确保所有库均被正确引用,即#import“ header.h”。 Aside from that maybe make sure the O-linker has necessary -frameworks. 除此之外,请确保O链接器具有必要的-frameworks。 Hope it's some help. 希望对您有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM