-
Notifications
You must be signed in to change notification settings - Fork 454
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
CLANG_ENABLE_OBJC_WEAK = YES fails all the builds for apps using __weak #544
Comments
Xcode 9.3 defaults |
what deployment target does your target have? |
Looks like the mapping for deployment targets is: case FragileMacOSX: return getVersion() >= VersionTuple(10, 7);
case MacOSX: return getVersion() >= VersionTuple(10, 7);
case iOS: return getVersion() >= VersionTuple(5);
case WatchOS: return true; |
Can you see if #546 fixes things for you? Thanks! |
@segiddins I'm also facing this issue on deployment target = 9.0. I didn't try lower or higher target versions. Maybe the issue is more related if MRC or ARC is used in specific pod library as opposed to making it a global setting? |
#546 helps. Could it be released, please? |
The error appeared in some compiled pods.
This affected several apps with deployment target 8.2, 9.0 and 10.3. |
Can you share a project I can use to reproduce the issue (if indeed #546 does not fix it)? |
@segiddins, #546 fixed this issue. Build succeed with this fix. Could it be released, please? |
Released |
@segiddins, thank you for a quick fix! Out team was able to quickly get back to the latest version of xcodeproj. Everything goes smoothly so far 👍 |
I had the same problem. But, finally, I solved the problem. The version of xcodeproj was searched for 1.5.5 and upgraded to 1.5.6, which solved the problem. sudo gem install xcodeproj |
Version 1.5.5 fails builds with:
clang: error: -fobjc-weak is not supported on the current deployment target
CLANG_ENABLE_OBJC_WEAK = YES added -fobjc-weak compilation option, what was disabled in project settings.
Regression of f356891
The text was updated successfully, but these errors were encountered: