From 870afc56602fd518e33d0b271371a2d5acd410ea Mon Sep 17 00:00:00 2001
From: Mathias Claassen <mathias@xmartlabs.com>
Date: Wed, 24 Mar 2021 10:27:47 -0300
Subject: [PATCH] Version bump 4.3.0 (#1080)

---
 CHANGELOG.md                     | 3 +++
 README.md                        | 2 +-
 XLForm.podspec                   | 2 +-
 XLForm.xcodeproj/project.pbxproj | 4 ++++
 XLForm/Info.plist                | 2 +-
 5 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3b5a4230..fcbe31f2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,9 @@
 # Change Log
 All notable changes to this project will be documented in this file.
 
+### Version 4.3.0:
+* Add datePicker style property to XLFormDateCell (#1078)
+
 ### Version 4.2.0:
 * Support for Swift Package Manager (#1073)
 * Fix Carthage build (#1075)
diff --git a/README.md b/README.md
index b362776a..22272ec1 100644
--- a/README.md
+++ b/README.md
@@ -1150,7 +1150,7 @@ import XLForm       // Swift
 ## CocoaPods
 
 1. Add the following line in the project's Podfile file:
-`pod 'XLForm', '~> 4.2'`.
+`pod 'XLForm', '~> 4.3'`.
 2. Run the command `pod install` from the Podfile folder directory.
 
 XLForm **has no** dependencies over other pods.
diff --git a/XLForm.podspec b/XLForm.podspec
index 714fff4f..a8d022d9 100644
--- a/XLForm.podspec
+++ b/XLForm.podspec
@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name     = 'XLForm'
-  s.version  = '4.2.0'
+  s.version  = '4.3.0'
   s.license  = { :type => 'MIT' }
   s.summary  = 'XLForm is the most flexible and powerful iOS library to create dynamic table-view forms.'
   s.description = <<-DESC
diff --git a/XLForm.xcodeproj/project.pbxproj b/XLForm.xcodeproj/project.pbxproj
index 8cd044de..51f4e2f7 100644
--- a/XLForm.xcodeproj/project.pbxproj
+++ b/XLForm.xcodeproj/project.pbxproj
@@ -609,6 +609,7 @@
 			buildSettings = {
 				CLANG_ENABLE_MODULES = YES;
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
 				DEFINES_MODULE = YES;
 				DYLIB_COMPATIBILITY_VERSION = 1;
 				DYLIB_CURRENT_VERSION = 1;
@@ -616,6 +617,7 @@
 				INFOPLIST_FILE = XLForm/Info.plist;
 				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MARKETING_VERSION = 4.3.0;
 				PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.XLForm;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SKIP_INSTALL = YES;
@@ -629,6 +631,7 @@
 			buildSettings = {
 				CLANG_ENABLE_MODULES = YES;
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
 				DEFINES_MODULE = YES;
 				DYLIB_COMPATIBILITY_VERSION = 1;
 				DYLIB_CURRENT_VERSION = 1;
@@ -636,6 +639,7 @@
 				INFOPLIST_FILE = XLForm/Info.plist;
 				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MARKETING_VERSION = 4.3.0;
 				PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.XLForm;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SKIP_INSTALL = YES;
diff --git a/XLForm/Info.plist b/XLForm/Info.plist
index d3de8eef..ca23c84f 100644
--- a/XLForm/Info.plist
+++ b/XLForm/Info.plist
@@ -15,7 +15,7 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
+	<string>$(MARKETING_VERSION)</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>