Skip to content

Commit 07e47e8

Browse files
committed
Sign Release build becasue yadayada Xcode
1 parent f2f5cf7 commit 07e47e8

10 files changed

+14
-195
lines changed

CryptoSwift.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@
314314
75EC52781EE8B6CA0048EB3B /* Utils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Utils.swift; sourceTree = "<group>"; };
315315
75EC52791EE8B6CA0048EB3B /* ZeroPadding.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ZeroPadding.swift; sourceTree = "<group>"; };
316316
75EC527A1EE8B6CA0048EB3B /* CryptoSwift.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CryptoSwift.h; sourceTree = "<group>"; };
317-
75EDCB811DAC4CA400D270E0 /* LinuxMain.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = LinuxMain.swift; path = Tests/CryptoSwiftTests/LinuxMain.swift; sourceTree = SOURCE_ROOT; };
318317
75F4E433216C93EF00F09710 /* CCM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CCM.swift; sourceTree = "<group>"; };
319318
75F4E435216C98DE00F09710 /* CBCMAC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CBCMAC.swift; sourceTree = "<group>"; };
320319
75F4E437216C9B5D00F09710 /* CHANGELOG */ = {isa = PBXFileReference; lastKnownFileType = text; path = CHANGELOG; sourceTree = SOURCE_ROOT; };
@@ -453,7 +452,6 @@
453452
75482EA31CB310B7001F66A5 /* PBKDF.swift */,
454453
7576F6F6207290F8006688F8 /* PBKDFPerf.swift */,
455454
75C2E76C1D55F097003D2BCA /* Access.swift */,
456-
75EDCB811DAC4CA400D270E0 /* LinuxMain.swift */,
457455
756BFDCA1A82B87300B9D9A4 /* Bridging.h */,
458456
);
459457
name = Tests;

config/CryptoSwift-Debug.xcconfig

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,6 @@
1-
//
2-
// CryptoSwift-Debug.xcconfig
3-
//
4-
// Generated by BuildSettingExtractor on 02/04/2018
5-
// https://github.com/dempseyatgithub/BuildSettingExtractor
6-
//
7-
81
#include "CryptoSwift-Shared.xcconfig"
92

10-
11-
// Other Swift Flags
12-
//
13-
// A list of additional flags to pass to the Swift compiler.
14-
153
OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -debug-time-function-bodies
16-
17-
18-
194
SWIFT_COMPILATION_MODE = incremental
20-
21-
// Swift Optimization Level
22-
//
23-
// * *None:* Compile without any optimization. [-Onone]
24-
// * *Optimize for Speed:* [-O]
25-
// * *Optimize for Size:* [-Osize]
26-
// * *Whole Module Optimization:* [-O -whole-module-optimization]
27-
285
SWIFT_OPTIMIZATION_LEVEL = -Onone
29-
30-
31-
32-
// Exclusive Access to Memory
33-
//
34-
// Enforce exclusive access to memory
35-
366
SWIFT_ENFORCE_EXCLUSIVE_ACCESS = none

config/CryptoSwift-Release.xcconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
//
2-
// CryptoSwift-Release.xcconfig
3-
//
4-
// Generated by BuildSettingExtractor on 02/04/2018
5-
// https://github.com/dempseyatgithub/BuildSettingExtractor
6-
//
7-
81
#include "CryptoSwift-Shared.xcconfig"
92

10-
113
BITCODE_GENERATION_MODE = bitcode
124
CLANG_USE_OPTIMIZATION_PROFILE = NO
135
GCC_GENERATE_DEBUGGING_SYMBOLS = NO

config/CryptoSwift-Shared.xcconfig

Lines changed: 0 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,15 @@
1-
//
2-
// CryptoSwift-Shared.xcconfig
3-
//
4-
// Generated by BuildSettingExtractor on 02/04/2018
5-
// https://github.com/dempseyatgithub/BuildSettingExtractor
6-
//
7-
81
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES
9-
10-
// Require Only App-Extension-Safe API
11-
//
12-
// When enabled, this causes the compiler and linker to disallow use of APIs that are not
13-
// available to app extensions and to disallow linking to frameworks that have not been
14-
// built with this setting enabled.
15-
162
APPLICATION_EXTENSION_API_ONLY = YES
17-
18-
19-
20-
// Compatibility Version
21-
//
22-
// Determines the compatibility version of the resulting library, bundle, or framework
23-
// binary. See [Dynamic Library Design
24-
// Guidelines](https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html#//apple_ref/doc/uid/TP40002013-SW19)
25-
// in [Dynamic Library Programming
26-
// Topics](https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/000-Introduction/Introduction.html)
27-
// for details on assigning version numbers of dynamic libraries.
28-
293
DYLIB_COMPATIBILITY_VERSION = 1
30-
31-
32-
33-
// Current Library Version
34-
//
35-
// This setting defines the current version of any framework built by the project. As
36-
// with `CURRENT_PROJECT_VERSION`, the value must be an integer or floating point number,
37-
// such as `57` or `365.8`. By default, it is set to `$(CURRENT_PROJECT_VERSION)`. See
38-
// [Dynamic Library Design
39-
// Guidelines](https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html#//apple_ref/doc/uid/TP40002013-SW19)
40-
// in [Dynamic Library Programming
41-
// Topics](https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/000-Introduction/Introduction.html)
42-
// for details on assigning version numbers of dynamic libraries.
43-
444
DYLIB_CURRENT_VERSION = 1
45-
46-
47-
48-
// Dynamic Library Install Name Base
49-
//
50-
// Sets the base value for the internal `install path` (`LC_ID_DYLIB`) in a dynamic
51-
// library. This will be combined with the `EXECUTABLE_PATH` to form the full install
52-
// path. Setting `LD_DYLIB_INSTALL_NAME` directly will override this setting. This
53-
// setting defaults to the target's `INSTALL_PATH`. It is ignored when building any
54-
// product other than a dynamic library.
55-
565
DYLIB_INSTALL_NAME_BASE = @rpath
576

58-
59-
60-
// Enable Bitcode
61-
//
62-
// Activating this setting indicates that the target or project should generate bitcode
63-
// during compilation for platforms and architectures that support it. For Archive
64-
// builds, bitcode will be generated in the linked binary for submission to the App
65-
// Store. For other builds, the compiler and linker will check whether the code complies
66-
// with the requirements for bitcode generation, but will not generate actual bitcode.
67-
687
ENABLE_BITCODE = YES
69-
70-
71-
72-
// Enable Bitcode
73-
//
74-
// Activating this setting indicates that the target or project should generate bitcode
75-
// during compilation for platforms and architectures that support it. For Archive
76-
// builds, bitcode will be generated in the linked binary for submission to the App
77-
// Store. For other builds, the compiler and linker will check whether the code complies
78-
// with the requirements for bitcode generation, but will not generate actual bitcode.
79-
808
ENABLE_BITCODE[sdk=macosx*] = NO
819

82-
83-
84-
// Installation Directory
85-
//
86-
// The directory in which to install the build products. This path is prepended by the
87-
// `DSTROOT`.
88-
8910
INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks
90-
91-
92-
// Runpath Search Paths
93-
//
94-
// This is a list of paths to be added to the `runpath` search path list for the image
95-
// being created. At runtime, `dyld` uses the `runpath` when searching for dylibs whose
96-
// load path begins with `@rpath/`. See [Dynamic Library Programming
97-
// Topics](https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/000-Introduction/Introduction.html).
98-
9911
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks
100-
101-
// Info.plist File
102-
10312
INFOPLIST_FILE = Info.plist
104-
105-
// Product Bundle Identifier
106-
//
107-
// A string that uniquely identifies the bundle. The string should be in reverse DNS
108-
// format using only alphanumeric characters (`A-Z`, `a-z`, `0-9`), the dot (`.`), and
109-
// the hyphen (`-`). This value is used as the `CFBundleIdentifier` in the `Info.plist`
110-
// of the built bundle.
111-
11213
PRODUCT_BUNDLE_IDENTIFIER = com.krzyzanowskim.${PRODUCT_NAME:rfc1034identifier}
113-
114-
115-
116-
// Product Name
117-
//
118-
// This is the basename of the product generated by the target.
119-
12014
PRODUCT_NAME = $(TARGET_NAME)
121-
122-
123-
124-
// Skip Install
125-
//
126-
// If enabled, don't install built products even if deployment locations are active.
127-
12815
SKIP_INSTALL = YES

config/CryptoSwift-Test.xcconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// CryptoSwift-Test.xcconfig
3-
//
4-
// Generated by BuildSettingExtractor on 02/04/2018
5-
// https://github.com/dempseyatgithub/BuildSettingExtractor
6-
//
7-
81
#include "CryptoSwift-Shared.xcconfig"
92

103
ENABLE_TESTABILITY = YES

config/Project-Release.xcconfig

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
//
2-
// Project-Release.xcconfig
3-
//
4-
// Generated by BuildSettingExtractor on 02/04/2018
5-
// https://github.com/dempseyatgithub/BuildSettingExtractor
6-
//
7-
81
#include "Project-Shared.xcconfig"
92

3+
CODE_SIGN_IDENTITY[sdk=macosx*] = -
4+
105
CLANG_USE_OPTIMIZATION_PROFILE = YES
116
COPY_PHASE_STRIP = YES
127
ENABLE_NS_ASSERTIONS = NO

config/Project-Shared.xcconfig

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// Project-Shared.xcconfig
3-
//
4-
// Generated by BuildSettingExtractor on 02/04/2018
5-
// https://github.com/dempseyatgithub/BuildSettingExtractor
6-
//
7-
81
MARKETING_VERSION = 1.3.4
92

103
SUPPORTED_PLATFORMS = iphonesimulator iphoneos macosx appletvos watchos appletvsimulator watchsimulator
@@ -20,11 +13,13 @@ MACOSX_DEPLOYMENT_TARGET = 10.12
2013
WATCHOS_DEPLOYMENT_TARGET = 2.0
2114

2215
DEVELOPMENT_TEAM =
23-
PROVISIONING_PROFILE =
24-
PROVISIONING_PROFILE_SPECIFIER =
25-
CODE_SIGN_IDENTITY =
26-
CODE_SIGN_STYLE = Manual
27-
CODE_SIGNING_REQUIRED = NO
16+
//PROVISIONING_PROFILE =
17+
//PROVISIONING_PROFILE_SPECIFIER =
18+
19+
CODE_SIGN_IDENTITY[sdk=macosx*] = Mac Developer
20+
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
21+
CODE_SIGN_IDENTITY[sdk=iphonesimulator*] = iPhone Developer
22+
CODE_SIGN_STYLE = Automatic
2823

2924
PRODUCT_NAME = ${TARGET_NAME}
3025

config/Tests-Shared.xcconfig

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
//
2-
// Tests-Shared.xcconfig
3-
//
4-
// Generated by BuildSettingExtractor on 02/04/2018
5-
// https://github.com/dempseyatgithub/BuildSettingExtractor
6-
//
1+
DEVELOPMENT_TEAM =
2+
CODE_SIGN_IDENTITY =
3+
CODE_SIGN_STYLE = Manual
4+
CODE_SIGNING_REQUIRED = NO
75

86
HEADER_SEARCH_PATHS = $(inherited) includes/**
97

config/Tests-Test.xcconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// Tests-Test.xcconfig
3-
//
4-
// Generated by BuildSettingExtractor on 02/04/2018
5-
// https://github.com/dempseyatgithub/BuildSettingExtractor
6-
//
7-
81
#include "Tests-Shared.xcconfig"
92

103
COPY_PHASE_STRIP = NO

scripts/build-framework.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
77
OUTPUT_DIR=$( mktemp -d )
88
COMMON_SETUP="-project ${SCRIPT_DIR}/../CryptoSwift.xcodeproj -scheme CryptoSwift -configuration Release -quiet SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES"
99

10-
# carthage build --no-skip-current --create-xcframework --configuration "Release" --platform all
11-
1210
# macOS
1311
DERIVED_DATA_PATH=$( mktemp -d )
1412
xcrun xcodebuild build \
@@ -110,7 +108,7 @@ xcrun xcodebuild -quiet -create-xcframework \
110108
-output ${OUTPUT_DIR}/CryptoSwift.xcframework
111109

112110
# zip CryptoSwift.xcframework.zip ${OUTPUT_DIR}/CryptoSwift.xcframework
113-
mv ${OUTPUT_DIR}/CryptoSwift.xcframework ${BASE_PWD}
111+
mv -f ${OUTPUT_DIR}/CryptoSwift.xcframework ${BASE_PWD}
114112

115113
echo "✔️ CryptoSwift.xcframework"
116114

0 commit comments

Comments
 (0)