Coder Social home page Coder Social logo

Comments (11)

jefmoraes avatar jefmoraes commented on June 24, 2024 1

here the problem was related to the use of use_frameworks! :linkage => :static, just add the code bellow it to the podfile and run pod install. This way, in build phases in the callstack-repack pod you will notice that the Copy generated compatibility header file will be generated, it is responsible for guiding the import paths.

pre_install do |installer|
   installer.pod_targets.each do |pod|
     if pod.name.eql?('callstack-repack')
       def pod.build_type
         Pod::BuildType.static_library
       end
     end
   end
 end 

After

image
image

Before

image
image

from repack.

mlakmal avatar mlakmal commented on June 24, 2024 1

i do see use_frameworks! in our podfile
let me give it a shot at above fix and let yall know...

from repack.

sternlucas avatar sternlucas commented on June 24, 2024

Same problem here

from repack.

jbroma avatar jbroma commented on June 24, 2024

@jefmoraes @sternlucas can you provide me with your cocoapods version being used in the projects?

from repack.

jbroma avatar jbroma commented on June 24, 2024

@jefmoraes @sternlucas I'm not able to reproduce this issue on a fresh react-native project created using CLI, can you provide even more details about your environment? Here is what i tried it on:

  1. System: Sonoma 14.1
  2. Xcode: 15.2
  3. Ruby: 2.7.6
  4. Cocoapods: 14.3
  5. Node: 20.11.1

from repack.

mlakmal avatar mlakmal commented on June 24, 2024

@jbroma seeing same issue when i tried to integrate re.pack to existing application

Sonomae 14.3.1
XCode 15.2
Ruby 2.7.6
cocoapods 1.11.2
node 16.14.2

react-native 0.68.6
@callstack/repack ^3.7.0

i tried setting up superapp example and it worked fine with above core deps

from repack.

jbroma avatar jbroma commented on June 24, 2024

@mlakmal did you run pod install after adding repack?

from repack.

mlakmal avatar mlakmal commented on June 24, 2024

@mlakmal did you run pod install after adding repack?

yes i did. it installed the Pods. below is the screenshot in xcode with pod files.

screenshot

from repack.

jbroma avatar jbroma commented on June 24, 2024

Looks like it's related to #390

from repack.

mlakmal avatar mlakmal commented on June 24, 2024

that workaround did not resolve the issue for me.

fyi: point to note is that i had to manually link the callstack-repack in Podfile. wonder if thats causing the issue...

from repack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.