diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 5d1b24b..ab2e450 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -7,18 +7,12 @@ PODS: - wechat_kit/vendor (= 2.0.0) - wechat_kit/vendor (2.0.0): - Flutter - - WechatOpenSDK (~> 1.8.6) - - WechatOpenSDK (1.8.7.1) DEPENDENCIES: - Flutter (from `Flutter`) - path_provider (from `.symlinks/plugins/path_provider/ios`) - wechat_kit (from `.symlinks/plugins/wechat_kit/ios`) -SPEC REPOS: - trunk: - - WechatOpenSDK - EXTERNAL SOURCES: Flutter: :path: Flutter @@ -30,8 +24,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: 0e3d915762c693b495b44d77113d4970485de6ec path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c - wechat_kit: a678cc55e977905907752f3a76c1e171872a92b0 - WechatOpenSDK: 6a4d1436c15b3b5fe2a0bd383f3046010186da44 + wechat_kit: 264d06a5b3415a1358d55075aa7f0a5cabc1af48 PODFILE CHECKSUM: 8e679eca47255a8ca8067c4c67aab20e64cb974d diff --git a/example/pubspec.lock b/example/pubspec.lock index c9e991e..2c9107b 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -309,7 +309,7 @@ packages: path: ".." relative: true source: path - version: "2.0.0" + version: "2.0.0-iOS-NoPay" win32: dependency: transitive description: diff --git a/ios/wechat_kit.podspec b/ios/wechat_kit.podspec index f89c6b7..a149bf6 100644 --- a/ios/wechat_kit.podspec +++ b/ios/wechat_kit.podspec @@ -18,26 +18,26 @@ A powerful Flutter plugin allowing developers to auth/share/pay with natvie Andr s.dependency 'Flutter' s.platform = :ios, '8.0' - # v1.8.7.1 - s.static_framework = true - s.subspec 'vendor' do |sp| - sp.dependency 'WechatOpenSDK', '~> 1.8.6' - end - -# # v1.8.7.1_NoPay +# # v1.8.7.1 # s.static_framework = true # s.subspec 'vendor' do |sp| -# sp.source_files = 'Libraries/**/*.h' -# sp.public_header_files = 'Libraries/**/*.h' -# sp.vendored_libraries = 'Libraries/**/*.a' -# sp.frameworks = 'CoreGraphics', 'Security', 'WebKit' -# sp.libraries = 'c++', 'z', 'sqlite3.0' -# sp.pod_target_xcconfig = { -# 'OTHER_LDFLAGS' => '$(inherited) -ObjC -all_load', -# 'GCC_PREPROCESSOR_DEFINITIONS' => 'NO_PAY=1' -# } +# sp.dependency 'WechatOpenSDK', '~> 1.8.6' # end + # v1.8.7.1_NoPay + s.static_framework = true + s.subspec 'vendor' do |sp| + sp.source_files = 'Libraries/**/*.h' + sp.public_header_files = 'Libraries/**/*.h' + sp.vendored_libraries = 'Libraries/**/*.a' + sp.frameworks = 'CoreGraphics', 'Security', 'WebKit' + sp.libraries = 'c++', 'z', 'sqlite3.0' + sp.pod_target_xcconfig = { + 'OTHER_LDFLAGS' => '$(inherited) -ObjC -all_load', + 'GCC_PREPROCESSOR_DEFINITIONS' => 'NO_PAY=1' + } + end + # 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' } end diff --git a/pubspec.yaml b/pubspec.yaml index b41cf42..693a7b1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: wechat_kit description: A powerful Flutter plugin allowing developers to auth/share/pay with natvie Android & iOS Wechat SDKs. -version: 2.0.0 #-iOS-NoPay +version: 2.0.0-iOS-NoPay # author: v7lin homepage: https://github.com/v7lin/wechat_kit