Skip to content

Commit

Permalink
import only IOBluetooth framework as complete Foundation is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Feb 1, 2017
1 parent 41a7164 commit 8aa5c92
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion blueutil.m
Expand Up @@ -10,7 +10,7 @@

#define VERSION "1.0.0"

#import <Foundation/Foundation.h>
#import <IOBluetooth/IOBluetooth.h>

// private methods
int IOBluetoothPreferencesAvailable();
Expand Down
4 changes: 0 additions & 4 deletions blueutil.xcodeproj/project.pbxproj
Expand Up @@ -8,7 +8,6 @@

/* Begin PBXBuildFile section */
8DD76F9A0486AA7600D96B5E /* blueutil.m in Sources */ = {isa = PBXBuildFile; fileRef = 08FB7796FE84155DC02AAC07 /* blueutil.m */; settings = {ATTRIBUTES = (); }; };
8DD76F9C0486AA7600D96B5E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 08FB779EFE84155DC02AAC07 /* Foundation.framework */; };
B2A6DE1312F4624400C5007F /* IOBluetooth.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B2A6DE1212F4624400C5007F /* IOBluetooth.framework */; };
/* End PBXBuildFile section */

Expand All @@ -26,7 +25,6 @@

/* Begin PBXFileReference section */
08FB7796FE84155DC02AAC07 /* blueutil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = blueutil.m; sourceTree = "<group>"; };
08FB779EFE84155DC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
32A70AAB03705E1F00C91783 /* blueutil_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = blueutil_Prefix.pch; sourceTree = "<group>"; };
8DD76FA10486AA7600D96B5E /* blueutil */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = blueutil; sourceTree = BUILT_PRODUCTS_DIR; };
B2A6DE1212F4624400C5007F /* IOBluetooth.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOBluetooth.framework; path = System/Library/Frameworks/IOBluetooth.framework; sourceTree = SDKROOT; };
Expand All @@ -37,7 +35,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
8DD76F9C0486AA7600D96B5E /* Foundation.framework in Frameworks */,
B2A6DE1312F4624400C5007F /* IOBluetooth.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -67,7 +64,6 @@
08FB779DFE84155DC02AAC07 /* External Frameworks and Libraries */ = {
isa = PBXGroup;
children = (
08FB779EFE84155DC02AAC07 /* Foundation.framework */,
B2A6DE1212F4624400C5007F /* IOBluetooth.framework */,
);
name = "External Frameworks and Libraries";
Expand Down
2 changes: 1 addition & 1 deletion blueutil_Prefix.pch
Expand Up @@ -3,5 +3,5 @@
//

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <IOBluetooth/IOBluetooth.h>
#endif

0 comments on commit 8aa5c92

Please sign in to comment.