diff --git a/.github/ci/build/build_ios.sh b/.github/ci/build/build_ios.sh index f8491ac4c..07517f9eb 100644 --- a/.github/ci/build/build_ios.sh +++ b/.github/ci/build/build_ios.sh @@ -70,6 +70,8 @@ mkdir ./$unzip_name/samples cp -rf ./iOS/${ios_direction} ./$unzip_name/samples/API-Example || exit 1 ls -al ./$unzip_name/samples/API-Example/ mv ./$unzip_name/samples/API-Example/sdk.podspec ./$unzip_name/ || exit 1 + +echo "work space1: $WORKSPACE" python3 ./.github/ci/build/modify_podfile.py ./$unzip_name/samples/API-Example/Podfile || exit 1 diff --git a/iOS/APIExample/Podfile b/iOS/APIExample/Podfile index fe6a2926d..f00176dd5 100644 --- a/iOS/APIExample/Podfile +++ b/iOS/APIExample/Podfile @@ -22,9 +22,9 @@ target 'APIExample' do pod 'SwiftLint', '~> 0.53.0' pod 'SnapKit', '~> 5.7.0' -# pod 'senseLib', :path => 'sense.podspec' -# pod 'bytedEffect', :path => 'bytedEffect.podspec' -# pod 'fuLib', :path => 'fu.podspec' + #pod 'SenseLib', :path => 'sense.podspec' + #pod 'bytedEffect', :path => 'bytedEffect.podspec' + #pod 'fuLib', :path => 'fu.podspec' end target 'Agora-ScreenShare-Extension' do diff --git a/iOS/APIExample/cloud_build.sh b/iOS/APIExample/cloud_build.sh index bfa92bcc1..5370dfb00 100755 --- a/iOS/APIExample/cloud_build.sh +++ b/iOS/APIExample/cloud_build.sh @@ -21,6 +21,9 @@ rm -f vender_bytedance_iOS.zip #打开第三方播放器配置 sed -i -e "s#\# pod 'ijkplayer'# pod 'ijkplayer'#g" Podfile +echo "work space: $WORKSPACE" +echo "project path: $PROJECT_PATH" + pod install || exit 1 # 打包环境