-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update Podspec #866
Update Podspec #866
Conversation
@@ -14,8 +14,6 @@ Pod::Spec.new do |spec| | |||
spec.ios.weak_frameworks = 'AssetsLibrary' | |||
spec.weak_frameworks = 'Photos','MapKit' | |||
|
|||
spec.requires_arc = true | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been the default since 2014.
@@ -41,7 +39,6 @@ Pod::Spec.new do |spec| | |||
# See https://github.com/facebook/AsyncDisplayKit/issues/1153 | |||
'Source/TextKit/*.h', | |||
] | |||
core.xcconfig = { 'GCC_PRECOMPILE_PREFIX_HEADER' => 'YES' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We no longer use a prefix header.
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++11', | ||
'CLANG_CXX_LIBRARY' => 'libc++' | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(See PR description). These options have been here since the initial OSS release and aren't adding value anymore. The default clang C++ options under Xcode 9 (and probably Xcode 8) are sufficient.
* Update the podspec * Put that back * Put back the C++ standard library
See inline comments.
The motivating factor for this diff is that the explicit specification of C++ options forced Pinterest's build system (based on Bazel) to build all Texture files using a C++ compiler. The recent file
ASRecursiveUnfairLock.m
cannot be built with a C++ compiler and so that broke the build. Other clients are also using this "all-C++" workaround as well.The default C++ options (currently GNU++14) will probably be fine indefinitely. We can always reintroduce these flags if we decide to lean on, say, c++17 options but for now let's toss them overboard.