严重错误:找不到“ Fabric / Fabric.h”文件 [英] fatal error: 'Fabric/Fabric.h' file not found

查看:164
本文介绍了严重错误:找不到“ Fabric / Fabric.h”文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用xcode 6.3.1,OSX 10.10.3,并且已经成功地使用本地系统配置了crashlytics。它工作正常,并通过Fabric应用发布了版本。但是当我将相同的代码库转移到teamcity时,它向我显示以下错误

I am working on xcode 6.3.1, OSX 10.10.3 and I have configure crashlytics successfully with my local system. it work fine and it release the build via fabric app. But when I transfer same codebase to teamcity it was showing me following error

严重错误:找不到 Fabric / Fabric.h文件
致命错误:找不到 Crashlytics / Crashlytics.h文件

经调查,我发现在我的团队中存在着未知问题服务器。 Teamcity从git中获取源代码,当我在teamcity中看到源代码时,Crashlytics.framworks& fabric.framworks是可用的,但是当您查看文件夹结构时,它无法找出所有标题,模块,资源,crashlytics文件夹(pic-1)的快捷方式。

After investigation, I found that following unknown issue in my teamcity server. Teamcity got the source from git and when I see the source code in teamcity, Crashlytics.framworks & fabric.framworks are available but when you look into folder structure it could not figure out shortcuts for all headers, modules, resources, crashlytics folder (pic-1).

我在其他文件夹中获得了另一个git clone并手动提取了源代码,在这里我可以看到crashlytics&的所有快捷方式。面料子文件夹。 (图2)。

I get the other git clone in other folder and manually pull source code, here I can see the all shortcuts for crashlytics & fabrics sub folders. (pic-2).

我只是复制了所有文件夹并粘贴到teamcity源代码中。现在它可以工作,但是每次源代码更改时,teamcity都会重置为非快捷文件夹结构,这将使我的构建失败。我不确定这是GIT问题还是teamcity或crashlytics问题。请让我知道如何解决。感谢您的回答。

I just copied all folders and pasted in teamcity source code. Now it works but every time when source code changed, teamcity reset to non-shortcut folder structure which will fail my builds. I am not sure this is GIT issue or teamcity or crashlytics issue. Please let me know how to figure out. I appreciate you answers.

感谢
Manoj

Thanks Manoj

推荐答案

这是一个Teamcity配置问题。

Its a Teamcity configuration issue.

包含库时,如果使用git获取代码,则必须更改版本控制设置。

When you include libraries, if using git to get the code you have to change the Version Control Settings.

将VCS检出模式更改为自动在代理上。这样可以解决您的问题。 teamcity git客户端出现问题,使符号链接混乱,因此库实际上无法正确下载。

Change VCS checkout mode to Automatically on agent. This will fix your issue. There is a problem with the teamcity git client which messes up the symlinks so the libraries dont actually download correctly.

这篇关于严重错误:找不到“ Fabric / Fabric.h”文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆