Skip to content

Commit 7044a2f

Browse files
committed
v1.0b8 in properties, and added a build phase script that warns user to sign the build
1 parent 9fa7b2a commit 7044a2f

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

Desktop Viewer/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<key>CFBundleSignature</key>
8383
<string>????</string>
8484
<key>CFBundleVersion</key>
85-
<string>1.0b8-pre</string>
85+
<string>1.0b8</string>
8686
<key>NSMainNibFile</key>
8787
<string>MainMenu</string>
8888
<key>NSPrincipalClass</key>

Desktop Viewer/NSLogger.xcodeproj/project.pbxproj

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
3D7C74FD0F3CA8AB006B55AD /* LoggerConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D7C74FC0F3CA8AB006B55AD /* LoggerConnection.m */; };
2828
3D7C75330F401B35006B55AD /* LoggerNativeConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D7C75320F401B35006B55AD /* LoggerNativeConnection.m */; };
2929
3D7C75510F4025A7006B55AD /* LoggerTransport.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D7C75500F4025A7006B55AD /* LoggerTransport.m */; };
30-
3D7C75560F4026D2006B55AD /* LoggerNativeTransport.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D7C75550F4026D2006B55AD /* LoggerNativeTransport.m */; };
3130
3D8B63DD126B79CA00659751 /* LoggerSplitView.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D8B63DC126B79CA00659751 /* LoggerSplitView.m */; };
3231
3DAB6E2E0F2FA0BA00BB3236 /* LoggerAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DAB6E2D0F2FA0BA00BB3236 /* LoggerAppDelegate.m */; };
3332
3DADCBA0125FC3B200807A7D /* ValueTransformers.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DADCB9F125FC3B200807A7D /* ValueTransformers.m */; };
@@ -40,6 +39,7 @@
4039
3DE8CE7D12AE4A60005C83D0 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 3D6ED59C12A3AE0C0005DD57 /* Credits.rtf */; };
4140
3DE8CE7E12AE4A67005C83D0 /* relaunch.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DE8CE7312AE49E7005C83D0 /* relaunch.m */; };
4241
3DE8CEEC12AE50A8005C83D0 /* relaunch in CopyFiles */ = {isa = PBXBuildFile; fileRef = 3DE8CE7812AE4A17005C83D0 /* relaunch */; };
42+
3DEE27B712B773D8009ADA67 /* LoggerNativeTransport.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D7C75550F4026D2006B55AD /* LoggerNativeTransport.m */; };
4343
8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
4444
8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
4545
/* End PBXBuildFile section */
@@ -369,6 +369,7 @@
369369
isa = PBXNativeTarget;
370370
buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "NSLogger" */;
371371
buildPhases = (
372+
3DEE27A312B771DC009ADA67 /* ShellScript */,
372373
8D1107290486CEB800E47090 /* Resources */,
373374
8D11072C0486CEB800E47090 /* Sources */,
374375
8D11072E0486CEB800E47090 /* Frameworks */,
@@ -455,6 +456,22 @@
455456
};
456457
/* End PBXResourcesBuildPhase section */
457458

459+
/* Begin PBXShellScriptBuildPhase section */
460+
3DEE27A312B771DC009ADA67 /* ShellScript */ = {
461+
isa = PBXShellScriptBuildPhase;
462+
buildActionMask = 2147483647;
463+
files = (
464+
);
465+
inputPaths = (
466+
);
467+
outputPaths = (
468+
);
469+
runOnlyForDeploymentPostprocessing = 0;
470+
shellPath = /bin/sh;
471+
shellScript = "#!/bin/sh\nif [ -z \"$CODE_SIGN_IDENTITY\" ] ; then\n\tosascript -e \"tell application \\\"Xcode\\\"\n\t\tactivate\n\t\tdisplay alert \\\"Your build is not code signed\\\" message \\\"Signing your build will prevent an issue with SSL connections failing the first time and requiring a NSLogger restart.\\n\\nTo sign your build, open the NSLogger target and select your developer certificate in the Code Signing Identity build setting.\\n\\nFurther instructions can be found in the README.txt file in the project folder.\\\" as warning\n\t\tend tell\"\nfi\n";
472+
};
473+
/* End PBXShellScriptBuildPhase section */
474+
458475
/* Begin PBXSourcesBuildPhase section */
459476
3DE8CE7512AE4A17005C83D0 /* Sources */ = {
460477
isa = PBXSourcesBuildPhase;
@@ -476,7 +493,6 @@
476493
3D7C74FD0F3CA8AB006B55AD /* LoggerConnection.m in Sources */,
477494
3D7C75330F401B35006B55AD /* LoggerNativeConnection.m in Sources */,
478495
3D7C75510F4025A7006B55AD /* LoggerTransport.m in Sources */,
479-
3D7C75560F4026D2006B55AD /* LoggerNativeTransport.m in Sources */,
480496
3DDAE1630F405CE5001B1408 /* LoggerIPConnection.m in Sources */,
481497
3DC55EF30F436BBA005C61FD /* LoggerMessageCell.m in Sources */,
482498
3D18EFA10F553B3800EC6DCC /* LoggerUtils.m in Sources */,
@@ -488,6 +504,7 @@
488504
3D8B63DD126B79CA00659751 /* LoggerSplitView.m in Sources */,
489505
3DD61AB7127F7617009871F1 /* LoggerClientInfoCell.m in Sources */,
490506
3DBB562712829BCC004F729D /* LoggerMarkerCell.m in Sources */,
507+
3DEE27B712B773D8009ADA67 /* LoggerNativeTransport.m in Sources */,
491508
);
492509
runOnlyForDeploymentPostprocessing = 0;
493510
};
@@ -588,7 +605,6 @@
588605
isa = XCBuildConfiguration;
589606
buildSettings = {
590607
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
591-
CODE_SIGN_IDENTITY = "iPhone Developer: Florent Pillet (NTPTWU4424)";
592608
GCC_C_LANGUAGE_STANDARD = c99;
593609
GCC_OPTIMIZATION_LEVEL = 0;
594610
GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
@@ -606,7 +622,6 @@
606622
isa = XCBuildConfiguration;
607623
buildSettings = {
608624
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
609-
CODE_SIGN_IDENTITY = "iPhone Developer: Florent Pillet (NTPTWU4424)";
610625
GCC_C_LANGUAGE_STANDARD = c99;
611626
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
612627
GCC_WARN_ABOUT_RETURN_TYPE = YES;

0 commit comments

Comments
 (0)