-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Xcode 10 GM: Use of unresolved identifier 'CGRectType' #1737
Comments
This patch to KVORepresentable+CoreGraphics.swift removes the compilation errors: -#if arch(x86_64) || arch(arm64)
+#if arch(x86_64) || arch(arm64) || arch(arm64_32) Note: I don't understand anything to this issue, and I don't know if this is the correct fix. I just have a few apps to ship 😅 |
The more I look at it, the more I think it is related to the release of Apple Watch Series 4. |
Is this on the latest |
I can confirm this error against the latest
|
I see the same issue (RxCocoa 4.2.0, Xcode GM on High Sierra, Carthage) on the watchOS target. |
ah, bummer, I do need watchOS support, hopefully this can be fixed soon! |
Definitely watchOS 5 related. See similar WebKit issue: https://bugs.webkit.org/attachment.cgi?id=328501&action=diff |
Ok, dug a bit deeper into this, gonna make a PR. |
PR is up! |
PR makes sense to me, thanks @freak4pc. I think it's not a regression but the addition of a new watch CPU in the Series 4 device announced yesterday. |
Yup, indeed. Called it a regression since it only came up in GM (and not beta 6). |
Any chance the PR will be merged and a new release will be made with the fix? We're under the gun to ship an iOS 12 build as soon after iOS 12 goes public. I understand this late-breaking change from Apple throws a wrench into plans, but anything that can be done here to make this happen ASAP will be greatly appreciated! |
I’m hoping kruno will get to gather a release and merge that PR over the next few days |
Same here. Please, merge this PR :) |
Short description of the issue:
RxCocoa won't compile with Xcode GM 10 when building for Generic iOS Device, or for an actual device, with three errors:
Expected outcome:
Successful compilation
What actually happens:
Compilation error. Looking at the build log, I see:
Notice the
arm64_32
andarch64-use-tbi
architectures.I guess that this is why this snippet of KVORepresentable+CoreGraphics.swift does not define the CGRectType, CGPointType, and CGSizeType constants:
RxSwift/RxCocoa/RxBlocking/RxTest version/commit
RxCocoa (4.2.0) installed with CocoaPods
Platform/Environment
How easy is to reproduce? (chances of successful reproduce after running the self contained code)
I don't know if this is reproducible, considering I'm opening this issue hours after the release of Xcode 10 GM.
Xcode version:
Installation method:
I have multiple versions of Xcode installed:
(so we can know if this is a potential cause of your issue)
The text was updated successfully, but these errors were encountered: