Skip to content

Commit b76bd57

Browse files
author
Sven
committed
style: rename project
1 parent a35c83d commit b76bd57

File tree

7 files changed

+31
-27
lines changed

7 files changed

+31
-27
lines changed

SwiftJSONModeler For Xcode.xcodeproj/project.pbxproj

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
C9ED9CDE23D7F9D0004567A1 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9ED9CDD23D7F9D0004567A1 /* Cocoa.framework */; };
1818
C9ED9CE123D7F9D0004567A1 /* SourceEditorExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9ED9CE023D7F9D0004567A1 /* SourceEditorExtension.swift */; };
1919
C9ED9CE323D7F9D0004567A1 /* SourceEditorCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9ED9CE223D7F9D0004567A1 /* SourceEditorCommand.swift */; };
20-
C9ED9CE823D7F9D0004567A1 /* JSONSwiftModel.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = C9ED9CDB23D7F9D0004567A1 /* JSONSwiftModel.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
20+
C9ED9CE823D7F9D0004567A1 /* SwiftJSONModeler.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = C9ED9CDB23D7F9D0004567A1 /* SwiftJSONModeler.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
2121
/* End PBXBuildFile section */
2222

2323
/* Begin PBXContainerItemProxy section */
@@ -37,7 +37,7 @@
3737
dstPath = "";
3838
dstSubfolderSpec = 13;
3939
files = (
40-
C9ED9CE823D7F9D0004567A1 /* JSONSwiftModel.appex in Embed App Extensions */,
40+
C9ED9CE823D7F9D0004567A1 /* SwiftJSONModeler.appex in Embed App Extensions */,
4141
);
4242
name = "Embed App Extensions";
4343
runOnlyForDeploymentPostprocessing = 0;
@@ -54,12 +54,12 @@
5454
C9ED9CCE23D7F9B4004567A1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
5555
C9ED9CD023D7F9B4004567A1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5656
C9ED9CD123D7F9B4004567A1 /* SwiftJSONModeler For Xcode.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "SwiftJSONModeler For Xcode.entitlements"; sourceTree = "<group>"; };
57-
C9ED9CDB23D7F9D0004567A1 /* JSONSwiftModel.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = JSONSwiftModel.appex; sourceTree = BUILT_PRODUCTS_DIR; };
57+
C9ED9CDB23D7F9D0004567A1 /* SwiftJSONModeler.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = SwiftJSONModeler.appex; sourceTree = BUILT_PRODUCTS_DIR; };
5858
C9ED9CDD23D7F9D0004567A1 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
5959
C9ED9CE023D7F9D0004567A1 /* SourceEditorExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SourceEditorExtension.swift; sourceTree = "<group>"; };
6060
C9ED9CE223D7F9D0004567A1 /* SourceEditorCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SourceEditorCommand.swift; sourceTree = "<group>"; };
6161
C9ED9CE423D7F9D0004567A1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
62-
C9ED9CE523D7F9D0004567A1 /* JSONSwiftModel.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = JSONSwiftModel.entitlements; sourceTree = "<group>"; };
62+
C9ED9CE523D7F9D0004567A1 /* SwiftJSONModeler.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SwiftJSONModeler.entitlements; sourceTree = "<group>"; };
6363
/* End PBXFileReference section */
6464

6565
/* Begin PBXFrameworksBuildPhase section */
@@ -95,7 +95,7 @@
9595
isa = PBXGroup;
9696
children = (
9797
C9ED9CC223D7F9B3004567A1 /* SwiftJSONModeler For Xcode.app */,
98-
C9ED9CDB23D7F9D0004567A1 /* JSONSwiftModel.appex */,
98+
C9ED9CDB23D7F9D0004567A1 /* SwiftJSONModeler.appex */,
9999
);
100100
name = Products;
101101
sourceTree = "<group>";
@@ -129,7 +129,7 @@
129129
C9ED9CE023D7F9D0004567A1 /* SourceEditorExtension.swift */,
130130
C9ED9CE223D7F9D0004567A1 /* SourceEditorCommand.swift */,
131131
C9ED9CE423D7F9D0004567A1 /* Info.plist */,
132-
C9ED9CE523D7F9D0004567A1 /* JSONSwiftModel.entitlements */,
132+
C9ED9CE523D7F9D0004567A1 /* SwiftJSONModeler.entitlements */,
133133
);
134134
path = SwiftJSONModeler;
135135
sourceTree = "<group>";
@@ -156,9 +156,9 @@
156156
productReference = C9ED9CC223D7F9B3004567A1 /* SwiftJSONModeler For Xcode.app */;
157157
productType = "com.apple.product-type.application";
158158
};
159-
C9ED9CDA23D7F9D0004567A1 /* JSONSwiftModel */ = {
159+
C9ED9CDA23D7F9D0004567A1 /* SwiftJSONModeler */ = {
160160
isa = PBXNativeTarget;
161-
buildConfigurationList = C9ED9CE923D7F9D0004567A1 /* Build configuration list for PBXNativeTarget "JSONSwiftModel" */;
161+
buildConfigurationList = C9ED9CE923D7F9D0004567A1 /* Build configuration list for PBXNativeTarget "SwiftJSONModeler" */;
162162
buildPhases = (
163163
C9ED9CD723D7F9D0004567A1 /* Sources */,
164164
C9ED9CD823D7F9D0004567A1 /* Frameworks */,
@@ -168,9 +168,9 @@
168168
);
169169
dependencies = (
170170
);
171-
name = JSONSwiftModel;
171+
name = SwiftJSONModeler;
172172
productName = JSONSwiftModel;
173-
productReference = C9ED9CDB23D7F9D0004567A1 /* JSONSwiftModel.appex */;
173+
productReference = C9ED9CDB23D7F9D0004567A1 /* SwiftJSONModeler.appex */;
174174
productType = "com.apple.product-type.xcode-extension";
175175
};
176176
/* End PBXNativeTarget section */
@@ -205,7 +205,7 @@
205205
projectRoot = "";
206206
targets = (
207207
C9ED9CC123D7F9B3004567A1 /* SwiftJSONModeler For Xcode */,
208-
C9ED9CDA23D7F9D0004567A1 /* JSONSwiftModel */,
208+
C9ED9CDA23D7F9D0004567A1 /* SwiftJSONModeler */,
209209
);
210210
};
211211
/* End PBXProject section */
@@ -256,7 +256,7 @@
256256
/* Begin PBXTargetDependency section */
257257
C9ED9CE723D7F9D0004567A1 /* PBXTargetDependency */ = {
258258
isa = PBXTargetDependency;
259-
target = C9ED9CDA23D7F9D0004567A1 /* JSONSwiftModel */;
259+
target = C9ED9CDA23D7F9D0004567A1 /* SwiftJSONModeler */;
260260
targetProxy = C9ED9CE623D7F9D0004567A1 /* PBXContainerItemProxy */;
261261
};
262262
/* End PBXTargetDependency section */
@@ -433,18 +433,20 @@
433433
C9ED9CEA23D7F9D0004567A1 /* Debug */ = {
434434
isa = XCBuildConfiguration;
435435
buildSettings = {
436-
CODE_SIGN_ENTITLEMENTS = JSONSwiftModel/JSONSwiftModel.entitlements;
436+
CODE_SIGN_ENTITLEMENTS = SwiftJSONModeler/SwiftJSONModeler.entitlements;
437+
CODE_SIGN_IDENTITY = "Apple Development";
437438
CODE_SIGN_STYLE = Automatic;
438439
COMBINE_HIDPI_IMAGES = YES;
439440
DEVELOPMENT_TEAM = FAUSS8ZY29;
440441
ENABLE_HARDENED_RUNTIME = YES;
441-
INFOPLIST_FILE = JSONSwiftModel/Info.plist;
442+
INFOPLIST_FILE = SwiftJSONModeler/Info.plist;
442443
LD_RUNPATH_SEARCH_PATHS = (
443444
"$(inherited)",
444445
"@executable_path/../Frameworks",
445446
"@executable_path/../../../../Frameworks",
446447
);
447-
PRODUCT_BUNDLE_IDENTIFIER = com.lifu.JSONSwiftModelApp;
448+
MARKETING_VERSION = 1.0.0;
449+
PRODUCT_BUNDLE_IDENTIFIER = com.lifu.SwiftJSONModeler;
448450
PRODUCT_NAME = "$(TARGET_NAME)";
449451
SKIP_INSTALL = YES;
450452
SWIFT_VERSION = 5.0;
@@ -454,18 +456,20 @@
454456
C9ED9CEB23D7F9D0004567A1 /* Release */ = {
455457
isa = XCBuildConfiguration;
456458
buildSettings = {
457-
CODE_SIGN_ENTITLEMENTS = JSONSwiftModel/JSONSwiftModel.entitlements;
459+
CODE_SIGN_ENTITLEMENTS = SwiftJSONModeler/SwiftJSONModeler.entitlements;
460+
CODE_SIGN_IDENTITY = "Apple Development";
458461
CODE_SIGN_STYLE = Automatic;
459462
COMBINE_HIDPI_IMAGES = YES;
460463
DEVELOPMENT_TEAM = FAUSS8ZY29;
461464
ENABLE_HARDENED_RUNTIME = YES;
462-
INFOPLIST_FILE = JSONSwiftModel/Info.plist;
465+
INFOPLIST_FILE = SwiftJSONModeler/Info.plist;
463466
LD_RUNPATH_SEARCH_PATHS = (
464467
"$(inherited)",
465468
"@executable_path/../Frameworks",
466469
"@executable_path/../../../../Frameworks",
467470
);
468-
PRODUCT_BUNDLE_IDENTIFIER = com.lifu.JSONSwiftModelApp;
471+
MARKETING_VERSION = 1.0.0;
472+
PRODUCT_BUNDLE_IDENTIFIER = com.lifu.SwiftJSONModeler;
469473
PRODUCT_NAME = "$(TARGET_NAME)";
470474
SKIP_INSTALL = YES;
471475
SWIFT_VERSION = 5.0;
@@ -493,7 +497,7 @@
493497
defaultConfigurationIsVisible = 0;
494498
defaultConfigurationName = Release;
495499
};
496-
C9ED9CE923D7F9D0004567A1 /* Build configuration list for PBXNativeTarget "JSONSwiftModel" */ = {
500+
C9ED9CE923D7F9D0004567A1 /* Build configuration list for PBXNativeTarget "SwiftJSONModeler" */ = {
497501
isa = XCConfigurationList;
498502
buildConfigurations = (
499503
C9ED9CEA23D7F9D0004567A1 /* Debug */,

SwiftJSONModeler For Xcode.xcodeproj/xcshareddata/xcschemes/JSONSwiftModel.xcscheme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<BuildableReference
1717
BuildableIdentifier = "primary"
1818
BlueprintIdentifier = "C9ED9CDA23D7F9D0004567A1"
19-
BuildableName = "JSONSwiftModel.appex"
20-
BlueprintName = "JSONSwiftModel"
19+
BuildableName = "SwiftJSONModeler.appex"
20+
BlueprintName = "SwiftJSONModeler"
2121
ReferencedContainer = "container:SwiftJSONModeler For Xcode.xcodeproj">
2222
</BuildableReference>
2323
</BuildActionEntry>

SwiftJSONModeler For Xcode.xcodeproj/xcshareddata/xcschemes/JSONSwiftModelApp.xcscheme renamed to SwiftJSONModeler For Xcode.xcodeproj/xcshareddata/xcschemes/SwiftJSONModeler For Xcode.xcscheme

File renamed without changes.

SwiftJSONModeler For Xcode.xcodeproj/xcuserdata/yibin.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<key>JSONSwiftModel.xcscheme_^#shared#^_</key>
88
<dict>
99
<key>orderHint</key>
10-
<integer>1</integer>
10+
<integer>2</integer>
1111
</dict>
12-
<key>JSONSwiftModelApp.xcscheme_^#shared#^_</key>
12+
<key>SwiftJSONModeler For Xcode.xcscheme_^#shared#^_</key>
1313
<dict>
1414
<key>orderHint</key>
15-
<integer>0</integer>
15+
<integer>1</integer>
1616
</dict>
1717
</dict>
1818
<key>SuppressBuildableAutocreation</key>

SwiftJSONModeler For Xcode/ConfigUserDefault.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ConfigUserDefault: NSObject {
1414
static let shared: ConfigUserDefault = ConfigUserDefault()
1515
var userDefault: UserDefaults
1616
private override init() {
17-
userDefault = UserDefaults(suiteName: appGroupe)!
17+
userDefault = UserDefaults(suiteName: appGroupe)! // if suiteName the same as bundleId or "NSGloabDomain", wil be nil
1818
}
1919

2020
func set(confrom: [String], module: [String]) {

SwiftJSONModeler For Xcode/SwiftJSONModeler For Xcode.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<true/>
77
<key>com.apple.security.application-groups</key>
88
<array>
9-
<string>com.lifu.SwiftJSONModeler</string>
9+
<string>SwiftJSONModeler</string>
1010
</array>
1111
<key>com.apple.security.files.user-selected.read-write</key>
1212
<true/>

SwiftJSONModeler/JSONSwiftModel.entitlements renamed to SwiftJSONModeler/SwiftJSONModeler.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<true/>
77
<key>com.apple.security.application-groups</key>
88
<array>
9-
<string>com.lifu.SwiftJSONModeler</string>
9+
<string>SwiftJSONModeler</string>
1010
</array>
1111
</dict>
1212
</plist>

0 commit comments

Comments
 (0)