Azure-Samples/azure-ai-vision-sdk

Cocoapods build error

jc0rtez opened this issue · 1 comments

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Following the steps:

  • i have installed git-lfs, current version git-lfs/3.5.1 (GitHub; darwin arm64; go 1.22.1)
  • add the follow lines to podfile:
source 'https://msface.visualstudio.com/SDK/_git/AzureAIVisionCore.podspec'
source 'https://msface.visualstudio.com/SDK/_git/AzureAIVisionFace.podspec'

target 'TestFaceLiveness' do
   # add the pods here, optionally with version specification as needed
   pod 'AzureAIVisionCore', '0.17.1-beta.1'
   pod 'AzureAIVisionFace', '0.17.1-beta.1'
end

Any log messages given by the failure

TestFaceLiveness % pod install
Analyzing dependencies
Downloading dependencies
Installing AzureAIVisionCore (0.17.1-beta.1)

[!] Error installing AzureAIVisionCore
[!] /opt/homebrew/bin/git clone https://msface.visualstudio.com/SDK/_git/AzureAIVisionCore.xcframework /var/folders/2d/9bw35h5928ddcy80420kh48c0000gn/T/d20240722-29809-1f20ri --template= --single-branch --depth 1 --branch 0.17.1-beta.1

Clonando en '/var/folders/2d/9bw35h5928ddcy80420kh48c0000gn/T/d20240722-29809-1f20ri'...
Nota: cambiando a '319b5fbe0436932cc6e921ac375a85b8dcf49153'.

Te encuentras en estado 'detached HEAD'. Puedes revisar por aquí, hacer
cambios experimentales y hacer commits, y puedes descartar cualquier
commit que hayas hecho en este estado sin impactar a tu rama realizando
otro checkout.

Si quieres crear una nueva rama para mantener los commits que has creado,
puedes hacerlo (ahora o después) usando -c con el comando checkout. Ejemplo:

  git switch -c <nombre-de-nueva-rama>

O deshacer la operación con:

  git switch -

Desactiva este aviso poniendo la variable de config advice.detachedHead en false

Filtrando contenido: 100% (2/2), 334.90 MiB | 21.59 MiB/s, listo.
fatal: active `post-checkout` hook found during `git clone`:
	/private/var/folders/2d/9bw35h5928ddcy80420kh48c0000gn/T/d20240722-29809-1f20ri/.git/hooks/post-checkout
For security reasons, this is disallowed by default.
If this is intentional and the hook should actually be run, please
run the command again with `GIT_CLONE_PROTECTION_ACTIVE=false`
advertencia: Clonación exitosa, pero falló el checkout.
Puedes inspeccionar a qué se hizo checkout con 'git status'
y volver a intentarlo con 'git restore --source=HEAD :/'

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Xcode Version 15.4 (15F31d)
macos Sonoma 14.5

Versions

pod 'AzureAIVisionCore', '0.17.1-beta.1'
pod 'AzureAIVisionFace', '0.17.1-beta.1'

Mention any other details that might be useful


Thanks! We'll be in touch soon.

possible solved updating git version