Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native integration of Core packages. #126

Closed
zfb7901 opened this issue Dec 3, 2023 · 1 comment
Closed

Native integration of Core packages. #126

zfb7901 opened this issue Dec 3, 2023 · 1 comment
Assignees

Comments

@zfb7901
Copy link

zfb7901 commented Dec 3, 2023

No description provided.

@std-s
Copy link
Member

std-s commented Dec 4, 2023

Pod::Spec.new do |s|
  s.name             = 'flutter_openim_sdk'
  s.version          = '0.0.1'
  s.summary          = 'A new Flutter project.'
  s.description      = <<-DESC
A new Flutter project.
                       DESC
  s.homepage         = 'http://example.com'
  s.license          = { :file => '../LICENSE' }
  s.author           = { 'Your Company' => 'email@example.com' }
  s.source           = { :path => '.' }
  s.source_files = 'Classes/**/*'
  s.dependency 'Flutter'
  s.platform = :ios, '11.0'

  s.static_framework = true
  s.vendored_frameworks = 'Framework/*.xcframework'
  # Flutter.framework does not contain a i386 slice.
  s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' }
  s.swift_version = '5.0'
end

Refer here, then create a Framework folder and put the compiled framework in it.

@std-s std-s changed the title 如果把OpenIMSDKCore 放在本地,podspec这个文件该怎么写,我死活搞不过去 Native integration of Core packages. Dec 4, 2023
@std-s std-s pinned this issue Dec 4, 2023
@std-s std-s self-assigned this Dec 4, 2023
@std-s std-s closed this as completed Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants