Commit fe7d417f authored by hewenhao's avatar hewenhao

fix(ios): support iOS 13 in QBarSDK 1.0.1

parent 14f72a43
Pod::Spec.new do |s|
s.name = 'QBarSDK'
s.version = '1.0.0'
s.version = '1.0.1'
s.summary = 'Tencent QBar barcode scanning SDK for iOS.'
s.homepage = 'https://dev.jiuaoedu.com/fe-components/qbar-sdk-ios'
s.authors = { 'hewenhao' => 'hewenhao@jiuaoedu.com' }
......@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
:tag => "v#{s.version}"
}
s.ios.deployment_target = '15.1'
s.ios.deployment_target = '13.0'
s.static_framework = true
s.vendored_frameworks = 'QBarSDK/*.framework'
s.resources = 'QBarSDK/QbarCodeRes.bundle'
......
......@@ -5,12 +5,12 @@ SDK 二进制通过 Git 分发,不再随 React Native 库的 npm 包发布。
## 安装
最低 iOS 版本为 15.1。在 App 的 Podfile target 内添加:
最低 iOS 版本为 13.0。在 App 的 Podfile target 内添加:
```ruby
pod 'QBarSDK',
:git => 'git@dev.jiuaoedu.com:fe-components/qbar-sdk-ios.git',
:tag => 'v1.0.0'
:tag => 'v1.0.1'
```
然后在 Podfile 所在目录执行 `bundle exec pod install`,未使用 Bundler 的项目执行
......@@ -28,7 +28,8 @@ pod 'QBarSDK',
- `QBarSDK.podspec`:声明二进制、资源、系统链接依赖,不依赖 React Native。
- `SHA256SUMS`:所有 SDK 文件的 SHA-256 清单,可运行 `shasum -a 256 -c SHA256SUMS` 核验。
`1.0.0` 是本仓库的封装版本,不代表腾讯 SDK 的上游版本。
`1.0.1` 是本仓库的封装版本,不代表腾讯 SDK 的上游版本。
此版本将最低 iOS 版本降为 13.0,SDK 二进制和资源与 `1.0.0` 相同。
本次迁移不修改二进制架构,也不新增模拟器架构支持;优先使用真机目标验证。
运行扫码功能仍需腾讯 SDK 授权。
......@@ -42,7 +43,7 @@ React Native 扫码库的 example 已包含这些配置。
1. 更新 `QBarSDK/` 内的供应商文件,保留版权和许可信息;重新生成 `SHA256SUMS`。
2. 更新 podspec 的封装版本,执行 podspec 校验及 iOS 真机目标编译、扫码验证。
3. 提交并推送新版本 tag(如 `v1.0.1`),已发布 tag 不覆盖。
3. 提交并推送新版本 tag(如 `v1.0.2`),已发布 tag 不覆盖。
4. 同步更新扫码库中 `CodeScanner.podspec` 的精确版本依赖、example Podfile 的 tag,
以及两个仓库的安装示例。宿主 App 更新 Podfile tag 后执行 `bundle exec pod update QBarSDK`,
提交 Podfile.lock,再发布需要该版本的扫码库 npm 包。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment