lib/cocoapods-flutter/native/archive/archive.rb in cocoapods-flutter-dt-0.0.7 vs lib/cocoapods-flutter/native/archive/archive.rb in cocoapods-flutter-dt-0.0.8
- old
+ new
@@ -366,10 +366,12 @@
s.license = { :type => 'BSD' }
s.author = { 'Dreamtracer' => 'http://dreamtracer.top' }
s.source = { :http => app_download_url }
s.ios.deployment_target = '9.0'
s.prepare_command = "ruby download_sdk.rb #{sdk_download_url}"
+ s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
+ s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
vendored_frameworks = ["App.framework", "Flutter.framework", "FlutterPluginRegistrant.framework"]
@plugins.each do |plugin|
vendored_frameworks.append "#{plugin.name}.framework"
end
s.vendored_frameworks = vendored_frameworks
@@ -384,10 +386,10 @@
File.open spec_file, "w+" do |file|
file.write spec.to_pretty_json
end
Dir.chdir temp_dir do |dir|
- Pod::Command::Repo::Push.run([@pod_repo, '--allow-warnings', "--sources=#{@sources.join(',')}"])
+ Pod::Command::Repo::Push.run([@pod_repo, '--verbose', '--allow-warnings', "--sources=#{@sources.join(',')}"])
end
end
end