iOS: remove reunpacking frameworks zip in fcm push ext
@@ -1261,14 +1261,16 @@ namespace "config" do
end
end
- # unpack Google frameworks zip
+ # unpack Google frameworks zip- only in case of sources of RHodes used - in case of GEM zip unpacked during installation
if RUBY_PLATFORM =~ /darwin/
currentdir = Dir.pwd()
if File.exists?(File.dirname(__FILE__) + "/../../../lib/extensions/fcm-push/ext/iphone/Frameworks/Frameworks.zip")
+ if !File.exists?(File.dirname(__FILE__)+ "/../../../lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.xcframework")
chdir (File.dirname(__FILE__) + "/../../../lib/extensions/fcm-push/ext/iphone/Frameworks/")
system("unzip Frameworks.zip")
rm_rf "Frameworks.zip"
end
+ end
Dir.chdir currentdir
end
