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

cannot convert value of type \'Int\' to expected element type \'Array<SwiftVersion>.ArrayLiteralElement\' #18

Open
AdamMiltonBarker opened this issue Feb 10, 2022 · 3 comments

Comments

@AdamMiltonBarker
Copy link

AdamMiltonBarker commented Feb 10, 2022

Showing Recent Messages

invalidManifestFormat("/var/folders/3t/04146p9j1zq58qk668c8_f_40000gn/T/com.apple.appstoreagent/TemporaryFile.lvoms6.swift:10:30: error: cannot convert value of type 'Int' to expected element type 'Array.ArrayLiteralElement' (aka 'SwiftVersion')\npkg.swiftLanguageVersions = [3, 4]\n

^\n/var/folders/3t/04146p9j1zq58qk668c8_f_40000gn/T/com.apple.appstoreagent/TemporaryFile.lvoms6.swift:10:33: error: cannot convert value of type 'Int' to expected element type 'Array.ArrayLiteralElement' (aka 'SwiftVersion')\npkg.swiftLanguageVersions = [3, 4]\n

^", diagnosticFile: Optional(AbsolutePath:"/Users/Adam-Milton-Barker/Library/Developer/Xcode/DerivedData/xxxxxxx-hckynpimisgfqhetportamtfadgo/SourcePackages/ManifestLoading/storekit.dia")) in https://github.com/PromiseKit/StoreKit.git

@mxcl
Copy link
Member

mxcl commented Feb 11, 2022

If you can't be bothered to format this so I can read it I can't be bothered to help you.

@AdamMiltonBarker
Copy link
Author

@mxcl I just copied and pasted the error straight from Xcode. Is that any better ?

@mxcl
Copy link
Member

mxcl commented Feb 15, 2022

Looks like you need to update your dependencies.

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

2 participants