Comments (18)
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
Before
from repack.
i do see use_frameworks! in our podfile
let me give it a shot at above fix and let yall know...
from repack.
Yes I am not sure what combination actually worked. I did all below and it's solved now. Tnx
- Add callstack as static in profile
- Add manual link in profile for callstack. Yarn didn't auto link...
- Re-setup ruby env
from repack.
@mlakmal @jefmoraes Potential fix for this issue has been merged, it will be included in 4.0.0-rc.2
which should be available today 🎉
If there is an option for you to test whether this fixes the problem without adjusting Podfile in your projects, please do and let me know if that helped 🙏
from repack.
@mlakmal @jefmoraes Potential fix for this issue has been merged, it will be included in
4.0.0-rc.2
which should be available today 🎉If there is an option for you to test whether this fixes the problem without adjusting Podfile in your projects, please do and let me know if that helped 🙏
I confirm that the repack upgrade from 3.7.0 to 4.0.0-rc-2 resolved this issue without need to add "pre_install ..." to Podfile.
from repack.
@mlakmal @jefmoraes Potential fix for this issue has been merged, it will be included in
4.0.0-rc.2
which should be available today 🎉If there is an option for you to test whether this fixes the problem without adjusting Podfile in your projects, please do and let me know if that helped 🙏
i confirm that the issue is fixed in 4.0.0-rc-2
from repack.
@mlakmal @jefmoraes Potential fix for this issue has been merged, it will be included in
4.0.0-rc.2
which should be available today 🎉
If there is an option for you to test whether this fixes the problem without adjusting Podfile in your projects, please do and let me know if that helped 🙏thanks for the fix. will try it later next week and get back to you!
yes this is working on ours as well!
from repack.
Same problem here
from repack.
@jefmoraes @sternlucas can you provide me with your cocoapods version being used in the projects?
from repack.
@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:
- System: Sonoma 14.1
- Xcode: 15.2
- Ruby: 2.7.6
- Cocoapods: 14.3
- Node: 20.11.1
from repack.
@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.
@mlakmal did you run pod install after adding repack?
from repack.
@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](https://private-user-images.githubusercontent.com/2079040/309364438-33ac9755-580b-4497-85b4-068bf0da26d2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxOTQzNjMsIm5iZiI6MTcxOTE5NDA2MywicGF0aCI6Ii8yMDc5MDQwLzMwOTM2NDQzOC0zM2FjOTc1NS01ODBiLTQ0OTctODViNC0wNjhiZjBkYTI2ZDIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjRUMDE1NDIzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2IwYjAxYWZlYWQ4MmI4OGMzMzgwYWEyM2RiYTA5Y2QyYjIxM2VlMGE3YTEzNTkwOTViZjUzMGJiZmMyY2ExNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.7HPq-AUqdXyWa3oU1Y78_9UCK8ln5jDh-9up6wueDbs)
from repack.
Looks like it's related to #390
from repack.
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.
This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.
from repack.
@mlakmal did you manage to resolve this?
from repack.
@mlakmal @jefmoraes Potential fix for this issue has been merged, it will be included in
4.0.0-rc.2
which should be available today 🎉If there is an option for you to test whether this fixes the problem without adjusting Podfile in your projects, please do and let me know if that helped 🙏
thanks for the fix. will try it later next week and get back to you!
from repack.
Related Issues (20)
- Issue with node v22.0.0 HOT 4
- Error: repack react native module was not found. Did you forget to update native dependencies? HOT 7
- TypeError: webpackContext.u is not a function (it is undefined)
- Property SentryError doesnt exist HOT 3
- ChunkLoad Error HOT 5
- bundling mini-apps cause crashes HOT 20
- How to config webpack to reuse existing dependencies from the main bundle HOT 4
- How to debug blank screen issue with no error output? HOT 25
- Question: getting the error: "File assets/images/<imageName>@3x.png for ios not found in compilation assets" HOT 5
- ChunkManagerPackage: No value passed for parameter 'p6' HOT 11
- More control over file path and URL for remote assets HOT 14
- Module Federation host app not working [ScriptManager] failed to load script : [NetworkFailure] HOT 2
- Error: Unhandled error. ([ScriptManager] Failed to load script:) HOT 4
- Update docs related to Expo on Usage docs page HOT 1
- Error: Unhandled error. ([ScriptManager] Failed to load script:) HOT 1
- [webpack-cli] RangeError: Maximum call stack size exceeded HOT 5
- Error : TypeError: Cannot read properties of undefined (reading 'forEach') HOT 7
- Error: no such file or directory, open '/Users/x/dev/client/packages/app/node_modules/react-native/Libraries/LogBox/Data/LogBoxData.js'" HOT 1
- Error: Property 'SHA1' doesn't exist when using otpauth library HOT 2
- add axios to repack app HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repack.