-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Invalid Redeclaration Error with Swift 4.x & Xcode 10 Beta #975
Comments
Changing Swift version to 3 does not make it compile either; neither does changing back to legacy build system. It fails in all conditions. |
Any Plan to resolve this issue or I have to move back to Xcode 9.4 |
I have created a PR at #978 to hopefully fix this issue. I noticed, after creating it, that another PR exists which has failed tests. Hopefully this produces the right results! |
Try commenting out duplicate declarations and compile. It worked for me. And in implementation, use only one type of method call. It is a temporary solution. We need to wait anyways, till we get a fix. |
Hi @harisworld21 |
@alecdoconnor Need a solution that should work on both xcode 9 and 10 |
I tried my best to support both Xcode 9 and 10 beta in pull request #980 . Invalid redeclarations removed from swift 4.2 and above. This means that the warnings in Xcode 9.3 and 9.4 will remain. (invalid redeclarations when removed in swift 4.1 causes some tests to fail) I even added support for Xcode 9.2 (compactMap) Hope this helps. |
Is there any timeline to be getting a fix in for this? I would like to be moving forward using Xcode 10 to prep for iOS 12, however, this is making it so I cannot even compile our main app. Thanks in advance! |
Hi Josh! Feel free to contribute to the PRs to help us get closer to a working build. I believe there were two (the last time that I checked) that technically work, so you would be able to check the branch out directly into your project. |
@alecdoconnor Are you planning any timeline for this. |
No, because I am not the maintainor of this repository.
…On Mon, Jun 11, 2018 at 12:45 AM anilabsinc-ajay ***@***.***> wrote:
@alecdoconnor <https://github.com/alecdoconnor> Are you planning any
timeline for this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#975 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATgs3vJkE-gUXCZE-0E1SzGYnK-wm2_iks5t7fXpgaJpZM4UaMRr>
.
|
Aren't these warnings simply because one implementation of the function is marked for specific versions of Swift and the other is not? i.e. just add the following to the other implementation and the warning goes away:
|
@tristanhimmelman Any Plans to update This awesome mapping library for iOS |
@anilabsinc-ajay this issue has already been fixed in version 3.3.0. Just download the latest version. |
I'm using 3.3.0 and I'm getting these warnings. |
@staz1000 I am not getting any error in an Xcode 10 project with version 3.3.0. |
Update to 3.3.0 is OK!!!!! |
Any way, The document maybe need to update~ It still suggest us to use ver 3.2.0~ |
The README has been updated with v3.3.0.
On Jun 21, 2018, at 10:02 PM, wudijimao <notifications@github.com<mailto:notifications@github.com>> wrote:
Any way, The document maybe need to update~ It still suggest us to use ver 3.2.0~
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Hearst-2DDD_ObjectMapper_issues_975-23issuecomment-2D399297666&d=DwMCaQ&c=B73tqXN8Ec0ocRmZHMCntw&r=2QkXbmnfaONluJXStOFnv2m1bDnFjF5WXmFaGGMpAp4&m=tit9gLn9wm-l_6p1SBLqriI-JkZCP5Or26U15P8fyJE&s=PRkdu08HEV_WbmwySQGSGqUQ3T572b1Wz-DpFrQO78Q&e=>, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABfWFlESOcQGwXtQwdExTdzi-2DfoJNz-2DUks5t-5FFAfgaJpZM4UaMRr&d=DwMCaQ&c=B73tqXN8Ec0ocRmZHMCntw&r=2QkXbmnfaONluJXStOFnv2m1bDnFjF5WXmFaGGMpAp4&m=tit9gLn9wm-l_6p1SBLqriI-JkZCP5Or26U15P8fyJE&s=vz13dbf_bIE0EF0DkQussNU1NB046UemDSS_WBkgVdE&e=>.
|
you can update your Profile. |
Hi Team,
That's called a great start with Xcode 10 beta. Now there is no warning for Invalid Redeclaration, instead, it shows Error...
The text was updated successfully, but these errors were encountered: