修复 pod install 报错

This commit is contained in:
little-snow-fox 2020-08-30 14:51:23 +08:00
parent 48ca61a06b
commit e3c92c575f
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,9 @@
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "RCTWeChat"
s.version = package['version']

View File

@ -1,6 +1,6 @@
{
"name": "react-native-wechat-lib",
"version": "1.1.22-notpay",
"version": "1.1.23-notpay",
"description": "react-native library for wechat app. 支持分享和拉起小程序。",
"main": "index.js",
"scripts": {