Skip to content

Commit

Permalink
Merge pull request #1 from kouky/setup-podspec
Browse files Browse the repository at this point in the history
Configure podspec and deployment targets
  • Loading branch information
kouky committed Mar 1, 2016
2 parents fbbd13c + 1e5498b commit b0870d3
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 9 deletions.
16 changes: 16 additions & 0 deletions PrimaryFlightDisplay.podspec
Original file line number Diff line number Diff line change
@@ -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
20 changes: 12 additions & 8 deletions PrimaryFlightDisplay.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */; };
Expand Down Expand Up @@ -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 = "<group>"; };
27B17FEA1C8445DD006EEC9D /* iOS-Framework.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "iOS-Framework.xcconfig"; path = "Vendor/xcconfigs/iOS/iOS-Framework.xcconfig"; sourceTree = "<group>"; };
27B17FEC1C8445F6006EEC9D /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Vendor/xcconfigs/Base/Configurations/Debug.xcconfig; sourceTree = "<group>"; };
Expand Down Expand Up @@ -117,7 +117,7 @@
27B17FC61C84309F006EEC9D /* Resources */ = {
isa = PBXGroup;
children = (
27B17FE41C844041006EEC9D /* PrimaryFlightDisplay.h */,
270D5FCF1C858D8700FB478A /* PrimaryFlightDisplay.h */,
27B17FD01C843377006EEC9D /* Info.plist */,
);
name = Resources;
Expand Down Expand Up @@ -174,15 +174,15 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
27B17FE51C844041006EEC9D /* PrimaryFlightDisplay.h in Headers */,
270D5FD01C858D8700FB478A /* PrimaryFlightDisplay.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
27B17FD61C843D73006EEC9D /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
27B17FE61C8441D9006EEC9D /* PrimaryFlightDisplay.h in Headers */,
270D5FD11C858D9C00FB478A /* PrimaryFlightDisplay.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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";
Expand All @@ -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)";
Expand All @@ -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)";
Expand All @@ -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;
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>0.5.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
File renamed without changes.

0 comments on commit b0870d3

Please sign in to comment.