| Initial commit: V -> Flutter FFI plugin ad0ccda nandi 13h ago | 1 | Pod::Spec.new do |s| |
| Replace V with Nim 472eb49 nandithebull 6h ago | 2 | s.name = 'nimflutter_ffi' |
| Initial commit: V -> Flutter FFI plugin ad0ccda nandi 13h ago | 3 | s.version = '0.1.0' |
| Replace V with Nim 472eb49 nandithebull 6h ago | 4 | s.summary = 'Nim language runtime bridged to Flutter via dart:ffi.' |
| Initial commit: V -> Flutter FFI plugin ad0ccda nandi 13h ago | 5 | s.homepage = 'https://example.com' |
| 6 | s.license = { :file => '../LICENSE' } |
| 7 | s.author = { 'you' => 'you@example.com' } |
| 8 | s.source = { :path => '.' } |
| 9 | s.source_files = 'Classes/**/*' |
| 10 | s.dependency 'Flutter' |
| 11 | s.platform = :ios, '12.0' |
| 12 | |
| Replace V with Nim 472eb49 nandithebull 6h ago | 13 | # Nim's generated C is machine output. |
| Initial commit: V -> Flutter FFI plugin ad0ccda nandi 13h ago | 14 | s.compiler_flags = '-w' |
| 15 | |
| Replace V with Nim 472eb49 nandithebull 6h ago | 16 | # NimMain runs from a library constructor in a shared build. A static archive |
| 17 | # has no such hook, and the linker drops objects nothing references anyway — |
| 18 | # so -all_load keeps them and nf_init() is the guaranteed entry point. |
| Initial commit: V -> Flutter FFI plugin ad0ccda nandi 13h ago | 19 | s.pod_target_xcconfig = { |
| 20 | 'DEFINES_MODULE' => 'YES', |
| 21 | 'OTHER_LDFLAGS' => '-all_load', |
| 22 | 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' |
| 23 | } |
| 24 | end |