簡體   English   中英

Realm.js 和 Fastlane 集成

[英]Realm.js and Fastlane integration

我正在嘗試為我正在處理的 React Native 項目實施 fastlane 以進行持續交付。 但是我不能讓 Realm.js 很好地發揮作用。 下面的錯誤最終不允許創建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

我能夠在谷歌搜索中找到這個線程:

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

解決我的問題是刪除anacode環境變量

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM