Skip to content

Commit

Permalink
fix: podspec path
Browse files Browse the repository at this point in the history
  • Loading branch information
hehex9 committed Apr 28, 2021
1 parent 41b7d9a commit 1ad6f5b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion example/ios/Podfile
Expand Up @@ -11,5 +11,5 @@ target 'example' do
:hermes_enabled => false
)

pod 'BaiduMobileAnalytics', :path => '../..'
pod 'BaiduMobileAnalytics', :path => '../../ios'
end
10 changes: 5 additions & 5 deletions example/ios/Podfile.lock
@@ -1,5 +1,5 @@
PODS:
- BaiduMobileAnalytics (0.1.1):
- BaiduMobileAnalytics (0.1.3):
- BaiduMobStat
- React-Core
- BaiduMobStat (5.3.2)
Expand Down Expand Up @@ -274,7 +274,7 @@ PODS:
- Yoga (1.14.0)

DEPENDENCIES:
- BaiduMobileAnalytics (from `../..`)
- BaiduMobileAnalytics (from `../../ios`)
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
Expand Down Expand Up @@ -313,7 +313,7 @@ SPEC REPOS:

EXTERNAL SOURCES:
BaiduMobileAnalytics:
:path: "../.."
:path: "../../ios"
DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
FBLazyVector:
Expand Down Expand Up @@ -372,7 +372,7 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
BaiduMobileAnalytics: d1c0237a037c712110bced02743a1d918e737cfc
BaiduMobileAnalytics: 97b59dfa2f5d762a6381d6cfab5c4f7a2e41a363
BaiduMobStat: f486c2f3786ef44e922ecc340139ee1b34ce0dc1
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
Expand Down Expand Up @@ -404,6 +404,6 @@ SPEC CHECKSUMS:
ReactCommon: cfe2b7fd20e0dbd2d1185cd7d8f99633fbc5ff05
Yoga: 8c8436d4171c87504c648ae23b1d81242bdf3bbf

PODFILE CHECKSUM: 443e89cfa11743fee2fbe66d076156c40ef36538
PODFILE CHECKSUM: 453f7061ae5f3c10c465d3c21ea9442e10957266

COCOAPODS: 1.10.1
2 changes: 1 addition & 1 deletion ios/BaiduMobileAnalytics.podspec
@@ -1,6 +1,6 @@
require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))

Pod::Spec.new do |s|
s.name = "BaiduMobileAnalytics"
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@youjinbu/react-native-baidu-mtj",
"version": "0.1.2",
"version": "0.1.3",
"description": "react-native wrapper for baidu mtj sdk",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 1ad6f5b

Please sign in to comment.