diff --git a/BRPickerView/BRPickerView.h b/BRPickerView/Include/BRPickerView.h similarity index 100% rename from BRPickerView/BRPickerView.h rename to BRPickerView/Include/BRPickerView.h diff --git a/BRPickerViewDemo.xcodeproj/project.pbxproj b/BRPickerViewDemo.xcodeproj/project.pbxproj index 1f8abf0..94af755 100755 --- a/BRPickerViewDemo.xcodeproj/project.pbxproj +++ b/BRPickerViewDemo.xcodeproj/project.pbxproj @@ -46,6 +46,7 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 1AB995CB2C8F3E3600AEE7FD /* BRPickerView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BRPickerView.h; sourceTree = ""; }; 451D6C0C234D6AA2004E801F /* BRPickerStyle.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BRPickerStyle.h; sourceTree = ""; }; 451D6C0D234D6AA2004E801F /* BRPickerStyle.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BRPickerStyle.m; sourceTree = ""; }; 451D6C0F23509890004E801F /* BRResultModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BRResultModel.h; sourceTree = ""; }; @@ -105,7 +106,6 @@ C5ACE50A1F3D7D890069978B /* BRDatePickerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BRDatePickerView.m; sourceTree = ""; }; C5ACE50C1F3D7E890069978B /* BRStringPickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BRStringPickerView.h; sourceTree = ""; }; C5ACE50D1F3D7E890069978B /* BRStringPickerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BRStringPickerView.m; sourceTree = ""; }; - C5ACE5201F3D90A90069978B /* BRPickerView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BRPickerView.h; sourceTree = ""; }; C5F069B9208F0BCA00C969B9 /* NSDate+BRPickerView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSDate+BRPickerView.h"; sourceTree = ""; }; C5F069BA208F0BCA00C969B9 /* NSDate+BRPickerView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSDate+BRPickerView.m"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -121,6 +121,14 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 1AB995CC2C8F3E3600AEE7FD /* Include */ = { + isa = PBXGroup; + children = ( + 1AB995CB2C8F3E3600AEE7FD /* BRPickerView.h */, + ); + path = Include; + sourceTree = ""; + }; 457868602C4758B6006F7FD6 /* DataFile */ = { isa = PBXGroup; children = ( @@ -290,7 +298,7 @@ C5ACE4F01F3D5A8B0069978B /* BRPickerView */ = { isa = PBXGroup; children = ( - C5ACE5201F3D90A90069978B /* BRPickerView.h */, + 1AB995CC2C8F3E3600AEE7FD /* Include */, 45C2FA992BD789F80093928B /* PrivacyInfo.xcprivacy */, 4596CB0C2C365564003C6654 /* Core */, 458CB74A2C33FBFB00C46170 /* DatePicker */, @@ -373,7 +381,7 @@ TargetAttributes = { C5ACE4D51F3D58BD0069978B = { CreatedOnToolsVersion = 8.3.2; - DevelopmentTeam = N92S3NU839; + DevelopmentTeam = K34Z59STMC; ProvisioningStyle = Automatic; }; }; @@ -588,7 +596,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = N92S3NU839; + DEVELOPMENT_TEAM = K34Z59STMC; EXCLUDED_ARCHS = ""; INFOPLIST_FILE = BRPickerViewDemo/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; @@ -605,7 +613,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = N92S3NU839; + DEVELOPMENT_TEAM = K34Z59STMC; EXCLUDED_ARCHS = ""; INFOPLIST_FILE = BRPickerViewDemo/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; diff --git a/Package.swift b/Package.swift index e417493..16f5187 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.9 +// swift-tools-version: 5.10 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -6,6 +6,7 @@ import PackageDescription let package = Package( // 指定包的名称 name: "BRPickerView", + defaultLocalization: "en", // 该库的一些配置 products: [ // Products define the executables and libraries a package produces, making them visible to other packages. @@ -27,13 +28,13 @@ let package = Package( .copy("PrivacyInfo.xcprivacy") ], // 设置默认本地化为英语 - defaultLocalization: "en", + // defaultLocalization: "en", // 指定公共头文件的路径。在这里,它设置为当前目录(".") - publicHeadersPath: ".", + publicHeadersPath: "Include", // 为C语言源代码指定一些设置 cSettings: [ //Config header path - .headerSearchPath("."), + .headerSearchPath("Include"), ] ), ]