Skip to content

Instantly share code, notes, and snippets.

@fikribasa
Created May 10, 2021 14:52
Show Gist options
  • Select an option

  • Save fikribasa/f687f874b5e60eaa1bf7d6da4659d1b8 to your computer and use it in GitHub Desktop.

Select an option

Save fikribasa/f687f874b5e60eaa1bf7d6da4659d1b8 to your computer and use it in GitHub Desktop.

Revisions

  1. fikribasa created this gist May 10, 2021.
    32 changes: 32 additions & 0 deletions jitsi_meet.podspec
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    #
    # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
    # Run `pod lib lint jitsi_meet.podspec' to validate before publishing.
    #
    Pod::Spec.new do |s|
    s.name = 'jitsi_meet'
    s.version = '0.0.1'
    s.summary = 'Jitsi Meet Plugin'
    s.description = <<-DESC
    Jitsi Meet Plugin
    DESC
    s.homepage = 'http://example.com'
    s.license = { :file => '../LICENSE' }
    s.author = { 'Your Company' => '[email protected]' }
    s.source = { :path => '.' }
    s.source_files = 'Classes/**/*'
    s.dependency 'Flutter'
    # s.dependency 'JitsiMeetSDK', '2.11.0'
    s.platform = :ios, '11.0'

    s.preserve_paths = 'JitsiMeet.framework'
    s.xcconfig = { 'OTHER_LDFLAGS' => '-framework JitsiMeet' }
    s.vendored_frameworks = 'JitsiMeet.framework'

    s.preserve_paths = 'WebRTC.framework'
    s.xcconfig = { 'OTHER_LDFLAGS' => '-framework WebRTC' }
    s.vendored_frameworks = 'WebRTC.framework'

    # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
    s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
    s.swift_version = '5.0'
    end