Comments (7)
Just in case, I was able to mitigate it by enforcing Swift optimization (-Osize) for RxCoreData target. If you use CocoaPods, you can get it by appending the following to your Podfile:
post_install do |installer|
# Enforce optimization for Xcode 10 beta.
installer.pods_project.targets.each do |target|
if target.name =~ /^RxCoreData$/
puts("Enforcing Swift optimization for RxCoreData/Xcode 10 beta")
target.build_configurations.each do |configuration|
configuration.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Osize'
end
end
end
end
from rxcoredata.
I think we should wait for a GM
before updating anything. It's still a beta version.
from rxcoredata.
@bobgodwinx Just in case, "-Osize" was just quick hack - I just noticed that the crash doesn't happen in Release builds and hence I tried to enable optimization. Probably it doesn't crash with other optimization options. Anyway, I completely agree that this is just a workaround and we should wait for GM. More or less it looks like a bug in (beta of) Swift compiler that hopefully would be fixed in the upcoming betas (beta 2 still crashes).
from rxcoredata.
Confirm that @griforye method works for me. Thanks so much :)). Now I can use Xcode 10 with dark theme.
Can you explain more why it work :D
from rxcoredata.
@grigorye @hoangtuanfithou Let's see what happens later with the code size optimization option. It's pretty new and was introduced in here in Swift 4.1. If necessary we could activate it in the next version.
from rxcoredata.
I'm not completely sure about that, but it looks like it was fixed in Xcode 10 beta 3.
from rxcoredata.
confirm that Xcode 10 beta 3 fixed it.
Thanks for your help, guys ! @grigorye @bobgodwinx
from rxcoredata.
Related Issues (20)
- Relationship vs RxCoreData HOT 9
- AnonymousDisposable: unresolved indentifier HOT 2
- The demo content is few
- create + get private to public
- Create swift4.0 branch HOT 1
- Pod trunk HOT 9
- Stewardship HOT 3
- Podspec doesn't support the Mac. HOT 1
- rx.entities.asSingle() won't have a response to subscribe HOT 1
- Does keeping a reference to Observer cause a retain-cycle? HOT 2
- Needs documentation HOT 1
- Extract Persistable
- Use of NSFetchResultController? HOT 2
- Crash on iOS 12 + HOT 1
- Lower deployment target HOT 7
- SPM Support HOT 1
- RxSwift 6.0 support HOT 2
- Proposal for FetchedResultsControllerEntityObserver and FetchedResultsControllerSectionObserver HOT 4
- Swift 3 support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxcoredata.