ND
04/05/2023, 1:31 PMND
04/05/2023, 1:31 PMTask allsharedzipXCFramework
Task allsharedpublishKMMBridgeFrameworkPublicationToGitHubPackagesRepository
Task allshareduploadXCFramework
Task allsharedgenerateReleasePodspec
Task allsharedpushRemotePodspec FAILEDerror: WARNING: CocoaPods requires your terminal to be using UTF-8 encoding. error: Consider adding the following to ~/.profile: error: error: export LANG=en_US.UTF-8 error: error: Cloning spec repo
github.com-xxx-podspecs
from git@github.com:xxx/x-podspecs.git
error:
error: Validating spec
error: -> allshared
error: -> allshared (1.0.8.1)
error: - WARN | license: Invalid license type.
error: - ERROR | [iOS] unknown: Encountered an unknown error ([!] /usr/bin/curl -f -L -o /var/folders/5w/flvksasdsa399w29dsat9w0000gp/T/d20230404-85234-njwtxl/file.zip https://maven.pkg.github.com/xxx/kmm-bridge-xx/com/x/kmmbridge/allshared-kmmbridge/x/allshared-kmmbridge-x.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.12.0 cocoapods-downloader/1.6.3' -H Accept: application/octet-stream
error:
error: % Total % Received % Xferd Average Speed Time Time Time Current
error: Dload Upload Total Spent Left Speed
error:
error: 0 0 0 0 0 0 0 0 -- -- -- -- -- -- 0
error: 0 0 0 0 0 0 0 0 -- -- -- -- -- -- 0
error: curl: (22) The requested URL returned error: 401
error: ) during validation.
error:
error: [!] The /Users/githubrunner/dev/github/actions-runner/_work/kmm-bridge-test/kmm-bridge-test/allshared/build/faktory/podspec/release/allshared.podspec
specification does not validate.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task 'allsharedpushRemotePodspec'.
Process failed: pod repo push git@github.com:xxx/x-podspecs.git /Users/githubrunner/dev/github/actions-runner/_work/kmm-bridge-test/kmm-bridge-test/allshared/build/faktory/podspec/release/allshared.podspec --allow-warnings* Try:
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.* Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task 'allsharedpushRemotePodspec'.
russhwolf
04/05/2023, 2:56 PMerror: curl: (22) The requested URL returned error: 401
error: ) during validation.
Part of the podspec publishing is verifying that the binary artifact is there, but it's getting an auth failure. Make sure you have your deploy key configured as described in https://kmmbridge.touchlab.co/docs/cocoapods/COCOAPODS_GITHUB_PODSPEC#deploy-keys