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

[Bug]: Can't build on xcdoe 16.0 #95

Open
MohamedAlsadek opened this issue Oct 20, 2024 · 2 comments
Open

[Bug]: Can't build on xcdoe 16.0 #95

MohamedAlsadek opened this issue Oct 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@MohamedAlsadek
Copy link

Version

1.3.4

Environment that reproduces the issue

After updating to the latest SDK and xcode16.0 I am having the following error

Call can throw but is not marked with 'try'

in this line
https:/apivideo/api.video-swift-client/blob/main/Sources/AlamofireImplementations.swift#L416

now I can't build my project anymore, can you please help ?

Is it reproducible in the example application?

Not tested

Reproduction steps

just update and try to build

Expected result

app builds

Actual result

Call can throw but is not marked with 'try'

in this line
https:/apivideo/api.video-swift-client/blob/main/Sources/AlamofireImplementations.swift#L416

Additional context

No response

Relevant logs output

No response

@MohamedAlsadek MohamedAlsadek added the bug Something isn't working label Oct 20, 2024
@MohamedAlsadek
Copy link
Author

the issue is related to updating AlamoFire to latest, when I checked your example you are using alamo fire 5.4.4 and when I downgraded my Alamofire, now it works

can you please fix this problem so we are free to update

@ThibaultBee
Copy link
Member

Hi,

Thanks for reporting this issue.

I cherry picked a commit from openapi swift5 template to fix this.
The fix is already available in the Swift client in the main branch.

The release will come soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants