From bf92d645c8a97e6ed879063c5025949a2b8a746d Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Thu, 27 Feb 2020 18:52:07 +0800 Subject: [PATCH] fix publish error --- DoricDevkit.podspec | 2 ++ publish.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DoricDevkit.podspec b/DoricDevkit.podspec index ba606226..b89ed546 100644 --- a/DoricDevkit.podspec +++ b/DoricDevkit.podspec @@ -17,4 +17,6 @@ Doric iOS Devkit for debugging & hotload. s.source_files = 'doric-iOS/Devkit/Classes/**/*' s.public_header_files = 'doric-iOS/Devkit/Classes/**/*.h' + + s.dependency 'DoricCore' end diff --git a/publish.sh b/publish.sh index 34588e7d..e641aa6e 100644 --- a/publish.sh +++ b/publish.sh @@ -49,4 +49,4 @@ cd $CURRENT_DIR/doric-web && npm publish echo "Publish Android" cd $CURRENT_DIR/doric-android && ./gradlew clean publishAll echo "Publish iOS" -cd $CURRENT_DIR && pod trunk push --allow-warnings \ No newline at end of file +cd $CURRENT_DIR && pod trunk push DoricCore.podspec --allow-warnings && pod trunk push DoricDevkit.podspec --allow-warnings \ No newline at end of file