i got your issue too, there is mine who work now
#!/usr/bin/env bash
set -x
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
brew install cocoapods
# have to add node yourself
NODE_VER=16
VERSION=$(curl -s https://nodejs.org/dist/latest-v$NODE_VER.x/ | sed -nE 's|.*>node-(.*)\.pkg</a>.*|\1|p')
if [[ "$(arch)" == "arm64" ]]
then
ARCH="arm64"
else
ARCH="x64"
fi
curl "https://nodejs.org/dist/latest-v$NODE_VER.x/node-$VERSION-darwin-$ARCH.tar.gz" -o $HOME/Downloads/node.tar.gz
tar -xf "$HOME/Downloads/node.tar.gz"
NODE_PATH="$PWD/node-$VERSION-darwin-$ARCH/bin"
PATH+=":$NODE_PATH"
export PATH
node -v
npm -v
brew install yarn
# Install dependencies
yarn --frozen-lockfile
pod install
Post
Replies
Boosts
Views
Activity
Same for my i opened a support ticket if i download the artifact and upload it myself, it work
Same for me, i switched to bun and install now works i just have the issue when i do npx @capacitor/assets@latest i will try bun run
I maintain a tutorial article here for the people using npm and JS apps:
https://capgo.app/blog/how-to-build-capacitor-app-in-xcode-cloud/
We have this globally on Xcode Cloud env last version.
This not version related from my perspective.
As I sent already in my support (case number is 102269335713 and Case-ID: 7072693) ticket
With a demo app this fail, with Xcode cloud set at LATEST.
And this simple ci_post_clone.sh:
#!/usr/bin/env bash
brew install cocoapods
brew install node@18
brew link node@18
npm i @capacitor/assets
For me, if you end up on the wrong xcode cloud poll where the SSL issue happen.
Same here ...