简体   繁体   English

Realm.js 和 Fastlane 集成

[英]Realm.js and Fastlane integration

I am trying to implement fastlane for continuous delivery for a react native project I am working on.我正在尝试为我正在处理的 React Native 项目实施 fastlane 以进行持续交付。 However I cannot get Realm.js to play nicely.但是我不能让 Realm.js 很好地发挥作用。 the error below is ultimately not allowing for libRealmReact.a file to be created.下面的错误最终不允许创建libRealmReact.a文件。

▸ Compiling RealmReact.mm
[15:06:45]: ▸ ❌  fatal error:
[15:06:45]: ▸ ❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:9: could not build module 'CoreVideo'
[15:06:45]: ▸ #import <CoreVideo/CoreVideo.h>
[15:06:45]: ▸  ~~~~~~~~^
[15:06:46]: ▸ Compiling RealmReact.mm
[15:06:46]: ▸ ❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:52:12: attributes may not be specified on a category
[15:06:46]: ▸ @interface EAGLContext (EAGLContextDrawableAdditions)
[15:06:46]: ▸  ~~~~~~~^
[15:06:46]: ▸ ❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:9: could not build module 'OpenGLES'
[15:06:46]: ▸ #import <OpenGLES/EAGLDrawable.h>
[15:06:46]: ▸            ^
[15:06:46]: ▸ ❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:10:9: could not build module 'QuartzCore'
[15:06:46]: ▸ #import <QuartzCore/QuartzCore.h>
[15:06:46]: ▸  ~~~~~~~^
[15:06:46]: ▸ ❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h:23:10: could not build module 'OpenGLES'
[15:06:46]: ▸ #include <OpenGLES/gltypes.h>
[15:06:46]: ▸  ~~~~~~~^
[15:06:46]: ▸ ❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:9: could not build module 'CoreVideo'
[15:06:46]: ▸ #import <CoreVideo/CoreVideo.h>
[15:06:46]: ▸  ~~~~~~~~^
[15:06:46]: ▸ ❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:71:12: attributes may not be specified on a category

I was able to find this thread google searching:我能够在谷歌搜索中找到这个线程:

https://github.com/flutter/flutter/issues/43713#issuecomment-584858711 https://github.com/flutter/flutter/issues/43713#issuecomment-584858711

What resolved my issue was removing anacode enviroment variables解决我的问题是删除anacode环境变量

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

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