Realm.js и интеграция с Fastlane - PullRequest
0 голосов
/ 11 марта 2019

Я пытаюсь внедрить 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
...