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

Xcode 16 build error "Missing argument label 'value'" #600

Closed
brandonroth opened this issue Jun 24, 2024 · 5 comments
Closed

Xcode 16 build error "Missing argument label 'value'" #600

brandonroth opened this issue Jun 24, 2024 · 5 comments
Labels
bug Something isn't working build Issues related to build and CI/CD

Comments

@brandonroth
Copy link

Describe the bug
iOS 18 and Xcode 16 adds a newExpression class to the standard library which conflicts with SQLite.Expression used in AppSync code. This causes a build failure `Missing argument label 'value:' because compiler assumes we are talking about Swift.Expression.

Adding a qualification to the affected files appears to fix the problem typealias Expression = SQLite.Expression.

To Reproduce
Steps to reproduce the behavior:
0: Using Xcode 16.0 Beta, start a new iOS app/project.

  1. Install app sync sdk via cocoapods or SPM
  2. Build project.
    3: Fails to build with error "Missing argument label 'value:' in call" anywhere Expression type is used.

Expected behavior
Should run without failure on Xcode 15 and 16.

Environment(please complete the following information):

  • Xcode 16.0 beta
  • AppSync SDK Version: 3.7.1
  • Dependency Manager: Cocoapods and SPM

Device Information (please complete the following information):
All devices

Additional context

@brandonroth brandonroth changed the title Compiler error Xcode 16 build error "Missing argument label 'value" Jun 24, 2024
@brandonroth brandonroth changed the title Xcode 16 build error "Missing argument label 'value" Xcode 16 build error "Missing argument label 'value'" Jun 24, 2024
@harsh62 harsh62 added the build Issues related to build and CI/CD label Jun 25, 2024
@harsh62
Copy link
Member

harsh62 commented Jun 25, 2024

@brandonroth Thank you for raising the issue. Our team will look into it and provide an update soon.

Also if you think, this is something you can contribute towards, feel free to open a PR and our team will be happy to look into it.

@harsh62 harsh62 added bug Something isn't working open-for-contribution Good for contributors and removed bug Something isn't working labels Jun 25, 2024
rnapier pushed a commit to rnapier/aws-mobile-appsync-sdk-ios that referenced this issue Jun 25, 2024
iOS 18 adds a new Expression type to Foundation which conflicts with SQLite. Explicitly import SQLite's.
@ruisebas ruisebas added the bug Something isn't working label Jun 28, 2024
@vveltri-parser
Copy link

@brandonroth Thank you for raising the issue. Our team will look into it and provide an update soon.

Also if you think, this is something you can contribute towards, feel free to open a PR and our team will be happy to look into it.

Hi! Is there any news or solution to this? I'm having the same problem. Thanks! @harsh62

@vveltri-parser
Copy link

@brandonroth Thank you for raising the issue. Our team will look into it and provide an update soon.
Also if you think, this is something you can contribute towards, feel free to open a PR and our team will be happy to look into it.

Hi! Is there any news or solution to this? I'm having the same problem. Thanks! @harsh62

hey sorry for the spam but I've seen that this has been fixed on here but this is not included in your last release (3.7.1). Would be possible to generate a new release including this change? Thanks. cc/ @thisisabhash @5d @ruisebas

@ruisebas
Copy link
Member

Hi @vveltri-parser,

No new features are being added to the AppSync SDK for iOS, as called out in our documentation.
A fix for this particular issue has been merged into the main branch, so you're welcome to update your dependency to use that branch if you like. But there are no plans to release a new version.

Please also note that maintenance mode ended in September 1, 2024. So we advice you to migrate over to Amplify API.

Thanks!

@ruisebas ruisebas closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@ruisebas ruisebas removed the open-for-contribution Good for contributors label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Issues related to build and CI/CD
Projects
None yet
Development

No branches or pull requests

4 participants