Skip to content

Commit fb01705

Browse files
committed
Merge pull request #710 from ParsePlatform/nlutsenko.starters.cleanup
Cleanup starter projects.
2 parents 5eab93a + fc77930 commit fb01705

File tree

8 files changed

+5
-50
lines changed

8 files changed

+5
-50
lines changed

ParseStarterProject/OSX/ParseOSXStarterProject/ParseOSXStarterProject/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification {
3131
PFACL *defaultACL = [PFACL ACL];
3232

3333
// If you would like all objects to be private by default, remove this line.
34-
[defaultACL setPublicReadAccess:YES];
34+
defaultACL.publicReadAccess = YES;
3535

3636
[PFACL setDefaultACL:defaultACL withAccessForCurrentUser:YES];
3737

ParseStarterProject/iOS/ParseStarterProject-Swift/ParseStarterProject-Swift.xcodeproj/project.pbxproj

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@
147147
81BA81411A49DA1800E65899 /* Sources */,
148148
81BA81421A49DA1800E65899 /* Frameworks */,
149149
81BA81431A49DA1800E65899 /* Resources */,
150-
81CC85E11A49F6D40076DE19 /* Upload Symbol Files */,
151150
);
152151
buildRules = (
153152
);
@@ -222,20 +221,6 @@
222221
shellPath = /bin/sh;
223222
shellScript = "if [[ ! -d \"Bolts.framework\" ]]; then\n cp -R ../../../Carthage/Checkouts/Bolts-iOS/build/ios/Bolts.framework .\nfi\n";
224223
};
225-
81CC85E11A49F6D40076DE19 /* Upload Symbol Files */ = {
226-
isa = PBXShellScriptBuildPhase;
227-
buildActionMask = 2147483647;
228-
files = (
229-
);
230-
inputPaths = (
231-
);
232-
name = "Upload Symbol Files";
233-
outputPaths = (
234-
);
235-
runOnlyForDeploymentPostprocessing = 0;
236-
shellPath = /bin/sh;
237-
shellScript = "# This script will upload symbol files for your application,\n# so all your crash reports are going to be symbolicated\n\n# Important!\n# Before using the script, please initialize CloudCode folder and replace <path_to_cloudcode_folder> with the path to it\n#\n# Read more on Parse.com - https://parse.com/apps/quickstart#analytics/crashreporting/ios/\n############################################################\n\n\n# export PATH=/usr/local/bin:$PATH\n# cd <path_to_cloudcode_folder>\n\n# parse symbols -p \"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}\"\n";
238-
};
239224
/* End PBXShellScriptBuildPhase section */
240225

241226
/* Begin PBXSourcesBuildPhase section */

ParseStarterProject/iOS/ParseStarterProject-Swift/ParseStarterProject/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
4545
// If you would like all objects to be private by default, remove this line.
4646
defaultACL.publicReadAccess = true
4747

48-
PFACL.setDefaultACL(defaultACL, withAccessForCurrentUser:true)
48+
PFACL.setDefaultACL(defaultACL, withAccessForCurrentUser: true)
4949

5050
if application.applicationState != UIApplicationState.Background {
5151
// Track an app open here if we launch with a push, unless

ParseStarterProject/iOS/ParseStarterProject/ParseStarterProject.xcodeproj/project.pbxproj

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@
212212
09ABC06913A1D52D009C3FCF /* Sources */,
213213
09ABC06A13A1D52D009C3FCF /* Frameworks */,
214214
09ABC06B13A1D52D009C3FCF /* Resources */,
215-
81A6CA5F1A2EA3D600297C39 /* Upload Symbol Files */,
216215
);
217216
buildRules = (
218217
);
@@ -285,20 +284,6 @@
285284
shellPath = /bin/sh;
286285
shellScript = "if [[ ! -d \"Bolts.framework\" ]]; then\n cp -R ../../../Carthage/Checkouts/Bolts-iOS/build/ios/Bolts.framework .\nfi\n";
287286
};
288-
81A6CA5F1A2EA3D600297C39 /* Upload Symbol Files */ = {
289-
isa = PBXShellScriptBuildPhase;
290-
buildActionMask = 2147483647;
291-
files = (
292-
);
293-
inputPaths = (
294-
);
295-
name = "Upload Symbol Files";
296-
outputPaths = (
297-
);
298-
runOnlyForDeploymentPostprocessing = 0;
299-
shellPath = /bin/sh;
300-
shellScript = "# This script will upload symbol files for your application,\n# so all your crash reports are going to be symbolicated\n\n# Important!\n# Before using the script, please initialize CloudCode folder and replace <path_to_cloudcode_folder> with the path to it\n#\n# Read more on Parse.com - https://parse.com/apps/quickstart#analytics/crashreporting/ios/\n############################################################\n\n\n# export PATH=/usr/local/bin:$PATH\n# cd <path_to_cloudcode_folder>\n\n# parse symbols -p \"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}\"\n";
301-
};
302287
/* End PBXShellScriptBuildPhase section */
303288

304289
/* Begin PBXSourcesBuildPhase section */

ParseStarterProject/iOS/ParseStarterProject/ParseStarterProject/ParseStarterProjectAppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
4242
PFACL *defaultACL = [PFACL ACL];
4343

4444
// If you would like all objects to be private by default, remove this line.
45-
[defaultACL setPublicReadAccess:YES];
45+
defaultACL.publicReadAccess = YES;
4646

4747
[PFACL setDefaultACL:defaultACL withAccessForCurrentUser:YES];
4848

ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3232

3333
let defaultACL = PFACL();
3434
defaultACL.publicReadAccess = true // If you would like all objects to be private by default, remove this line.
35-
PFACL.setDefaultACL(defaultACL, withAccessForCurrentUser:true)
35+
PFACL.setDefaultACL(defaultACL, withAccessForCurrentUser: true)
3636

3737
return true
3838
}

ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.pbxproj

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@
297297
81BA81411A49DA1800E65899 /* Sources */,
298298
81BA81421A49DA1800E65899 /* Frameworks */,
299299
81BA81431A49DA1800E65899 /* Resources */,
300-
81CC85E11A49F6D40076DE19 /* Upload Symbol Files */,
301300
81411DCA1BC364DC0004BE84 /* Embed Watch Content */,
302301
);
303302
buildRules = (
@@ -397,20 +396,6 @@
397396
shellPath = /bin/sh;
398397
shellScript = "if [[ ! -d \"Frameworks/iOS/Bolts.framework\" ]]; then\n mkdir -p Frameworks/iOS\n cp -R ../../../Carthage/Checkouts/Bolts-iOS/build/ios/Bolts.framework ./Frameworks/iOS\nfi\n\nif [[ ! -d \"Frameworks/watchOS/Bolts.framework\" ]]; then\n mkdir -p Frameworks/watchOS\n cp -R ../../../Carthage/Checkouts/Bolts-iOS/build/watchOS/Bolts.framework ./Frameworks/watchOS\nfi\n";
399398
};
400-
81CC85E11A49F6D40076DE19 /* Upload Symbol Files */ = {
401-
isa = PBXShellScriptBuildPhase;
402-
buildActionMask = 2147483647;
403-
files = (
404-
);
405-
inputPaths = (
406-
);
407-
name = "Upload Symbol Files";
408-
outputPaths = (
409-
);
410-
runOnlyForDeploymentPostprocessing = 0;
411-
shellPath = /bin/sh;
412-
shellScript = "# This script will upload symbol files for your application,\n# so all your crash reports are going to be symbolicated\n\n# Important!\n# Before using the script, please initialize CloudCode folder and replace <path_to_cloudcode_folder> with the path to it\n#\n# Read more on Parse.com - https://parse.com/apps/quickstart#analytics/crashreporting/ios/\n############################################################\n\n\n# export PATH=/usr/local/bin:$PATH\n# cd <path_to_cloudcode_folder>\n\n# parse symbols -p \"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}\"\n";
413-
};
414399
/* End PBXShellScriptBuildPhase section */
415400

416401
/* Begin PBXSourcesBuildPhase section */

ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarterProject/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
4545
// If you would like all objects to be private by default, remove this line.
4646
defaultACL.publicReadAccess = true
4747

48-
PFACL.setDefaultACL(defaultACL, withAccessForCurrentUser:true)
48+
PFACL.setDefaultACL(defaultACL, withAccessForCurrentUser: true)
4949

5050
if application.applicationState != UIApplicationState.Background {
5151
// Track an app open here if we launch with a push, unless

0 commit comments

Comments
 (0)