Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using SPM version 5.2.1 failing on appCenter #243

Open
mohammedbadr2 opened this issue Oct 13, 2022 · 9 comments
Open

using SPM version 5.2.1 failing on appCenter #243

mohammedbadr2 opened this issue Oct 13, 2022 · 9 comments
Assignees

Comments

@mohammedbadr2
Copy link

Screen Shot 2022-10-13 at 4 09 38 PM

this issue blocking CI tools from building

invalid URL scheme for binary target 'RELEASE_PACKAGE_NAME'; valid schemes are: 'https'fatalError in https://github.com/twilio/twilio-video-ios
xcodebuild: error: Could not resolve package dependencies

@camposbrunocampos
Copy link

I see the same issue, with 5.2.0 version

@camposbrunocampos
Copy link

It seems this commit reverted something that is related to this issue
Screen Shot 2022-10-13 at 12 02 58 PM

@mohammedbadr2
Copy link
Author

but in CI like appCenter 5.2.0 works normally in local Xcode and hosted appCenter one the issue persists starting from 5.2.1

@camposbrunocampos
Copy link

We run our bitrise job and it fails here 👇
Screen Shot 2022-10-13 at 1 29 52 PM

@Innocuousjoe
Copy link

Seeing the same issue, following this and hopefully it'll help!

@dannyhertz
Copy link

Same issue here! Very frustrating.

@camposbrunocampos
Copy link

Hey folks, as a work around until twilio people fixes it, I'm fixing the twilio lib version to version 5.2.0.
Screen Shot 2022-10-18 at 12 48 27 PM

@paynerc
Copy link
Contributor

paynerc commented Nov 1, 2022

@chpatelv I see that you deleted the 5.3.0 release, however you will also need to delete the 5.3.0 tag out of this repo for SPM to resolve correctly. The 5.3.0 tag is still pointing to the bad Package.swift file.

@chpatelv
Copy link
Contributor

chpatelv commented Nov 1, 2022

Hello folks, apologies for the delayed response to this issue.

This was an artifact of evaluating updates to our release pipeline. As @paynerc pointed out, we did not remove a tag produced during this testing, which caused Xcode projects in which SPM is configured to grab the latest (minor) version to pull down an invalid manifest. This was MY mistake, and the tag has now been removed. Therefore, even without the fix provided by @camposbrunocampos, your projects should now be pulling down 5.2.1 as the latest. If your local Xcode project doesn't resolve this immediately, use File -> Packages -> Reset Package Caches

I'm very sorry for the inconvenience this caused.

@chpatelv chpatelv self-assigned this Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants