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

Won't compile on iOS with NativeScript 5.2 (SWIFT_VERSION) #19

Closed
keerl opened this issue Mar 14, 2019 · 5 comments
Closed

Won't compile on iOS with NativeScript 5.2 (SWIFT_VERSION) #19

keerl opened this issue Mar 14, 2019 · 5 comments
Assignees
Labels

Comments

@keerl
Copy link
Contributor

keerl commented Mar 14, 2019

I just tried installing this plugin on the newest version of NativeScript but the build it failing on iOS. This is the error I am getting:

[!] Unable to determine Swift version for the following pods:

- `AlgoliaSearch-Client-Swift` does not specify a Swift version and none of the targets (`coop`) 
integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the 
`SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.
@keerl keerl changed the title Won' Won't compile on iOS with NativeScript 5.2 (SWIFT_VERSION) Mar 14, 2019
@arpit2438735 arpit2438735 self-assigned this Mar 14, 2019
@arpit2438735
Copy link
Owner

arpit2438735 commented Mar 14, 2019

@keerl I will have a look into this one.What exact error you getting? This stack-trace looks like it's a warning

@keerl
Copy link
Contributor Author

keerl commented Mar 14, 2019

Here is a screenshot of the error. Thanks for looking into this!

@arpit2438735
Copy link
Owner

@keerl Can you try this one https://stackoverflow.com/a/54584360/1306308?

I specifically removed it, as one of developer was also using algolia and some other plugin and every plugin has different swift version cause of which it create a problem.Ideally we should bound developer to use specific version if supported for all latest one.

@keerl
Copy link
Contributor Author

keerl commented Mar 14, 2019

Yes, this works! Thank you for the quick fix!

@keerl keerl closed this as completed Mar 14, 2019
@keerl
Copy link
Contributor Author

keerl commented Mar 18, 2019

This seems like a better way to fix the issue long term. https://stackoverflow.com/a/55218757/5530933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants