From 4632c3a177f46f05eea2b00f57e98a27ca6f607a Mon Sep 17 00:00:00 2001 From: Pierre Date: Mon, 17 Apr 2017 20:24:05 +0200 Subject: [PATCH] Storyboard integration fix --- .swift-version | 1 + PPLeftMenuNavigation.podspec | 5 +++-- .../PPLeftMenuNavigation.xcodeproj/project.pbxproj | 4 ++-- PPLeftMenuNavigation/PPLeftMenuNavigation/Info.plist | 2 +- PPLeftMenuNavigation/PPLeftMenuNavigation/PPConstant.swift | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 .swift-version diff --git a/.swift-version b/.swift-version new file mode 100644 index 0000000..8c50098 --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +3.1 diff --git a/PPLeftMenuNavigation.podspec b/PPLeftMenuNavigation.podspec index 72a5cc3..6bf2722 100644 --- a/PPLeftMenuNavigation.podspec +++ b/PPLeftMenuNavigation.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PPLeftMenuNavigation' -s.version = '1.0.1' +s.version = '1.0.2' s.summary = 'Design left menu navigation with a blur animation.' s.description = <<-DESC @@ -14,6 +14,7 @@ s.author = { '' => '' } s.source = { :git => 'https://github.com/PierrePerrin/PPDesignLeftMenuNavigation.git', :tag => s.version.to_s } s.ios.deployment_target = '8.2' -s.source_files = 'PPLeftMenuNavigation/PPLeftMenuNavigation/*.{swift,jpg,storyboard}' +s.source_files = 'PPLeftMenuNavigation/PPLeftMenuNavigation/*.{swift}' +s.resources = 'PPLeftMenuNavigation/PPLeftMenuNavigation/*.{jpg,storyboard}' end diff --git a/PPLeftMenuNavigation/PPLeftMenuNavigation.xcodeproj/project.pbxproj b/PPLeftMenuNavigation/PPLeftMenuNavigation.xcodeproj/project.pbxproj index 0eb7cbd..f6f7c4a 100644 --- a/PPLeftMenuNavigation/PPLeftMenuNavigation.xcodeproj/project.pbxproj +++ b/PPLeftMenuNavigation/PPLeftMenuNavigation.xcodeproj/project.pbxproj @@ -281,7 +281,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = PP.PPLeftMenuNavigation; + PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.PPLeftMenuNavigation; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -303,7 +303,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = PP.PPLeftMenuNavigation; + PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.PPLeftMenuNavigation; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; SWIFT_VERSION = 3.0; diff --git a/PPLeftMenuNavigation/PPLeftMenuNavigation/Info.plist b/PPLeftMenuNavigation/PPLeftMenuNavigation/Info.plist index fbe1e6b..c3bbb00 100644 --- a/PPLeftMenuNavigation/PPLeftMenuNavigation/Info.plist +++ b/PPLeftMenuNavigation/PPLeftMenuNavigation/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0 + 1.0.3 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/PPLeftMenuNavigation/PPLeftMenuNavigation/PPConstant.swift b/PPLeftMenuNavigation/PPLeftMenuNavigation/PPConstant.swift index 05bc2f7..a52c823 100644 --- a/PPLeftMenuNavigation/PPLeftMenuNavigation/PPConstant.swift +++ b/PPLeftMenuNavigation/PPLeftMenuNavigation/PPConstant.swift @@ -9,5 +9,5 @@ import UIKit -let PPBundle = Bundle(identifier: "PP.PPLeftMenuNavigation") +let PPBundle = Bundle(identifier: "org.cocoapods.PPLeftMenuNavigation") let PPStr = UIStoryboard(name: "PPMain", bundle: PPBundle)