Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,16 @@ post_install do |installer|
# Patch SocketRocket to support TLS 1.3
%x(patch Pods/SocketRocket/SocketRocket/SRSecurityPolicy.m -N < patches/ws-tls13.diff)

# GiphyUISDK.xcframework already embeds libwebp; Giphy's podspec also
# declares libwebp as a dependency, which makes CocoaPods statically link
# libwebp into JitsiMeetSDK as well. The two copies trigger a duplicate
# `PodsDummy_libwebp` warning at runtime. Drop the redundant link.
['Pods-JitsiMeetSDK', 'Pods-JitsiMeet'].each do |aggregate_name|
Dir.glob("Pods/Target Support Files/#{aggregate_name}/*.xcconfig").each do |path|
contents = File.read(path)
patched = contents.gsub(/ -l"?libwebp"?/, '')
File.write(path, patched) if patched != contents
end
end

end
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2521,6 +2521,6 @@ SPEC CHECKSUMS:
SplashView: 1f70e5be12f45df018a7236c23aa6919ee509c2f
Yoga: 9663a18d096f7f7e17a535cf00849db756709955

PODFILE CHECKSUM: 7c37a89916893e11159576c8b308b7b5c25246c9
PODFILE CHECKSUM: 39a3efad826b8b7cb8a25a6d6ddbf6a3547eeedf

COCOAPODS: 1.16.2
6 changes: 1 addition & 5 deletions react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ module.exports = {
dependencies: {
'@giphy/react-native-sdk': {
platforms: {
ios: {
// Disable auto-linking but keep codegen.
// We need it to generate GiphyReactNativeSDKSpec.
scriptPhases: []
}
ios: null
}
},
'@react-native-google-signin/google-signin': {
Expand Down
Loading