Skip to content

Commit

Permalink
push .podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre jonny cau committed Sep 22, 2017
1 parent 142bb9f commit 4e1dcb4
Show file tree
Hide file tree
Showing 6 changed files with 160 additions and 5 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0
24 changes: 20 additions & 4 deletions ABNSDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
5FE405D41F752DF2005DCEAE /* SecondViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0A801A21C98878600135DDA /* SecondViewController.swift */; };
5FE405D61F752DFD005DCEAE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B0A801C81C98906300135DDA /* Main.storyboard */; };
5FE405D71F752E04005DCEAE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B0A801CB1C98906D00135DDA /* LaunchScreen.storyboard */; };
5FE405DB1F753A00005DCEAE /* ABNScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5FE405DA1F752E51005DCEAE /* ABNScheduler.swift */; };
5FE405DC1F753A00005DCEAE /* ABNScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5FE405DA1F752E51005DCEAE /* ABNScheduler.swift */; };
B0A8019F1C98878600135DDA /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0A8019E1C98878600135DDA /* AppDelegate.swift */; };
B0A801A11C98878600135DDA /* FirstViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0A801A01C98878600135DDA /* FirstViewController.swift */; };
B0A801A31C98878600135DDA /* SecondViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0A801A21C98878600135DDA /* SecondViewController.swift */; };
Expand Down Expand Up @@ -65,18 +67,18 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
5FE405D81F752E3D005DCEAE /* ABNScheduler */ = {
5FE405D81F752E3D005DCEAE /* PJScheduler */ = {
isa = PBXGroup;
children = (
5FE405DA1F752E51005DCEAE /* ABNScheduler.swift */,
);
path = ABNScheduler;
path = PJScheduler;
sourceTree = "<group>";
};
B0A801921C98878600135DDA = {
isa = PBXGroup;
children = (
5FE405D81F752E3D005DCEAE /* ABNScheduler */,
5FE405D81F752E3D005DCEAE /* PJScheduler */,
B0A8019D1C98878600135DDA /* ABNSDemo */,
B0A801B41C98878600135DDA /* ABNSDemoTests */,
B0A8019C1C98878600135DDA /* Products */,
Expand Down Expand Up @@ -161,7 +163,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0820;
LastUpgradeCheck = 0900;
ORGANIZATIONNAME = "Ahmed Abdul Badie";
TargetAttributes = {
B0A8019A1C98878600135DDA = {
Expand Down Expand Up @@ -224,6 +226,7 @@
buildActionMask = 2147483647;
files = (
B0A801A31C98878600135DDA /* SecondViewController.swift in Sources */,
5FE405DB1F753A00005DCEAE /* ABNScheduler.swift in Sources */,
B0A8019F1C98878600135DDA /* AppDelegate.swift in Sources */,
B0A801A11C98878600135DDA /* FirstViewController.swift in Sources */,
);
Expand All @@ -234,6 +237,7 @@
buildActionMask = 2147483647;
files = (
5FE405D41F752DF2005DCEAE /* SecondViewController.swift in Sources */,
5FE405DC1F753A00005DCEAE /* ABNScheduler.swift in Sources */,
5FE405D31F752DF2005DCEAE /* FirstViewController.swift in Sources */,
B0A801B61C98878600135DDA /* ABNSDemoTests.swift in Sources */,
B0A801C31C98881F00135DDA /* ABNSchedulerTests.swift in Sources */,
Expand Down Expand Up @@ -278,14 +282,20 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand Down Expand Up @@ -324,14 +334,20 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
LastUpgradeVersion = "0900"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
138 changes: 138 additions & 0 deletions PJScheduler.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
#
# Be sure to run `pod spec lint ABNScheduler.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |s|

# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# These will help people to find your library, and whilst it
# can feel like a chore to fill in it's definitely to your advantage. The
# summary should be tweet-length, and the description more in depth.
#

s.name = "PJScheduler"
s.version = "0.0.1"
s.summary = "Local notifications scheduler in Swift compatible with over iOS10"

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
With this CocoaPod we can scheduler Local Notification with Swift compatible with over iOS10"
DESC

s.homepage = "https://github.com/pjcau/ABNScheduler"
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"


# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# Licensing your code is important. See http://choosealicense.com for more info.
# CocoaPods will detect a license file if there is a named LICENSE*
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
#

s.license = "MIT"
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }


# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# Specify the authors of the library, with email addresses. Email addresses
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
# accepts just a name if you'd rather not provide an email address.
#
# Specify a social_media_url where others can refer to, for example a twitter
# profile URL.
#

s.author = { "Pierre jonny cau" => "[email protected]" }
# Or just: s.author = "Pierre jonny cau"
# s.authors = { "Pierre jonny cau" => "[email protected]" }
s.social_media_url = "http://twitter.com/pjcau"

# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# If this Pod runs only on iOS or OS X, then specify the platform and
# the deployment target. You can optionally include the target after the platform.
#

s.platform = :ios
s.platform = :ios, "9.0"

# When using multiple platforms
# s.ios.deployment_target = "5.0"
# s.osx.deployment_target = "10.7"
# s.watchos.deployment_target = "2.0"
# s.tvos.deployment_target = "9.0"


# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# Specify the location from where the source should be retrieved.
# Supports git, hg, bzr, svn and HTTP.
#

s.source = { :git => "https://github.com/pjcau/ABNScheduler.git", :tag => "#{s.version}" }


# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# CocoaPods is smart about how it includes source code. For source files
# giving a folder will include any swift, h, m, mm, c & cpp files.
# For header files it will include any header in the folder.
# Not including the public_header_files will make all headers public.
#

s.source_files = "PJScheduler/**/*.swift"
#s.exclude_files = "Classes/Exclude"

# s.public_header_files = "Classes/**/*.h"


# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# A list of resources included with the Pod. These are copied into the
# target bundle with a build phase script. Anything else will be cleaned.
# You can preserve files from being cleaned, please don't preserve
# non-essential files like tests, examples and documentation.
#

# s.resource = "icon.png"
# s.resources = "Resources/*.png"

# s.preserve_paths = "FilesToSave", "MoreFilesToSave"


# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# Link your library with frameworks, or libraries. Libraries do not include
# the lib prefix of their name.
#

# s.framework = "SomeFramework"
# s.frameworks = "SomeFramework", "AnotherFramework"

# s.library = "iconv"
# s.libraries = "iconv", "xml2"


# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# If your library depends on compiler flags you can set them in the xcconfig hash
# where they will only apply to your library. If you depend on other Podspecs
# you can include multiple dependencies to ensure it works.

s.requires_arc = true

# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
# s.dependency "JSONKit", "~> 1.4"

end
File renamed without changes.

0 comments on commit 4e1dcb4

Please sign in to comment.