Skip to content
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

Merged
merged 6 commits into from Jun 14, 2021
Merged

Fix deployment targets and CocoaPods integration #824

merged 6 commits into from Jun 14, 2021

Conversation

tstump-phunware
Copy link
Contributor

Background
As of today, the latest FMDB release available through the CocoaPods CDN specs repo is version 2.7.5. The reason why version 2.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

@@ -620,14 +620,10 @@
};
};
buildConfigurationList = 1DEB927808733DD40010E9CD /* Build configuration list for PBXProject "fmdb" */;
compatibilityVersion = "Xcode 8.0";
developmentRegion = English;
compatibilityVersion = "Xcode 12.0";
Copy link
Contributor Author

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;
Copy link
Contributor Author

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.

@tstump-phunware
Copy link
Contributor Author

Ready for review.

cc: @ccgus, @robertmryan

@ccgus ccgus merged commit d31d362 into ccgus:master Jun 14, 2021
@ccgus
Copy link
Owner

ccgus commented Jun 14, 2021

Thanks for doing this!

@tstump-phunware tstump-phunware mentioned this pull request Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants