End of Step 6: Remove the Preview content and add entitlements

xcode15-and-vision
Alan Francis 2 years ago
parent db8378af6f
commit bde24c4bfd
  1. 36
      JustOneThing.xcodeproj/project.pbxproj
  2. 10
      JustOneThing/JustOneThing.entitlements
  3. 6
      JustOneThing/Preview Content/Preview Assets.xcassets/Contents.json
  4. 8
      JustOneThingWatch Watch App/JustOneThingWatch Watch App.entitlements
  5. 6
      JustOneThingWatch Watch App/Preview Content/Preview Assets.xcassets/Contents.json

@ -10,12 +10,10 @@
5407E5022A2A8AE200EF00B8 /* JustOneThingApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5483903A2A2A773900BF5624 /* JustOneThingApp.swift */; };
5407E5032A2A8AE700EF00B8 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5483903C2A2A773900BF5624 /* ContentView.swift */; };
5407E5042A2A8AEA00EF00B8 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5483903E2A2A773A00BF5624 /* Assets.xcassets */; };
5431ED772A2A77CA00515680 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5431ED762A2A77CA00515680 /* Preview Assets.xcassets */; };
5431ED7A2A2A77CA00515680 /* JustOneThingWatch Watch App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = 5431ED6D2A2A77C900515680 /* JustOneThingWatch Watch App.app */; platformFilter = ios; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
5483903B2A2A773900BF5624 /* JustOneThingApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5483903A2A2A773900BF5624 /* JustOneThingApp.swift */; };
5483903D2A2A773900BF5624 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5483903C2A2A773900BF5624 /* ContentView.swift */; };
5483903F2A2A773A00BF5624 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5483903E2A2A773A00BF5624 /* Assets.xcassets */; };
548390432A2A773A00BF5624 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 548390422A2A773A00BF5624 /* Preview Assets.xcassets */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@ -43,14 +41,13 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
5407E5062A35B96E00EF00B8 /* JustOneThingWatch Watch App.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "JustOneThingWatch Watch App.entitlements"; sourceTree = "<group>"; };
5431ED6D2A2A77C900515680 /* JustOneThingWatch Watch App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "JustOneThingWatch Watch App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
5431ED762A2A77CA00515680 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
548390372A2A773900BF5624 /* JustOneThing.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JustOneThing.app; sourceTree = BUILT_PRODUCTS_DIR; };
5483903A2A2A773900BF5624 /* JustOneThingApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JustOneThingApp.swift; sourceTree = "<group>"; };
5483903C2A2A773900BF5624 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
5483903E2A2A773A00BF5624 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
548390402A2A773A00BF5624 /* JustOneThing.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = JustOneThing.entitlements; sourceTree = "<group>"; };
548390422A2A773A00BF5624 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@ -84,19 +81,11 @@
5431ED6E2A2A77C900515680 /* JustOneThingWatch Watch App */ = {
isa = PBXGroup;
children = (
5431ED752A2A77CA00515680 /* Preview Content */,
5407E5062A35B96E00EF00B8 /* JustOneThingWatch Watch App.entitlements */,
);
path = "JustOneThingWatch Watch App";
sourceTree = "<group>";
};
5431ED752A2A77CA00515680 /* Preview Content */ = {
isa = PBXGroup;
children = (
5431ED762A2A77CA00515680 /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
5483902E2A2A773900BF5624 = {
isa = PBXGroup;
children = (
@ -120,19 +109,10 @@
isa = PBXGroup;
children = (
548390402A2A773A00BF5624 /* JustOneThing.entitlements */,
548390412A2A773A00BF5624 /* Preview Content */,
);
path = JustOneThing;
sourceTree = "<group>";
};
548390412A2A773A00BF5624 /* Preview Content */ = {
isa = PBXGroup;
children = (
548390422A2A773A00BF5624 /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@ -215,7 +195,6 @@
buildActionMask = 2147483647;
files = (
5407E5042A2A8AEA00EF00B8 /* Assets.xcassets in Resources */,
5431ED772A2A77CA00515680 /* Preview Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -223,7 +202,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
548390432A2A773A00BF5624 /* Preview Assets.xcassets in Resources */,
5483903F2A2A773A00BF5624 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
@ -266,9 +244,10 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = "JustOneThingWatch Watch App/JustOneThingWatch Watch App.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"JustOneThingWatch Watch App/Preview Content\"";
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = 37UC5MW6PT;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
@ -296,9 +275,10 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = "JustOneThingWatch Watch App/JustOneThingWatch Watch App.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"JustOneThingWatch Watch App/Preview Content\"";
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = 37UC5MW6PT;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
@ -440,7 +420,7 @@
CODE_SIGN_ENTITLEMENTS = JustOneThing/JustOneThing.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"JustOneThing/Preview Content\"";
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = 37UC5MW6PT;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
@ -481,7 +461,7 @@
CODE_SIGN_ENTITLEMENTS = JustOneThing/JustOneThing.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"JustOneThing/Preview Content\"";
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = 37UC5MW6PT;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;

@ -2,9 +2,11 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<array/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
</dict>
</plist>

@ -1,6 +0,0 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.application-groups</key>
<array/>
</dict>
</plist>

@ -1,6 +0,0 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading…
Cancel
Save