prepare_command for mac & ios

This commit is contained in:
ekibun
2020-09-26 09:51:47 -07:00
parent 7a48fac570
commit ec7c7fd7cf
12 changed files with 60 additions and 757 deletions

View File

@@ -5,13 +5,13 @@
Pod::Spec.new do |s|
s.name = 'flutter_qjs'
s.version = '0.0.1'
s.summary = 'A new flutter plugin project.'
s.summary = 'A quickjs engine for flutter.'
s.description = <<-DESC
A new flutter plugin project.
This plugin is a simple js engine for flutter using the `quickjs` project. Plugin currently supports all the platforms except web!
DESC
s.homepage = 'http://example.com'
s.homepage = 'https://github.com/ekibun/flutter_qjs'
s.license = { :file => '../LICENSE' }
s.author = { 'Your Company' => 'email@example.com' }
s.author = { 'ekibun' => 'soekibun@gmail.com' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
@@ -19,8 +19,8 @@ A new flutter plugin project.
# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
# IOSTODO for simulators use Debug-iphonesimulator, for real devices use Debug-iphoneos
s.vendored_frameworks = 'build/Debug-iphoneos/ffiquickjs.framework'
s.vendored_frameworks = 'build/ffiquickjs.framework'
s.static_framework = false
s.prepare_command = 'sh make.sh'
s.swift_version = '5.0'
end