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.

iOS Bitcode is removed at each yarn install

See original GitHub issue

Hi,

I have a mistake when installing a new dependency with yarn, which occur most of the time on branch change with different modules.

Expected Behavior

No bitcode cleaning while version remain unchanged

Observed Behavior

After installing another library and doing a pod install the WebRTC framework doesn’t exists anymore.

Generating Pods project
[!] The plist file at path `/Users/nicolas/Developer/project/node_modules/react-native-webrtc/apple/WebRTC.xcframework/Info.plist` doesn't exist.

I have to do sh ./node_modules/react-native-webrtc/tools/downloadBitcode.sh again which is bandwidth consuming and time losing task.

Steps to reproduce the issue

  • Start a new RN project.
  • Import react-native-webrtc
  • do pod install --repo-update in ios folder
  • build and run app
  • Add another dependency, i.e. react-native-background-fetch
  • do pod install --repo-update in ios folder
  • Error is displayed

Platform Information

  • React Native Version: ^0.68.2
  • Plugin Version: ^1.100.1
  • OS: iOS 15
  • OS Version: macOS 12.4 / XCode 13.4.1

Best regards, Nicolas

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
nitriquecommented, Aug 19, 2022

I should have been more gently in my first comment, sorry for that.

1reaction
8BallBomBomcommented, Aug 19, 2022

One person can only do so much. If someone was designated 100% then of-course you could criticise performance better over time. But as you should know, as of yet unless i’m unaware, no one is dedicated entirely to the development of just this library.

Everyone is entitled to their opinion but you don’t exactly reflect a good image by throwing around harsh terms. You should also consider that WebRTC itself might have issues and as such this library is just an implementation. Which entails reporting issues not just here but elsewhere.

Last but not least yes the documentation hasn’t exactly been perfect but work has been done on and off to address that. As you can see over here. Collaborations are always appreciated.

I also have no affiliation with 8x8.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode setting ENABLE_BITCODE | Apple Developer Forums
I am compiling my app in the new Xode7-beta and getting these errors. ld: warning: URGENT: all bitcode will be dropped because '***'...
Read more >
iOS build fails on real devices with React Native 0.62 #3384
remove yarn.lock file and pods folder; run pod install again. After these steps all will work.
Read more >
New warnings in iOS 9: "all bitcode will be dropped"
(null): URGENT: all bitcode will be dropped because '/Users/myname/Library/Mobile Documents/com~apple~CloudDocs/foldername/appname/GoogleMobileAds.framework/ ...
Read more >
appcenter-link-scripts | Yarn - Package Manager
App Center is your continuous integration, delivery and learning solution for iOS and Android apps. Get faster release cycles, higher-quality apps, ...
Read more >
Expo SDK 44. Today we're announcing the release of…
The default expo/metro-config now has partial support for Yarn workspaces built-in. Improved Xcode logging in expo run:ios — all native files are now ......
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