question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to build release

See original GitHub issue

Hey @gre!

When I “Archieve” my project through XCode it throws error: 'React/RCTJSCExecutor.h' file not found

bug report

library version:

├── gl-react@3.3.0 
├── gl-react-native@3.3.0 
└── UNMET PEER DEPENDENCY react@16.0.0-alpha.12

Expected behavior

Build succeffully.

Actual behavior

Throws error.

Steps to reproduce the behavior

  1. Set project to “release”
  2. XCode -> Product -> Archieve.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
kesha-antonovcommented, May 8, 2017

This works:

#import "EXGLView.h"

#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>

#import <React/RCTUtils.h>
// #import <React/RCTJSCExecutor.h>
#import "../../react-native/React/Executors/RCTJSCExecutor.h"

#import "EXUnversioned.h"
// #import "EXGL.h"
#import "../cpp/EXGL.h"

Am I missing something? I’m new to C-world.

Or maybe paths changed in RN 0.44

0reactions
grecommented, Jul 4, 2017

(we’ll reopen if it’s not fixed)

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - Build release failed Flutter - Stack Overflow
I'm trying to build apk with flutter. But everytime i run flutter build apk or flutter build apk --release Build always failed with...
Read more >
Build failing in release mode, but not in debug (only while ...
Trying to compile a project in release mode results in the following error. The error itself doesn't explain what exactly is failing, ...
Read more >
Debug works but unable to build release version - Microsoft Q&A
I have tested debug build of ios and android version and both work fine. However release builds fail. I'm stuck, any ideas?
Read more >
Android build issue in Release mode - Temenos Basecamp
Package Generation failed for platform Android. Build Generation Status. Android: Failed. Application [seda] is pointing to [KonyAccount-SEDATESTENV] ...
Read more >
Failed to build Rust application - Reddit
I failed to build a Rust application with this error. ... /lighthouse/target/release/build/openssl-sys-0754dab687710250/build-script-main` ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found