Skip to content

Commit

Permalink
feat: Add privacy manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-i committed May 9, 2024
1 parent 117ba46 commit adfc04b
Show file tree
Hide file tree
Showing 38 changed files with 1,753 additions and 332 deletions.
6 changes: 2 additions & 4 deletions AutoFlex.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'AutoFlex'
s.version = '0.3.5'
s.version = '0.3.6'
s.summary = 'An auto layout framework.'

s.description = <<-DESC
Expand Down Expand Up @@ -36,9 +36,7 @@ Pod::Spec.new do |s|

s.source_files = 'Sources/**/*.swift'

# s.resource_bundles = {
# 'AutoFlex' => ['Sources/Assets/*.png']
# }
s.resource_bundles = {'AutoFlex' => ['Sources/PrivacyInfo.xcprivacy']}

# s.public_header_files = 'Sources/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
Expand Down
48 changes: 48 additions & 0 deletions AutoFlex.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@
0CA494782B72170800C0C8C7 /* Sources */,
0CA494792B72170800C0C8C7 /* Frameworks */,
0CA4947A2B72170800C0C8C7 /* Resources */,
ABC5068B4E21FD2619A08BBF /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -262,6 +263,7 @@
0CA4949B2B721A0900C0C8C7 /* Sources */,
0CA4949C2B721A0900C0C8C7 /* Frameworks */,
0CA4949D2B721A0900C0C8C7 /* Resources */,
5235A74AD515574468F2EE03 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -281,6 +283,7 @@
607FACCD1AFB9204008FA782 /* Frameworks */,
607FACCE1AFB9204008FA782 /* Resources */,
0C8E74352BB545A000229F11 /* Embed Watch Content */,
4BCA47FDCDB1722470F2E917 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -466,6 +469,51 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
4BCA47FDCDB1722470F2E917 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example iOS/Pods-Example iOS-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
5235A74AD515574468F2EE03 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example macOS/Pods-Example macOS-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
ABC5068B4E21FD2619A08BBF /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example tvOS/Pods-Example tvOS-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
BD12F5C78D0786D82333BE42 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ let package = Package(
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(name: "AutoFlex", path: "Sources"),
.target(name: "AutoFlex", path: "Sources", exclude: ["PrivacyInfo.xcprivacy"]),
]
)
2 changes: 1 addition & 1 deletion Package@swift-5.9.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ let package = Package(
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(name: "AutoFlex", path: "Sources"),
.target(name: "AutoFlex", path: "Sources", resources: [.copy("PrivacyInfo.xcprivacy")]),
]
)
3 changes: 2 additions & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ install! 'cocoapods',
:share_schemes_for_development_pods => true

#use_frameworks!
use_frameworks! :linkage => :static
#use_frameworks! :linkage => :static
use_frameworks! :linkage => :dynamic

workspace 'AutoFlex.xcworkspace'

Expand Down
6 changes: 3 additions & 3 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- AutoFlex (0.3.5)
- AutoFlex (0.3.6)

DEPENDENCIES:
- AutoFlex (from `./`)
Expand All @@ -9,8 +9,8 @@ EXTERNAL SOURCES:
:path: "./"

SPEC CHECKSUMS:
AutoFlex: 8c3251c15c12b622949c56c0b513e26b9b219341
AutoFlex: 41a04be83c4f188d83f1335530023602713a87fa

PODFILE CHECKSUM: bd6411928548982958ec26e733ed1ef62dff8926
PODFILE CHECKSUM: 86f25b13a71aa2dff843449ba54d54617f7c0f30

COCOAPODS: 1.15.2
Loading

0 comments on commit adfc04b

Please sign in to comment.