Skip to content

Commit

Permalink
Merge pull request #39 from vsanthanam/version-1.3.2
Browse files Browse the repository at this point in the history
added documentation generation script + new proj structure + bumped version #
  • Loading branch information
vsanthanam authored Jun 14, 2018
2 parents 5faf1bf + d9a9b31 commit 6dbf07a
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 18 deletions.
Binary file modified Documentation/docsets/VSAlert.tgz
Binary file not shown.
Binary file modified Release/VSAlert.framework/Versions/A/VSAlert
Binary file not shown.
6 changes: 3 additions & 3 deletions VSAlert.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

Pod::Spec.new do |s|
s.name = 'VSAlert'
s.version = '1.3.1'
s.version = '1.3.2'
s.summary = "An drop-in replacement for UIAlertController with more power and better looks."
s.description = "An drop-in replacement for UIAlertController that looks a hell of a lot better, built in Objective-C. Based on Codedio's aweomse Swift library, PMAlertController."
s.homepage = 'https://github.com/vsanthanam/VSAlert'
s.license = { :type => 'Copyright', :text => 'MIT' }
s.author = { 'Varun Santhanam' => 'talkto@vsanthanam.com' }
s.source = { :git => 'https://github.com/vsanthanam/VSAlert.git', :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.source_files = 'VSAlert/Src/*.{h,m}'
s.public_header_files = 'VSAlert/Src/*.h'
s.source_files = 'VSAlert/*.{h,m}'
s.public_header_files = 'VSAlert/*.h'
s.module_map = 'VSAlert/Supporting/module.modulemap'
end
81 changes: 66 additions & 15 deletions VSAlert.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@
name = Framework;
productName = Framework;
};
07FBE3F220D31BD500BE857B /* Documentation */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 07FBE3F320D31BD500BE857B /* Build configuration list for PBXAggregateTarget "Documentation" */;
buildPhases = (
07FBE3F620D31BD900BE857B /* Build Documentation w/ Jazzy */,
);
dependencies = (
);
name = Documentation;
productName = Documentation;
};
/* End PBXAggregateTarget section */

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -141,18 +152,6 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
0710F9C01F8B1DF800C6D084 /* Src */ = {
isa = PBXGroup;
children = (
0710F9C11F8B1E0F00C6D084 /* VSAlert.h */,
0710F9C41F8B1E1000C6D084 /* VSAlertAction.h */,
0710F9C21F8B1E1000C6D084 /* VSAlertAction.m */,
0710F9C31F8B1E1000C6D084 /* VSAlertController.h */,
0710F9C51F8B1E1000C6D084 /* VSAlertController.m */,
);
path = Src;
sourceTree = "<group>";
};
0710F9CC1F8B1E5B00C6D084 /* Supporting */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -208,8 +207,12 @@
07F00EFA1F8A96FB006FAC96 /* VSAlert */ = {
isa = PBXGroup;
children = (
0710F9C11F8B1E0F00C6D084 /* VSAlert.h */,
0710F9C41F8B1E1000C6D084 /* VSAlertAction.h */,
0710F9C21F8B1E1000C6D084 /* VSAlertAction.m */,
0710F9C31F8B1E1000C6D084 /* VSAlertController.h */,
0710F9C51F8B1E1000C6D084 /* VSAlertController.m */,
0710F9CC1F8B1E5B00C6D084 /* Supporting */,
0710F9C01F8B1DF800C6D084 /* Src */,
);
path = VSAlert;
sourceTree = "<group>";
Expand Down Expand Up @@ -372,6 +375,10 @@
CreatedOnToolsVersion = 9.0;
ProvisioningStyle = Automatic;
};
07FBE3F220D31BD500BE857B = {
CreatedOnToolsVersion = 9.4.1;
ProvisioningStyle = Automatic;
};
07FF9DEF1F8FEE85002966A3 = {
CreatedOnToolsVersion = 9.0;
ProvisioningStyle = Automatic;
Expand All @@ -392,9 +399,10 @@
projectRoot = "";
targets = (
07F00EFE1F8A972D006FAC96 /* VSAlert */,
0710F9B61F8B1CB800C6D084 /* Framework */,
07FF9DEF1F8FEE85002966A3 /* VSAlert-Example */,
078C2778207D246800DF9D0C /* VSAlertTests */,
07FF9DEF1F8FEE85002966A3 /* VSAlert-Example */,
0710F9B61F8B1CB800C6D084 /* Framework */,
07FBE3F220D31BD500BE857B /* Documentation */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -449,6 +457,20 @@
shellPath = /bin/sh;
shellScript = "set -e\n# If we're already inside this script then die\nif [ -n \"$MULTIPLATFORM_BUILD_IN_PROGRESS\" ]; then\nexit 0\nfi\nexport MULTIPLATFORM_BUILD_IN_PROGRESS=1\nFRAMEWORK_NAME=\"VSAlert\"\nINPUT_STATIC_LIB=\"lib${FRAMEWORK_NAME}.a\"\nFRAMEWORK_LOCATION=\"${BUILT_PRODUCTS_DIR}/${FRAMEWORK_NAME}.framework\"\nfunction build_static_library {\n # Will rebuild the static library as specified\n # build_static_library sdk\n xcrun xcodebuild -project \"${PROJECT_FILE_PATH}\" \\\n -target \"${TARGET_NAME}\" \\\n -configuration \"${CONFIGURATION}\" \\\n -sdk \"${1}\" \\\n ONLY_ACTIVE_ARCH=NO \\\n BUILD_DIR=\"${BUILD_DIR}\" \\\n OBJROOT=\"${OBJROOT}\" \\\n BUILD_ROOT=\"${BUILD_ROOT}\" \\\n SYMROOT=\"${SYMROOT}\" $ACTION\n}\nfunction make_fat_library {\n # Will smash 2 static libs together\n # make_fat_library in1 in2 out\n xcrun lipo -create \"${1}\" \"${2}\" -output \"${3}\"\n}\n# 1 - Extract the platform (iphoneos/iphonesimulator) from the SDK name\nif [[ \"$SDK_NAME\" =~ ([A-Za-z]+) ]]; then\nSDK_PLATFORM=${BASH_REMATCH[1]}\nelse\necho \"Could not find platform name from SDK_NAME: $SDK_NAME\"\nexit 1\nfi\n# 2 - Extract the version from the SDK\nif [[ \"$SDK_NAME\" =~ ([0-9]+.*$) ]]; then\nSDK_VERSION=${BASH_REMATCH[1]}\nelse\necho \"Could not find sdk version from SDK_NAME: $SDK_NAME\"\nexit 1\nfi\n# 3 - Determine the other platform\nif [ \"$SDK_PLATFORM\" == \"iphoneos\" ]; then\nOTHER_PLATFORM=iphonesimulator\nelse\nOTHER_PLATFORM=iphoneos\nfi\n# 4 - Find the build directory\nif [[ \"$BUILT_PRODUCTS_DIR\" =~ (.*)$SDK_PLATFORM$ ]]; then\nOTHER_BUILT_PRODUCTS_DIR=\"${BASH_REMATCH[1]}${OTHER_PLATFORM}\"\nelse\necho \"Could not find other platform build directory.\"\nexit 1\nfi\n# Build the other platform.\nbuild_static_library \"${OTHER_PLATFORM}${SDK_VERSION}\"\n# If we're currently building for iphonesimulator, then need to rebuild\n# to ensure that we get both i386 and x86_64\nif [ \"$SDK_PLATFORM\" == \"iphonesimulator\" ]; then\nbuild_static_library \"${SDK_NAME}\"\nfi\n# Join the 2 static libs into 1 and push into the .framework\nmake_fat_library \"${BUILT_PRODUCTS_DIR}/${INPUT_STATIC_LIB}\" \\\n\"${OTHER_BUILT_PRODUCTS_DIR}/${INPUT_STATIC_LIB}\" \\\n\"${FRAMEWORK_LOCATION}/Versions/A/${FRAMEWORK_NAME}\"\n# Ensure that the framework is present in both platform's build directories\ncp -a \"${FRAMEWORK_LOCATION}/Versions/A/${FRAMEWORK_NAME}\" \\\n\"${OTHER_BUILT_PRODUCTS_DIR}/${FRAMEWORK_NAME}.framework/Versions/A/${FRAMEWORK_NAME}\"\n# Copy the framework to the user's desktop\nditto \"${FRAMEWORK_LOCATION}\" \"${PROJECT_DIR}/Release/${FRAMEWORK_NAME}.framework\"\nditto \"${PROJECT_DIR}/${FRAMEWORK_NAME}/Supporting/module.modulemap\" \"${PROJECT_DIR}/Release/${FRAMEWORK_NAME}.framework/Modules\"";
};
07FBE3F620D31BD900BE857B /* Build Documentation w/ Jazzy */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Build Documentation w/ Jazzy";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "jazzy --objc --clean --author 'Varun Santhanam' --author_url 'https://www.vsanthanam.com' --github_url 'https://github.com/vsanthanam/VSAlert' --umbrella-header VSAlert/VSAlert.h --framework-root . --module VSAlert --sdk iphonesimulator --hide-declarations swift --output \"${PROJECT_DIR}/Documentation\" --theme \"${PROJECT_DIR}/JazzyTheme\"";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -783,6 +805,26 @@
};
name = Release;
};
07FBE3F420D31BD500BE857B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = Y88YPD4RJA;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
};
name = Debug;
};
07FBE3F520D31BD500BE857B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = Y88YPD4RJA;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
};
name = Release;
};
07FF9E041F8FEE85002966A3 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -944,6 +986,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
07FBE3F320D31BD500BE857B /* Build configuration list for PBXAggregateTarget "Documentation" */ = {
isa = XCConfigurationList;
buildConfigurations = (
07FBE3F420D31BD500BE857B /* Debug */,
07FBE3F520D31BD500BE857B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
07FF9E031F8FEE85002966A3 /* Build configuration list for PBXNativeTarget "VSAlert-Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6dbf07a

Please sign in to comment.