-
Notifications
You must be signed in to change notification settings - Fork 738
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
Compiler error with Xcode 10.2 (10E125) with Apollo cocoapod 0.9.5 #485
Comments
When I point my podfile at the latest from master at github instead of using the most recent release, the compiler error is fixed. |
Pointing to the |
Yes, and pointing at master is never fun in the long run. It would really be great to have an official release that works with Swift 5! |
We're waiting for Travis to update to Xcode 10.2, so we can land #475. |
... The intricate dependency graph of the World Wide Web 😅 |
What's your ETA on this? I need this to work because I have a dependency that is failing. Thanks! |
If you're in a really tight spot, @GiantBlue76, you can either point at master or do a temporary local fix - just change the type of the variable that it's complaining about in the 0.9.5 code to match what the compiler expects. I did so, and everything worked just fine. |
FIY Travis does support Xcode 10.2, I'm using it in graphql-community/ApolloAlamofire#3 test builds. I've just added created draft #491 in Apollo repository, but not sure how to start Travis build for that PR, can anyone help please? |
@MaxDesiatov I don't think that is Xcode 10.2 final yet, see https://travis-ci.community/t/update-to-xcode-10-2-release/2809/2. As far as I know, that's why #475 is still failing. |
Time to start using CircleCI perhaps? Travis has historically been quite slow in their support of new macOS/Xcode versions. CircleCI as of right now already supports Xcode 10.2! |
@vandadnp Nope, CircleCI is still on beta 3 of Xcode 10.2. I'm waiting on them to get the GM too. |
@commanda you're right. They didn't explicitly state that it's a beta but they did provide the build number of |
I contacted Travis' support and this is their reply:
🤞 |
Yep, but it doesn't help me for transient dependencies. In other words, I have a pod that uses Apollo, but then I have an application that depends on that pod. So that application just uses the podspec to manage the dependency, therefore it pulls the latest version. Everytime I do a pod update, I need to change the code myself. It's also a bit of a pain when attempting to document how to set up the project for the rest of our co-workers :D. Glad that it will be officially released soon. Thanks! |
Is there any way I can be notified on an update for this release? I got Apollo as an dependent in my podspec and it fails when I do pod repo push |
Since the update for travis is out, do we have any news for the new pod version? |
@victormihaita I merged #475, but I wanted to get #466 in before publishing a new release. |
This is great news. Is the release going to be out today? |
This should be fixed in 0.10.0. |
when the release will go out for XCode 10.2 support ? |
@niteshtak I just released it! |
@martijnwalraven I noticed the build time increased significantly after the |
Exactly as I noted with the pre-release #485 (comment) |
@niteshtak @philipengberg I have no idea what could be causing this, so all insight is welcome! |
Me neither, and I don't know if Xcode 10.2 itself has equal fault in it. I've reverted to Xcode 10.1, since I won't have time to troubleshoot in a foreseeable future 😞 |
Thanks for all the hard work you put in it @martijnwalraven and others. Likewise @philipengberg unfortunately I am not in a position to help troubleshoot at the moment. I will also roll back to Xcode 10.1. Keep up the good work though! |
I haved the build time issue too with Xcode 10.2 but It's fixed for me with Xcode 10.2.1, in debug. |
Compiler error:
Repro steps:
pod init
pod Apollo
to the Podfilepod install
Apollo (0.9.5)
I tried setting the Swift language version to 4, 4.2, or 5, and also tried setting the same on the Apollo project, but I still got the compiler error.
Podfile:
The text was updated successfully, but these errors were encountered: