Skip to content

Commit cdcdc51

Browse files
committed
Merge branch 'develop'
2 parents 36df26f + bab8aa3 commit cdcdc51

40 files changed

+135
-68
lines changed

.jazzy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ sourcekitten_sourcefile: docs.json
33
clean: false
44
author: Timofey Solomko
55
module: BitByteData
6-
module_version: 2.0.3
7-
copyright: '© 2023 Timofey Solomko'
6+
module_version: 2.0.4
7+
copyright: '© 2024 Timofey Solomko'
88
readme: README.md
99
github_url: https://github.com/tsolomko/BitByteData
10-
github_file_prefix: https://github.com/tsolomko/BitByteData/tree/2.0.3
10+
github_file_prefix: https://github.com/tsolomko/BitByteData/tree/2.0.4
1111
theme: fullwidth
1212

1313
custom_categories:

BitByteData.podspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "BitByteData"
4-
s.version = "2.0.3"
4+
s.version = "2.0.4"
55
s.summary = "Read and write bits and bytes in Swift."
66

77
s.description = "A Swift framework with classes for reading and writing bits and bytes."
@@ -19,9 +19,11 @@ Pod::Spec.new do |s|
1919
s.osx.deployment_target = "10.13"
2020
s.tvos.deployment_target = "11.0"
2121
s.watchos.deployment_target = "4.0"
22+
s.visionos.deployment_target = "1.0"
2223

2324
s.swift_versions = ["5"]
2425

2526
s.source_files = "Sources/*.swift"
27+
s.resource_bundles = {"BitByteData" => ["Sources/PrivacyInfo.xcprivacy"]}
2628

2729
end

BitByteData.xcodeproj/BitByteData.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0.3</string>
18+
<string>2.0.4</string>
1919
<key>CFBundleVersion</key>
20-
<string>29</string>
20+
<string>30</string>
2121
<key>NSHumanReadableCopyright</key>
22-
<string>Copyright © 2023 Timofey Solomko</string>
22+
<string>Copyright © 2024 Timofey Solomko</string>
2323
</dict>
2424
</plist>

BitByteData.xcodeproj/BitByteDataBenchmarks.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0.3</string>
18+
<string>2.0.4</string>
1919
<key>CFBundleVersion</key>
20-
<string>29</string>
20+
<string>30</string>
2121
</dict>
2222
</plist>

BitByteData.xcodeproj/TestBitByteData.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0.3</string>
18+
<string>2.0.4</string>
1919
<key>CFBundleVersion</key>
20-
<string>29</string>
20+
<string>30</string>
2121
</dict>
2222
</plist>

BitByteData.xcodeproj/project.pbxproj

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
06FA0DC421935115009B4DEB /* LsbBitWriterBenchmarks.swift in Sources */ = {isa = PBXBuildFile; fileRef = 06A81B0E2177947600B6B7BB /* LsbBitWriterBenchmarks.swift */; };
3636
06FA0DC521935115009B4DEB /* MsbBitWriterBenchmarks.swift in Sources */ = {isa = PBXBuildFile; fileRef = 06A81B102177955500B6B7BB /* MsbBitWriterBenchmarks.swift */; };
3737
E608AB16253740C60036626D /* TestHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = E608AB15253740C60036626D /* TestHelper.swift */; };
38+
E62333132BD3ED6B005469A8 /* PrivacyInfo.xcprivacy in CopyFiles */ = {isa = PBXBuildFile; fileRef = E62333112BD3ECC2005469A8 /* PrivacyInfo.xcprivacy */; };
3839
E6425642267FA97E002D75D8 /* SignedNumberRepresentationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6425641267FA97E002D75D8 /* SignedNumberRepresentationTests.swift */; };
3940
/* End PBXBuildFile section */
4041

@@ -55,11 +56,23 @@
5556
};
5657
/* End PBXContainerItemProxy section */
5758

59+
/* Begin PBXCopyFilesBuildPhase section */
60+
E62333122BD3ED52005469A8 /* CopyFiles */ = {
61+
isa = PBXCopyFilesBuildPhase;
62+
buildActionMask = 2147483647;
63+
dstPath = "";
64+
dstSubfolderSpec = 7;
65+
files = (
66+
E62333132BD3ED6B005469A8 /* PrivacyInfo.xcprivacy in CopyFiles */,
67+
);
68+
runOnlyForDeploymentPostprocessing = 0;
69+
};
70+
/* End PBXCopyFilesBuildPhase section */
71+
5872
/* Begin PBXFileReference section */
5973
0602483B225A0416006143B1 /* ByteReader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ByteReader.swift; sourceTree = "<group>"; };
6074
060F68312176024400688683 /* LsbBitReaderBenchmarks.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LsbBitReaderBenchmarks.swift; sourceTree = "<group>"; };
6175
060F6833217604E800688683 /* MsbBitReaderBenchmarks.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MsbBitReaderBenchmarks.swift; sourceTree = "<group>"; };
62-
062BE3301FFBB9E300343CAD /* LinuxMain.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LinuxMain.swift; sourceTree = "<group>"; };
6376
064344992259F88C00D8EB57 /* BigEndianByteReader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BigEndianByteReader.swift; sourceTree = "<group>"; };
6477
0643449B2259FB2200D8EB57 /* BigEndianByteReaderBenchmarks.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BigEndianByteReaderBenchmarks.swift; sourceTree = "<group>"; };
6578
0643449D2259FB2F00D8EB57 /* BigEndianByteReaderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BigEndianByteReaderTests.swift; sourceTree = "<group>"; };
@@ -86,6 +99,7 @@
8699
06F0656C1FFAEA4B00312A82 /* BitByteData.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BitByteData.framework; sourceTree = BUILT_PRODUCTS_DIR; };
87100
06F065811FFAEAA000312A82 /* TestBitByteData.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TestBitByteData.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
88101
E608AB15253740C60036626D /* TestHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestHelper.swift; sourceTree = "<group>"; };
102+
E62333112BD3ECC2005469A8 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
89103
E6425641267FA97E002D75D8 /* SignedNumberRepresentationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignedNumberRepresentationTests.swift; sourceTree = "<group>"; };
90104
E6C168EA28DF190200E7345D /* BitByteData.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; name = BitByteData.xctestplan; path = BitByteData.xcodeproj/BitByteData.xctestplan; sourceTree = "<group>"; };
91105
/* End PBXFileReference section */
@@ -149,6 +163,7 @@
149163
06F0655D1FFAEA1F00312A82 /* BitWriter.swift */,
150164
06F0655E1FFAEA1F00312A82 /* LsbBitWriter.swift */,
151165
06F0655C1FFAEA1F00312A82 /* MsbBitWriter.swift */,
166+
E62333112BD3ECC2005469A8 /* PrivacyInfo.xcprivacy */,
152167
);
153168
path = Sources;
154169
sourceTree = "<group>";
@@ -158,7 +173,6 @@
158173
children = (
159174
065DD5E021673BC100704028 /* BitByteDataBenchmarks */,
160175
06F065611FFAEA1F00312A82 /* BitByteDataTests */,
161-
062BE3301FFBB9E300343CAD /* LinuxMain.swift */,
162176
);
163177
path = Tests;
164178
sourceTree = "<group>";
@@ -213,6 +227,7 @@
213227
buildConfigurationList = 06F065721FFAEA4C00312A82 /* Build configuration list for PBXNativeTarget "BitByteData" */;
214228
buildPhases = (
215229
06F065671FFAEA4B00312A82 /* Sources */,
230+
E62333122BD3ED52005469A8 /* CopyFiles */,
216231
);
217232
buildRules = (
218233
);
@@ -249,7 +264,7 @@
249264
BuildIndependentTargetsInParallel = YES;
250265
DefaultBuildSystemTypeForWorkspace = Latest;
251266
LastSwiftUpdateCheck = 1000;
252-
LastUpgradeCheck = 1430;
267+
LastUpgradeCheck = 1530;
253268
ORGANIZATIONNAME = "Timofey Solomko";
254269
TargetAttributes = {
255270
065DD5DE21673BC100704028 = {
@@ -390,6 +405,7 @@
390405
isa = XCBuildConfiguration;
391406
buildSettings = {
392407
ALWAYS_SEARCH_USER_PATHS = NO;
408+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
393409
CLANG_ENABLE_OBJC_WEAK = YES;
394410
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
395411
CLANG_WARN_BOOL_CONVERSION = YES;
@@ -409,12 +425,13 @@
409425
CLANG_WARN_SUSPICIOUS_MOVE = YES;
410426
CLANG_WARN_UNREACHABLE_CODE = YES;
411427
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
412-
CURRENT_PROJECT_VERSION = 29;
428+
CURRENT_PROJECT_VERSION = 30;
413429
DEAD_CODE_STRIPPING = YES;
414430
DEBUG_INFORMATION_FORMAT = dwarf;
415431
EAGER_LINKING = YES;
416432
ENABLE_STRICT_OBJC_MSGSEND = YES;
417433
ENABLE_TESTABILITY = YES;
434+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
418435
GCC_NO_COMMON_BLOCKS = YES;
419436
GCC_OPTIMIZATION_LEVEL = 0;
420437
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -428,19 +445,21 @@
428445
ONLY_ACTIVE_ARCH = YES;
429446
OTHER_CODE_SIGN_FLAGS = "--deep";
430447
SDKROOT = macosx;
431-
SUPPORTED_PLATFORMS = "macosx watchsimulator iphonesimulator appletvsimulator watchos appletvos iphoneos";
448+
SUPPORTED_PLATFORMS = "macosx watchsimulator iphonesimulator appletvsimulator watchos appletvos iphoneos xrsimulator xros";
432449
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
433450
SWIFT_VERSION = 5.0;
434451
TVOS_DEPLOYMENT_TARGET = 11.0;
435452
VERSIONING_SYSTEM = "apple-generic";
436453
WATCHOS_DEPLOYMENT_TARGET = 4.0;
454+
XROS_DEPLOYMENT_TARGET = 1.0;
437455
};
438456
name = Debug;
439457
};
440458
06F065551FFAE9EC00312A82 /* Release */ = {
441459
isa = XCBuildConfiguration;
442460
buildSettings = {
443461
ALWAYS_SEARCH_USER_PATHS = NO;
462+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
444463
CLANG_ENABLE_OBJC_WEAK = YES;
445464
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
446465
CLANG_WARN_BOOL_CONVERSION = YES;
@@ -460,11 +479,12 @@
460479
CLANG_WARN_SUSPICIOUS_MOVE = YES;
461480
CLANG_WARN_UNREACHABLE_CODE = YES;
462481
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
463-
CURRENT_PROJECT_VERSION = 29;
482+
CURRENT_PROJECT_VERSION = 30;
464483
DEAD_CODE_STRIPPING = YES;
465484
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
466485
EAGER_LINKING = YES;
467486
ENABLE_STRICT_OBJC_MSGSEND = YES;
487+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
468488
GCC_NO_COMMON_BLOCKS = YES;
469489
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
470490
GCC_WARN_ABOUT_RETURN_TYPE = YES;
@@ -476,12 +496,13 @@
476496
MACOSX_DEPLOYMENT_TARGET = 10.13;
477497
OTHER_CODE_SIGN_FLAGS = "--deep";
478498
SDKROOT = macosx;
479-
SUPPORTED_PLATFORMS = "macosx watchsimulator iphonesimulator appletvsimulator watchos appletvos iphoneos";
499+
SUPPORTED_PLATFORMS = "macosx watchsimulator iphonesimulator appletvsimulator watchos appletvos iphoneos xrsimulator xros";
480500
SWIFT_COMPILATION_MODE = wholemodule;
481501
SWIFT_VERSION = 5.0;
482502
TVOS_DEPLOYMENT_TARGET = 11.0;
483503
VERSIONING_SYSTEM = "apple-generic";
484504
WATCHOS_DEPLOYMENT_TARGET = 4.0;
505+
XROS_DEPLOYMENT_TARGET = 1.0;
485506
};
486507
name = Release;
487508
};
@@ -491,7 +512,7 @@
491512
APPLICATION_EXTENSION_API_ONLY = YES;
492513
DEFINES_MODULE = YES;
493514
DYLIB_COMPATIBILITY_VERSION = 1;
494-
DYLIB_CURRENT_VERSION = 29;
515+
DYLIB_CURRENT_VERSION = 30;
495516
DYLIB_INSTALL_NAME_BASE = "@rpath";
496517
ENABLE_MODULE_VERIFIER = YES;
497518
INFOPLIST_FILE = BitByteData.xcodeproj/BitByteData.plist;
@@ -518,7 +539,7 @@
518539
APPLICATION_EXTENSION_API_ONLY = YES;
519540
DEFINES_MODULE = YES;
520541
DYLIB_COMPATIBILITY_VERSION = 1;
521-
DYLIB_CURRENT_VERSION = 29;
542+
DYLIB_CURRENT_VERSION = 30;
522543
DYLIB_INSTALL_NAME_BASE = "@rpath";
523544
ENABLE_MODULE_VERIFIER = YES;
524545
INFOPLIST_FILE = BitByteData.xcodeproj/BitByteData.plist;

BitByteData.xcodeproj/xcshareddata/xcschemes/BitByteData.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1530"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Changelog
22

3+
## 2.0.4
4+
5+
- Swift 5.2 is no longer supported.
6+
- Enable visionOS deployment target (except for SPM).
7+
- Add PrivacyInfo file.
8+
39
## 2.0.3
410

511
- There are now minimum deployment targets specified in Swift Package Manager manifest.
612

713
## 2.0.2
814

9-
- Swift 5.0 and 5.1 is no longer supported.
15+
- Swift 5.0 and 5.1 are no longer supported.
1016
- Increased minimum deployment versions (when installed via CocoaPods or Carthage) for Darwin platforms: macOS from 10.10
1117
to 10.13, iOS from 9.0 to 11.0, tvOS from 9.0 to 11.0, and watchOS from 2.0 to 4.0.
1218

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Timofey Solomko
3+
Copyright (c) 2024 Timofey Solomko
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Package.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.2
1+
// swift-tools-version:5.3
22
import PackageDescription
33

44
let package = Package(
@@ -7,15 +7,17 @@ let package = Package(
77
.macOS(.v10_13),
88
.iOS(.v11),
99
.tvOS(.v11),
10-
.watchOS(.v4)
10+
.watchOS(.v4),
11+
// TODO: Enable after upgrading to Swift 5.9.
12+
// .visionOS(.v1)
1113
],
1214
products: [
1315
.library(
1416
name: "BitByteData",
1517
targets: ["BitByteData"])
1618
],
1719
targets: [
18-
.target(name: "BitByteData", path: "Sources"),
20+
.target(name: "BitByteData", path: "Sources", resources: [.copy("PrivacyInfo.xcprivacy")]),
1921
.testTarget(name: "BitByteDataTests", dependencies: ["BitByteData"]),
2022
.testTarget(name: "BitByteDataBenchmarks", dependencies: ["BitByteData"])
2123
],

0 commit comments

Comments
 (0)