Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
Fix public header import
Browse files Browse the repository at this point in the history
Add clang static analyzer to build
  • Loading branch information
Joel Fischer committed Jul 15, 2015
1 parent 03687ad commit 04b685f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 36 deletions.
5 changes: 5 additions & 0 deletions SuperSocket/SuperSocket.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@
5D4833211A9D074D00252386 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_STATIC_ANALYZER_MODE = deep;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand All @@ -428,13 +429,15 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.livio.SuperSocket;
PRODUCT_NAME = SuperSocket;
RUN_CLANG_STATIC_ANALYZER = YES;
SKIP_INSTALL = YES;
};
name = Debug;
};
5D4833221A9D074D00252386 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_STATIC_ANALYZER_MODE = deep;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand All @@ -445,6 +448,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.livio.SuperSocket;
PRODUCT_NAME = SuperSocket;
RUN_CLANG_STATIC_ANALYZER = YES;
SKIP_INSTALL = YES;
};
name = Release;
Expand Down Expand Up @@ -504,6 +508,7 @@
5D77F9B21B55992D0013F9A7 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,6 @@
ReferencedContainer = "container:SuperSocket.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5D77F9A71B55992D0013F9A7"
BuildableName = "SuperSocketTests.xctest"
BlueprintName = "SuperSocketTests"
ReferencedContainer = "container:SuperSocket.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand All @@ -42,31 +28,12 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5D77F9A71B55992D0013F9A7"
BuildableName = "SuperSocketTests.xctest"
BlueprintName = "SuperSocketTests"
ReferencedContainer = "container:SuperSocket.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5D4833091A9D074D00252386"
BuildableName = "SuperSocket.framework"
BlueprintName = "SuperSocket"
ReferencedContainer = "container:SuperSocket.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
Expand Down Expand Up @@ -108,6 +75,7 @@
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
customArchiveName = "SuperSocket"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
6 changes: 4 additions & 2 deletions SuperSocket/SuperSocket/SuperSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ FOUNDATION_EXPORT const unsigned char SuperSocketVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <CocoaAsyncSocket/PublicHeader.h>

#import <CocoaAsyncSocket/GCDAsyncSocket.h>
#import <CocoaAsyncSocket/GCDAsyncUdpSocket.h>
#import <SuperSocket/STCPSocket.h>
#import <SuperSocket/STCPSocketDelegate.h>
#import <SuperSocket/SUDPSocket.h>
#import <SuperSocket/SUDPSocketDelegate.h>

0 comments on commit 04b685f

Please sign in to comment.