summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Miller <George@livio.io>2022-06-28 14:03:54 -0400
committerGeorge Miller <George@livio.io>2022-06-28 14:03:54 -0400
commit36cc544a143ecd417e274ce08baab586581c2c46 (patch)
treefa96b9a3610629cc1c39efdfda1f2ed2ad913925
parent571c05e90ed2d3fa8c3a54f49f6110f3ec712b20 (diff)
downloadsdl_ios-36cc544a143ecd417e274ce08baab586581c2c46.tar.gz
update per review
-rw-r--r--SmartDeviceLink/public/SmartDeviceLink.h2
-rwxr-xr-xscripts/project_file_header_fix.sh13
2 files changed, 8 insertions, 7 deletions
diff --git a/SmartDeviceLink/public/SmartDeviceLink.h b/SmartDeviceLink/public/SmartDeviceLink.h
index 8882ae147..6c69276ac 100644
--- a/SmartDeviceLink/public/SmartDeviceLink.h
+++ b/SmartDeviceLink/public/SmartDeviceLink.h
@@ -488,6 +488,7 @@ FOUNDATION_EXPORT const unsigned char SmartDeviceLinkVersionString[];
#pragma mark Touches
#import "SDLPinchGesture.h"
#import "SDLTouch.h"
+#import "SDLCapacityUnit.h"
#pragma mark - Utilities
#import "NSNumber+NumberType.h"
@@ -497,6 +498,7 @@ FOUNDATION_EXPORT const unsigned char SmartDeviceLinkVersionString[];
#import "SDLNotificationConstants.h"
#import "SDLStreamingMediaManagerConstants.h"
#import "SDLVersion.h"
+#import "SDLSystemInfo.h"
#pragma mark Notifications
#import "SDLRPCNotificationNotification.h"
diff --git a/scripts/project_file_header_fix.sh b/scripts/project_file_header_fix.sh
index 947e6f1b9..f57ea5c53 100755
--- a/scripts/project_file_header_fix.sh
+++ b/scripts/project_file_header_fix.sh
@@ -14,8 +14,8 @@
# Any file located in private/ needs to NOT be referenced in the project header
project_file="SmartDeviceLink-iOS.xcodeproj/project.pbxproj"
-target_path="SmartDeviceLink/"
-project_header=$target_path"public/SmartDeviceLink.h"
+target_path="SmartDeviceLink"
+project_header=$target_path"/public/SmartDeviceLink.h"
# A utility function for prompting the user Y/N
@@ -115,7 +115,7 @@ if [ ! -z "$broken_file_list" ]; then
header_type="${header_file##*==}"
# Figure out where the file should be located
- destiny=$target_path$header_type"/"
+ destiny=$target_path"/"$header_type"/"
# Move the file to the correct destination
mv -f $header_filepath $destiny
@@ -162,7 +162,7 @@ else
fi
# Find all header files in public/
-public_file_list=$(find "$target_path"public -name '*.h')
+public_file_list=$(find "$target_path"/public -name '*.h')
if [ ! -z "$public_file_list" ]; then
for header_file in $public_file_list
@@ -191,7 +191,7 @@ else
fi
# Find all header files in private/
-private_file_list=$(find "$target_path"private -name '*.h')
+private_file_list=$(find "$target_path"/private -name '*.h')
if [ ! -z "$private_file_list" ]; then
for private_header_file in $private_file_list
@@ -220,5 +220,4 @@ else
echo "No private header files were found in "$project_header
fi
-echo "Done checking public / private headers for correctness..."
-read user_input
+echo "Done checking public / private headers for correctness"