-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fix deployment targets and CocoaPods integration #824
Conversation
…ject's default deployment target settings
@@ -620,14 +620,10 @@ | |||
}; | |||
}; | |||
buildConfigurationList = 1DEB927808733DD40010E9CD /* Build configuration list for PBXProject "fmdb" */; | |||
compatibilityVersion = "Xcode 8.0"; | |||
developmentRegion = English; | |||
compatibilityVersion = "Xcode 12.0"; |
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.
Bumped the compatibility since Apple requires all submissions to be built using Xcode 12 or newer as of April 21, 2021. (ref: https://developer.apple.com/news/?id=ib31uj1j)
@@ -917,7 +918,10 @@ | |||
GCC_WARN_UNUSED_FUNCTION = YES; | |||
GCC_WARN_UNUSED_PARAMETER = YES; | |||
GCC_WARN_UNUSED_VARIABLE = YES; | |||
IPHONEOS_DEPLOYMENT_TARGET = 9.0; |
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.
Lines 921, 922, and 923:
Moved the deployment targets to be defined at the project level so it's easier to discover compilation issues when considering a deployment target bump. IMHO: This also makes it easier to maintain, as the project's targets simply inherit their deployment target from a single version of truth.
Ready for review. cc: @ccgus, @robertmryan |
Thanks for doing this! |
Background
As of today, the latest FMDB release available through the CocoaPods CDN specs repo is version
2.7.5
. The reason why version2.7.7
is not available is because the FMDB podspec fails the CocoaPods [required] lint step (ref: #793). This can impact the visibility and contribution to future FMDB releases in the context of developers who rely solely on public releases provided by the CocoaPods CDN specs repo.Purpose
The purpose of these changes is to sync up the iOS, Mac OS X, and Watch OS platform deployment targets within both the Xcode project file and CocoaPods podspec, so that subsequent FMDB releases (starting with version
2.7.8
) can be made available through the CocoaPods CDN specs repo.Attachments
Related