-
Notifications
You must be signed in to change notification settings - Fork 154
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
DBL_MAX not found after clearing DerivedData #34
base: master
Are you sure you want to change the base?
Conversation
Hmm, thats quite strange. |
CLLocationDistance is a double, so its not exactly ideal to be using FLT_MAX. Out of interest, why are you clearing out your derived data before each build? |
We clear it out because we were having issue where the builds weren't being cleaned properly so we remove the DerivedData to ensure that there is no issues. Also, I don't see DBL_MAX defined in the same file. I wonder if that is the issue. |
I'm having the same issue with our build machine. Are there any workarounds for this? It looks like it's an Xcode issue. |
@aarontait we are currently still using my fork of RHAddressBook. That seems to work for our build system. Let me know if that works for you. |
Thanks. Using FLT_MAX works for now, I don't use the location stuff anyway. However I'm using CocoaPods so hopefully apple fixes this soon. |
I also use cocoapods so I just forked the project and in my podfile just put pod 'RHAddressBook', :podspec => 'https://gist.github.com/mrbaker4/7815819/raw/75c4d1f68d161cc3fa1467810a6ef56f46814248/RHAddressBook-Fix'' |
Same issue. Very strange. Edit: And literally right after I posted this, it built. Super strange - not sure what changed (if anything). |
We are running our builds on a build machine that clears out the DerivedData before every build, and it keeps crashing that it can't find DBL_MAX. If I include float.h and not switch DBL_MAX then the build still fails. It works just fine when using FLT_MAX.