Skip to content

Can't run expo app after installing react-native-executorch #203

Answered by mqtik
al3xstathis asked this question in Q&A
Discussion options

You must be logged in to vote

@al3xstathis add a pre_install block into your Podfile if you're using use_frameworks! :linkage => :static:

pre_install do |installer|
    installer.pod_targets.each do |pod|
      if pod.name == 'react-native-executorch'
        def pod.build_type;
          Pod::BuildType.static_library
        end
      end
    end
  end

Replies: 9 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by NorbertKlockiewicz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mkopcins
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
6 participants
Converted from issue

This discussion was converted from issue #74 on April 22, 2025 13:05.