Open Ritesh175862 opened 4 years ago
This is because of using use_frameworks!
in your Podfile
it's required by BRYXBanner so keep it and add this code at the end of Podfile
dynamic_frameworks = ['BRYXBanner']
# Make all the other frameworks into static frameworks by overriding the static_framework? function to return true
pre_install do |installer|
installer.pod_targets.each do |pod|
if !dynamic_frameworks.include?(pod.name)
puts "Overriding the static_framework? method for #{pod.name}"
def pod.static_framework?;
true
end
def pod.build_type;
Pod::Target::BuildType.static_library
end
end
end
end
This will overwrite use_frameworks!
and install all pods as static
except for BRYXBanner
To late response for my question.by the way we are maked our own banner ui and its working fine
On Sun, Mar 29, 2020, 5:48 PM Mujtaba F. Radhi notifications@github.com wrote:
This is because of using use_frameworks! in your Podfile
it's required by BRYXBanner so keep it and add this code at the end of Podfile
dynamic_frameworks = ['BRYXBanner']
Make all the other frameworks into static frameworks by overriding the static_framework? function to return true
pre_install do |installer| installer.pod_targets.each do |pod| if !dynamic_frameworks.include?(pod.name) puts "Overriding the static_framework? method for #{pod.name}" def pod.static_framework?; true end def pod.build_type; Pod::Target::BuildType.static_library end end end end
This will overwrite use_frameworks! and install all pods as static except for BRYXBanner
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prscX/react-native-notification-banner/issues/20#issuecomment-605627443, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMKOO7L3QMRNS6VQ56VJ52TRJ44CPANCNFSM4KOC65XA .
Can Anybody have any solution