Skip to content

Commit 9d02133

Browse files
committed
fix: remove unnecessary objc members
1 parent a399b43 commit 9d02133

File tree

4 files changed

+77
-3
lines changed

4 files changed

+77
-3
lines changed

CoatySwift/Classes/Common/CoatyUUID.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import Foundation
1010
/// Custom implementation of a UUID that actually is compatible with the RFC
1111
/// specification of sending UUIDs over the network (lowercase in contrast to Apple's
1212
/// uppercase implementation).
13-
@objcMembers
1413
public class CoatyUUID: NSObject, Codable {
1514

1615
private var uuid: UUID

CoatySwift/Classes/Model/Core Types/CoatyObject.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public let COATY_OBJECT_TYPE_NAMESPACE_PREFIX = "coaty."
1616

1717
/// The base type of all objects in the Coaty object model. Application-specific object types
1818
/// extend either CoatyObject directly or any of its derived core types.
19-
@objcMembers
2019
open class CoatyObject: NSObject, Codable {
2120

2221
// MARK: - Required attributes.

CoatySwift/Classes/Model/Core Types/Task.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ open class Task: CoatyObject {
118118
}
119119

120120
/// Predefined status values of Task objects.
121-
@objc
122121
public enum TaskStatus: Int, Codable, CaseIterable {
123122

124123
/// Initial state of a new task.

Example/CoatySwift.xcodeproj/project.pbxproj

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
324EF74B74AC590DBAB043C8 /* Pods_HelloCoaty.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E2E05C27E17ABABF721E10E /* Pods_HelloCoaty.framework */; };
1011
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };
1112
607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; };
1213
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
@@ -19,38 +20,51 @@
1920

2021
/* Begin PBXFileReference section */
2122
0E082A6916A9EE8CD84E196D /* CoatySwift.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CoatySwift.podspec; path = ../CoatySwift.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
23+
1E2E05C27E17ABABF721E10E /* Pods_HelloCoaty.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HelloCoaty.framework; sourceTree = BUILT_PRODUCTS_DIR; };
2224
607FACD01AFB9204008FA782 /* HelloCoaty.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloCoaty.app; sourceTree = BUILT_PRODUCTS_DIR; };
2325
607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2426
607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
2527
607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
2628
607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
2729
607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
30+
86A182F53329BC86F7FF647E /* Pods-HelloCoaty.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloCoaty.release.xcconfig"; path = "Target Support Files/Pods-HelloCoaty/Pods-HelloCoaty.release.xcconfig"; sourceTree = "<group>"; };
2831
9914431535FD0B653582AF30 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
2932
ADEEFD5354A32F3127D3F18E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
3033
BCB21F17235F27130062A498 /* ExampleObject.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleObject.swift; sourceTree = "<group>"; };
3134
BCB21F19235F274F0062A498 /* ExampleObjectFamily.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleObjectFamily.swift; sourceTree = "<group>"; };
3235
BCB21F1B235F28E40062A498 /* ExampleControllerPublish.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleControllerPublish.swift; sourceTree = "<group>"; };
3336
BCB21F1D235F297D0062A498 /* ExampleControllerObserve.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleControllerObserve.swift; sourceTree = "<group>"; };
37+
FFE767B4036C63677AB8320E /* Pods-HelloCoaty.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloCoaty.debug.xcconfig"; path = "Target Support Files/Pods-HelloCoaty/Pods-HelloCoaty.debug.xcconfig"; sourceTree = "<group>"; };
3438
/* End PBXFileReference section */
3539

3640
/* Begin PBXFrameworksBuildPhase section */
3741
607FACCD1AFB9204008FA782 /* Frameworks */ = {
3842
isa = PBXFrameworksBuildPhase;
3943
buildActionMask = 2147483647;
4044
files = (
45+
324EF74B74AC590DBAB043C8 /* Pods_HelloCoaty.framework in Frameworks */,
4146
);
4247
runOnlyForDeploymentPostprocessing = 0;
4348
};
4449
/* End PBXFrameworksBuildPhase section */
4550

4651
/* Begin PBXGroup section */
52+
0D2EE68BD01597307B60D296 /* Frameworks */ = {
53+
isa = PBXGroup;
54+
children = (
55+
1E2E05C27E17ABABF721E10E /* Pods_HelloCoaty.framework */,
56+
);
57+
name = Frameworks;
58+
sourceTree = "<group>";
59+
};
4760
607FACC71AFB9204008FA782 = {
4861
isa = PBXGroup;
4962
children = (
5063
607FACF51AFB993E008FA782 /* Podspec Metadata */,
5164
607FACD21AFB9204008FA782 /* HelloCoaty */,
5265
607FACD11AFB9204008FA782 /* Products */,
5366
A18E0B7BEEEB3BB7E24B2FCF /* Pods */,
67+
0D2EE68BD01597307B60D296 /* Frameworks */,
5468
);
5569
sourceTree = "<group>";
5670
};
@@ -100,6 +114,8 @@
100114
A18E0B7BEEEB3BB7E24B2FCF /* Pods */ = {
101115
isa = PBXGroup;
102116
children = (
117+
FFE767B4036C63677AB8320E /* Pods-HelloCoaty.debug.xcconfig */,
118+
86A182F53329BC86F7FF647E /* Pods-HelloCoaty.release.xcconfig */,
103119
);
104120
path = Pods;
105121
sourceTree = "<group>";
@@ -111,9 +127,11 @@
111127
isa = PBXNativeTarget;
112128
buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "HelloCoaty" */;
113129
buildPhases = (
130+
9222AA8044A8678D1B3CC9E7 /* [CP] Check Pods Manifest.lock */,
114131
607FACCC1AFB9204008FA782 /* Sources */,
115132
607FACCD1AFB9204008FA782 /* Frameworks */,
116133
607FACCE1AFB9204008FA782 /* Resources */,
134+
9DD12299760E1288970B75F5 /* [CP] Embed Pods Frameworks */,
117135
);
118136
buildRules = (
119137
);
@@ -173,6 +191,63 @@
173191
};
174192
/* End PBXResourcesBuildPhase section */
175193

194+
/* Begin PBXShellScriptBuildPhase section */
195+
9222AA8044A8678D1B3CC9E7 /* [CP] Check Pods Manifest.lock */ = {
196+
isa = PBXShellScriptBuildPhase;
197+
buildActionMask = 2147483647;
198+
files = (
199+
);
200+
inputFileListPaths = (
201+
);
202+
inputPaths = (
203+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
204+
"${PODS_ROOT}/Manifest.lock",
205+
);
206+
name = "[CP] Check Pods Manifest.lock";
207+
outputFileListPaths = (
208+
);
209+
outputPaths = (
210+
"$(DERIVED_FILE_DIR)/Pods-HelloCoaty-checkManifestLockResult.txt",
211+
);
212+
runOnlyForDeploymentPostprocessing = 0;
213+
shellPath = /bin/sh;
214+
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";
215+
showEnvVarsInLog = 0;
216+
};
217+
9DD12299760E1288970B75F5 /* [CP] Embed Pods Frameworks */ = {
218+
isa = PBXShellScriptBuildPhase;
219+
buildActionMask = 2147483647;
220+
files = (
221+
);
222+
inputPaths = (
223+
"${PODS_ROOT}/Target Support Files/Pods-HelloCoaty/Pods-HelloCoaty-frameworks.sh",
224+
"${BUILT_PRODUCTS_DIR}/CoatySwift/CoatySwift.framework",
225+
"${BUILT_PRODUCTS_DIR}/CocoaAsyncSocket/CocoaAsyncSocket.framework",
226+
"${BUILT_PRODUCTS_DIR}/CocoaMQTT/CocoaMQTT.framework",
227+
"${BUILT_PRODUCTS_DIR}/ObjcExceptionBridging/ObjcExceptionBridging.framework",
228+
"${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework",
229+
"${BUILT_PRODUCTS_DIR}/RxRelay/RxRelay.framework",
230+
"${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework",
231+
"${BUILT_PRODUCTS_DIR}/XCGLogger/XCGLogger.framework",
232+
);
233+
name = "[CP] Embed Pods Frameworks";
234+
outputPaths = (
235+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CoatySwift.framework",
236+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CocoaAsyncSocket.framework",
237+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CocoaMQTT.framework",
238+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ObjcExceptionBridging.framework",
239+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework",
240+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxRelay.framework",
241+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework",
242+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/XCGLogger.framework",
243+
);
244+
runOnlyForDeploymentPostprocessing = 0;
245+
shellPath = /bin/sh;
246+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HelloCoaty/Pods-HelloCoaty-frameworks.sh\"\n";
247+
showEnvVarsInLog = 0;
248+
};
249+
/* End PBXShellScriptBuildPhase section */
250+
176251
/* Begin PBXSourcesBuildPhase section */
177252
607FACCC1AFB9204008FA782 /* Sources */ = {
178253
isa = PBXSourcesBuildPhase;
@@ -309,6 +384,7 @@
309384
};
310385
607FACF01AFB9204008FA782 /* Debug */ = {
311386
isa = XCBuildConfiguration;
387+
baseConfigurationReference = FFE767B4036C63677AB8320E /* Pods-HelloCoaty.debug.xcconfig */;
312388
buildSettings = {
313389
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
314390
DEVELOPMENT_TEAM = 45E39Y8V9N;
@@ -323,6 +399,7 @@
323399
};
324400
607FACF11AFB9204008FA782 /* Release */ = {
325401
isa = XCBuildConfiguration;
402+
baseConfigurationReference = 86A182F53329BC86F7FF647E /* Pods-HelloCoaty.release.xcconfig */;
326403
buildSettings = {
327404
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
328405
DEVELOPMENT_TEAM = 45E39Y8V9N;

0 commit comments

Comments
 (0)