首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >错误: /.../node_modules/native-base/Fonts/rubicon-icon-font.ttf:没有这样的文件或目录

错误: /.../node_modules/native-base/Fonts/rubicon-icon-font.ttf:没有这样的文件或目录
EN

Stack Overflow用户
提问于 2018-05-10 12:40:59
回答 2查看 2.3K关注 0票数 4

我在构建新的ios克隆存储库时出错。在此之前的几天,它工作得很好。现在,我尝试重新安装native-base或删除node_modules,然后再次执行npm install。但是仍然有错误:

代码语言:javascript
复制
2018-05-10 12:07:07.983 xcodebuild[71799:432389]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-14095/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/Runtime/PBXTargetBuildContext.mm:757
Details:  unexpected successful exit code from cancelled command <C0038:'CpResource Lato-Bold.ttf':P10>
Object:   <PBXTargetBuildContext: 0x7fd2dfe53830>
Method:   -createCommandInvocationRecordFromInvocation:
Thread:   <NSThread: 0x7fd2df8641a0>{number = 3, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

** BUILD FAILED **


The following build commands failed:
    CpResource /Users/sample_user/Documents/repos/mobile/node_modules/native-base/Fonts/rubicon-icon-font.ttf build/Build/Products/Debug-iphonesimulator/sampleApp.app/rubicon-icon-font.ttf
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/sampleApp.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/sampleApp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

以下是我的版本:

代码语言:javascript
复制
react-native-cli: 2.0.1
react-native: 0.47.2

"native-base": "^2.3.1",

pod version: 1.4.0

我错过了什么吗?

EN

回答 2

Stack Overflow用户

发布于 2018-05-10 18:42:15

之后我仍然得到了无法解释的错误,所以我通过手动下载rubicon-icon-font.ttf并将其粘贴到node_modules\native-base\Fonts\中解决了这个问题

票数 1
EN

Stack Overflow用户

发布于 2018-05-10 13:19:17

这是在master上修复的,你可以在今天的版本中找到它

https://github.com/GeekyAnts/NativeBase/issues/1850

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50265588

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档