Skip to content

Bulk updates #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions <#TemplateProject#>.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Pod::Spec.new do |s|
s.author = { "<#TemplateName#>" => "<#TemplateEmail#>" }
s.source = { :git => "https://github.com/<#TemplateUsername#>/<#TemplateProject#>.git", :tag => s.version.to_s }

s.ios.deployment_target = '9.0'
s.ios.deployment_target = '11.0'
s.macos.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '11.0'
s.watchos.deployment_target = '4.0'

s.source_files = 'Sources/<#TemplateProject#>/*.swift'
s.swift_versions = ['5.0']
Expand Down
27 changes: 16 additions & 11 deletions <#TemplateProject#>.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 54;
objects = {

/* Begin PBXAggregateTarget section */
Expand Down Expand Up @@ -106,7 +106,7 @@
DD48BCA0270E0F9A00D842BC /* <#TemplateProject#> macOS Tests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = "<#TemplateProject#> macOS Tests.xctestplan"; sourceTree = "<group>"; };
DD48BCA1270E0FE200D842BC /* <#TemplateProject#> tvOS Tests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = "<#TemplateProject#> tvOS Tests.xctestplan"; sourceTree = "<group>"; };
DD48BCA2270E101D00D842BC /* <#TemplateProject#> watchOS Tests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = "<#TemplateProject#> watchOS Tests.xctestplan"; sourceTree = "<group>"; };
DD3BB7202731ADDA00DB55F8 /* <#TemplateProject#>.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = <#TemplateProject#>.docc; sourceTree = "<group>"; };
DD3BB7202731ADDA00DB55F8 /* <#TemplateProject#>.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; name = <#TemplateProject#>.docc; path = Sources/<#TemplateProject#>/<#TemplateProject#>.docc; sourceTree = "<group>"; };
DD438A462742D18A00F0A1F6 /* Plists */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Plists; sourceTree = "<group>"; };
DDA42148273E153D00F2B0BC /* github */ = {isa = PBXFileReference; lastKnownFileType = folder; name = github; path = .github; sourceTree = "<group>"; };
DD17A9F9257744BC00D30599 /* scripts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = scripts; sourceTree = "<group>"; };
Expand Down Expand Up @@ -257,7 +257,7 @@
children = (
DD3BB7202731ADDA00DB55F8 /* <#TemplateProject#>.docc */,
);
path = Documentation;
name = Documentation;
sourceTree = "<group>";
};
DD86D55B23D11BA80046E63E /* Supporting Files */ = {
Expand Down Expand Up @@ -481,7 +481,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1310;
LastUpgradeCheck = 1310;
LastUpgradeCheck = 1401;
ORGANIZATIONNAME = <#TemplateUsername#>;
ProjectGenerationInfo = {
Description = "Xcode Project generated using SomeRandomiOSDev/ProjectTemplate";
Expand Down Expand Up @@ -619,6 +619,7 @@
/* Begin PBXShellScriptBuildPhase section */
DD86D56823D11C550046E63E /* Run SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand All @@ -633,7 +634,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if (echo \"$SKIP_SWIFTLINT\" | grep -iq \"^YES$\"); then\n echo \"SKIP_SWIFTLINT=YES | Skipping SwiftLint\"\nelse\n if which swiftlint >/dev/null; then\n swiftlint\n else\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\n fi\nfi\n";
shellScript = "export PATH=\"$PATH:/opt/homebrew/bin\"\n\nif (echo \"$SKIP_SWIFTLINT\" | grep -iq \"^YES$\"); then\n echo \"SKIP_SWIFTLINT=YES | Skipping SwiftLint\"\nelse\n if which swiftlint >/dev/null; then\n swiftlint\n else\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\n fi\nfi\n";
};
DD2FBC33258BE8C600DB3211 /* Build XCFramework */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -847,7 +848,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
Expand All @@ -856,10 +857,10 @@
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TVOS_DEPLOYMENT_TARGET = 9.0;
TVOS_DEPLOYMENT_TARGET = 11.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 4.0;
};
name = Debug;
};
Expand Down Expand Up @@ -910,19 +911,19 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 5.0;
TVOS_DEPLOYMENT_TARGET = 9.0;
TVOS_DEPLOYMENT_TARGET = 11.0;
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 4.0;
};
name = Release;
};
Expand Down Expand Up @@ -1020,6 +1021,7 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand Down Expand Up @@ -1048,6 +1050,7 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand Down Expand Up @@ -1075,6 +1078,7 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
INFOPLIST_FILE = "Plists/<#TemplateProject#>Tests-Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -1096,6 +1100,7 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
INFOPLIST_FILE = "Plists/<#TemplateProject#>Tests-Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1401"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1401"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1401"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1401"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1401"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1401"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1401"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1401"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1401"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1401"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// swift-tools-version:5.0
// swift-tools-version:5.7
import PackageDescription

let package = Package(
name: "<#TemplateProject#>",

platforms: [
.iOS("9.0"),
.iOS("11.0"),
.macOS("10.10"),
.tvOS("9.0"),
.watchOS("2.0")
.tvOS("11.0"),
.watchOS("4.0")
],

products: [
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export INIT_GIT=1
export GIT_USERNAME="$USERNAME"
export GIT_NAME="$NAME"
export GIT_EMAIL="$EMAIL"
export GIT_GPG="559394823741F655"
export GIT_GPG="94872CB83EF62644"
export GIT_SIGN_COMMITS=1
export GIT_SIGN_TAGS=1
8 changes: 4 additions & 4 deletions scripts/xcframework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@ for PLATFORM in "iOS" "iOS Simulator" "Mac Catalyst" "macOS" "tvOS" "tvOS Simula

case "$PLATFORM" in
"iOS")
ARCHS="armv7 armv7s arm64 arm64e"
ARCHS="arm64 arm64e"
ARCHIVE="iphoneos"
;;

"iOS Simulator")
ARCHS="i386 x86_64 arm64"
ARCHS="x86_64 arm64"
ARCHIVE="iphonesimulator"
;;

Expand Down Expand Up @@ -294,13 +294,13 @@ for PLATFORM in "iOS" "iOS Simulator" "Mac Catalyst" "macOS" "tvOS" "tvOS Simula

"watchOS")
SCHEME="${PROJECT_NAME} watchOS"
ARCHS="arm64_32 armv7k"
ARCHS="arm64 arm64_32 armv7k"
ARCHIVE="watchos"
;;

"watchOS Simulator")
SCHEME="${PROJECT_NAME} watchOS"
ARCHS="i386 x86_64 arm64"
ARCHS="x86_64 arm64"
ARCHIVE="watchsimulator"
;;
esac
Expand Down