Merge pull request #37 from erlangzhang/main

fix plugin build with ios simulator
main
hrxiang 4 years ago committed by GitHub
commit a71edf771d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      example/ios/Flutter/AppFrameworkInfo.plist
  2. 1
      example/pubspec.yaml
  3. 2
      ios/flutter_openim_sdk.podspec

@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>8.0</string>
<string>9.0</string>
</dict>
</plist>

@ -4,6 +4,7 @@ description: Demonstrates how to use the flutter_openim_sdk plugin.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
#publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0
environment:
sdk: ">=2.12.0 <3.0.0"

@ -19,6 +19,6 @@ A new Flutter project.
s.vendored_frameworks = 'Framework/*.framework'
# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' }
s.swift_version = '5.0'
end

Loading…
Cancel
Save