From 1e5498b8b5bd9d68a460e8836e9ebea657fe2b12 Mon Sep 17 00:00:00 2001 From: Michael Koukoullis Date: Tue, 1 Mar 2016 19:04:01 +1100 Subject: [PATCH] Configure podspec and deployment targets --- PrimaryFlightDisplay.podspec | 16 +++++++++++++++ .../project.pbxproj | 20 +++++++++++-------- Resources/Info.plist | 2 +- {Resources => Sources}/PrimaryFlightDisplay.h | 0 4 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 PrimaryFlightDisplay.podspec rename {Resources => Sources}/PrimaryFlightDisplay.h (100%) diff --git a/PrimaryFlightDisplay.podspec b/PrimaryFlightDisplay.podspec new file mode 100644 index 0000000..9dfb5ea --- /dev/null +++ b/PrimaryFlightDisplay.podspec @@ -0,0 +1,16 @@ +Pod::Spec.new do |spec| + spec.name = "PrimaryFlightDisplay" + spec.version = "0.5.0" + spec.summary = "Primary Flight Display SpriteKit Framework for Mac + iOS." + spec.homepage = "https://github.com/kouky/PrimaryFlightDisplay" + spec.license = { type: 'MIT', file: 'LICENSE' } + spec.authors = { "Michael Koukoullis" => 'mike@kouky.org' } + spec.social_media_url = "http://twitter.com/kouky" + + spec.ios.deployment_target = '9.0' + spec.osx.deployment_target = '10.10' + spec.requires_arc = true + + spec.source = { git: "https://github.com/kouky/PrimaryFlightDisplay.git", tag: "#{spec.version}", submodules: true } + spec.source_files = "Sources/**/*.{h,swift}" +end diff --git a/PrimaryFlightDisplay.xcodeproj/project.pbxproj b/PrimaryFlightDisplay.xcodeproj/project.pbxproj index f730c55..cc4f5c2 100644 --- a/PrimaryFlightDisplay.xcodeproj/project.pbxproj +++ b/PrimaryFlightDisplay.xcodeproj/project.pbxproj @@ -7,8 +7,8 @@ objects = { /* Begin PBXBuildFile section */ - 27B17FE51C844041006EEC9D /* PrimaryFlightDisplay.h in Headers */ = {isa = PBXBuildFile; fileRef = 27B17FE41C844041006EEC9D /* PrimaryFlightDisplay.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 27B17FE61C8441D9006EEC9D /* PrimaryFlightDisplay.h in Headers */ = {isa = PBXBuildFile; fileRef = 27B17FE41C844041006EEC9D /* PrimaryFlightDisplay.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 270D5FD01C858D8700FB478A /* PrimaryFlightDisplay.h in Headers */ = {isa = PBXBuildFile; fileRef = 270D5FCF1C858D8700FB478A /* PrimaryFlightDisplay.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 270D5FD11C858D9C00FB478A /* PrimaryFlightDisplay.h in Headers */ = {isa = PBXBuildFile; fileRef = 270D5FCF1C858D8700FB478A /* PrimaryFlightDisplay.h */; settings = {ATTRIBUTES = (Public, ); }; }; 27B17FE91C8445C9006EEC9D /* Mac-Framework.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 27B17FE81C8445C9006EEC9D /* Mac-Framework.xcconfig */; }; 27B17FEB1C8445DD006EEC9D /* iOS-Framework.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 27B17FEA1C8445DD006EEC9D /* iOS-Framework.xcconfig */; }; 27B17FED1C8445F6006EEC9D /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 27B17FEC1C8445F6006EEC9D /* Debug.xcconfig */; }; @@ -50,10 +50,10 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 270D5FCF1C858D8700FB478A /* PrimaryFlightDisplay.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PrimaryFlightDisplay.h; path = Sources/PrimaryFlightDisplay.h; sourceTree = SOURCE_ROOT; }; 27B17FC41C84309F006EEC9D /* PrimaryFlightDisplay.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PrimaryFlightDisplay.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 27B17FD01C843377006EEC9D /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Resources/Info.plist; sourceTree = SOURCE_ROOT; }; 27B17FD91C843D73006EEC9D /* PrimaryFlightDisplay.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PrimaryFlightDisplay.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 27B17FE41C844041006EEC9D /* PrimaryFlightDisplay.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PrimaryFlightDisplay.h; path = Resources/PrimaryFlightDisplay.h; sourceTree = SOURCE_ROOT; }; 27B17FE81C8445C9006EEC9D /* Mac-Framework.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "Mac-Framework.xcconfig"; path = "Vendor/xcconfigs/Mac OS X/Mac-Framework.xcconfig"; sourceTree = ""; }; 27B17FEA1C8445DD006EEC9D /* iOS-Framework.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "iOS-Framework.xcconfig"; path = "Vendor/xcconfigs/iOS/iOS-Framework.xcconfig"; sourceTree = ""; }; 27B17FEC1C8445F6006EEC9D /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Vendor/xcconfigs/Base/Configurations/Debug.xcconfig; sourceTree = ""; }; @@ -117,7 +117,7 @@ 27B17FC61C84309F006EEC9D /* Resources */ = { isa = PBXGroup; children = ( - 27B17FE41C844041006EEC9D /* PrimaryFlightDisplay.h */, + 270D5FCF1C858D8700FB478A /* PrimaryFlightDisplay.h */, 27B17FD01C843377006EEC9D /* Info.plist */, ); name = Resources; @@ -174,7 +174,7 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 27B17FE51C844041006EEC9D /* PrimaryFlightDisplay.h in Headers */, + 270D5FD01C858D8700FB478A /* PrimaryFlightDisplay.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -182,7 +182,7 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 27B17FE61C8441D9006EEC9D /* PrimaryFlightDisplay.h in Headers */, + 270D5FD11C858D9C00FB478A /* PrimaryFlightDisplay.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -372,6 +372,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.2; + MACOSX_DEPLOYMENT_TARGET = 10.11; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -415,6 +416,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.2; + MACOSX_DEPLOYMENT_TARGET = 10.11; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; @@ -436,6 +438,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.kouky.PrimaryFlightDisplay-iOS"; PRODUCT_NAME = "$(PROJECT_NAME)"; @@ -456,6 +459,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.kouky.PrimaryFlightDisplay-iOS"; PRODUCT_NAME = "$(PROJECT_NAME)"; @@ -477,7 +481,7 @@ INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.10; PRODUCT_BUNDLE_IDENTIFIER = "org.kouky.PrimaryFlightDisplay-Mac"; PRODUCT_NAME = "$(PROJECT_NAME)"; SDKROOT = macosx; @@ -499,7 +503,7 @@ INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.10; PRODUCT_BUNDLE_IDENTIFIER = "org.kouky.PrimaryFlightDisplay-Mac"; PRODUCT_NAME = "$(PROJECT_NAME)"; SDKROOT = macosx; diff --git a/Resources/Info.plist b/Resources/Info.plist index 2060e9b..d024768 100644 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0 + 0.5.0 CFBundleSignature ???? CFBundleVersion diff --git a/Resources/PrimaryFlightDisplay.h b/Sources/PrimaryFlightDisplay.h similarity index 100% rename from Resources/PrimaryFlightDisplay.h rename to Sources/PrimaryFlightDisplay.h