Skip to content

Commit cadc12c

Browse files
author
Richard Chin
committed
update project
1 parent 01a8a75 commit cadc12c

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

SailsSDKDemo.xcodeproj/project.pbxproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
isa = PBXProject;
198198
attributes = {
199199
LastUpgradeCheck = 0510;
200-
ORGANIZATIONNAME = Robert.Hsueh;
200+
ORGANIZATIONNAME = "SAILS Tech.";
201201
TargetAttributes = {
202202
E1FCF421196A7D5100A5C4B9 = {
203203
DevelopmentTeam = 8QDRY8G548;
@@ -371,6 +371,7 @@
371371
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
372372
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
373373
DEVELOPMENT_TEAM = 8QDRY8G548;
374+
ENABLE_BITCODE = YES;
374375
FRAMEWORK_SEARCH_PATHS = (
375376
"$(inherited)",
376377
"$(PROJECT_DIR)/SailsSDKDemo",
@@ -403,6 +404,7 @@
403404
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
404405
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
405406
DEVELOPMENT_TEAM = 8QDRY8G548;
407+
ENABLE_BITCODE = YES;
406408
FRAMEWORK_SEARCH_PATHS = (
407409
"$(inherited)",
408410
"$(PROJECT_DIR)/SailsSDKDemo",

SailsSDKDemo.xcodeproj/xcuserdata/richard.xcuserdatad/xcschemes/SailsSDKDemo.xcscheme

+7-4
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
</BuildActionEntries>
3838
</BuildAction>
3939
<TestAction
40+
buildConfiguration = "Debug"
4041
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4142
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42-
shouldUseLaunchSchemeArgsEnv = "YES"
43-
buildConfiguration = "Debug">
43+
shouldUseLaunchSchemeArgsEnv = "YES">
4444
<Testables>
4545
<TestableReference
4646
skipped = "NO">
@@ -62,15 +62,18 @@
6262
ReferencedContainer = "container:SailsSDKDemo.xcodeproj">
6363
</BuildableReference>
6464
</MacroExpansion>
65+
<AdditionalOptions>
66+
</AdditionalOptions>
6567
</TestAction>
6668
<LaunchAction
69+
buildConfiguration = "Debug"
6770
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
6871
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
6972
launchStyle = "0"
7073
useCustomWorkingDirectory = "NO"
71-
buildConfiguration = "Debug"
7274
ignoresPersistentStateOnLaunch = "NO"
7375
debugDocumentVersioning = "YES"
76+
debugServiceExtension = "internal"
7477
allowLocationSimulation = "YES">
7578
<BuildableProductRunnable
7679
runnableDebuggingMode = "0">
@@ -86,10 +89,10 @@
8689
</AdditionalOptions>
8790
</LaunchAction>
8891
<ProfileAction
92+
buildConfiguration = "Release"
8993
shouldUseLaunchSchemeArgsEnv = "YES"
9094
savedToolIdentifier = ""
9195
useCustomWorkingDirectory = "NO"
92-
buildConfiguration = "Release"
9396
debugDocumentVersioning = "YES">
9497
<BuildableProductRunnable
9598
runnableDebuggingMode = "0">

SailsSDKDemo/MapViewController.m

+4-3
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ - (void)initSails
107107
accuracyCirclePaint.fillColor = [UIColor colorWithRed:53/255.0 green:179/255.0 blue:229/255.0 alpha:0/255.0];
108108
accuracyCirclePaint.strokeWidth = 0;
109109

110-
[sailsMapView setLocationMarker:[UIImage imageNamed:@"myloc_arr"] arrowImage:[UIImage imageNamed:@"myloc_arr"] accuracyCirclePaint:accuracyCirclePaint iconFrame:100]; //get marker manager
110+
[sailsMapView setLocationMarker:[UIImage imageNamed:@"myloc_arr"] arrowImage:[UIImage imageNamed:@"myloc_arr"] accuracyCirclePaint:accuracyCirclePaint iconFrame:45]; //get marker manager
111111
sailsMarkerManager = [sailsMapView getMarkerManager];
112112
//get pin marker manager
113113
sailsPinMarkerManager = [sailsMapView getPinMarkerManager];
@@ -121,8 +121,8 @@ - (void)initSails
121121
__weak SailsLocationMapView *weakSailsMapView = sailsMapView;
122122
__weak MapViewController *weakSelf = self;
123123

124-
[sails loadCloudBuilding:@"e80fb977d5774a8b972c8e3f56b6b38d"
125-
buildingID:@"57f73cfc08920f6b4b000639"
124+
[sails loadCloudBuilding:@"81ffc8cb1ed9450fa7e4d3ed7917472e"
125+
buildingID:@"59a537aa196c4ab1830002c8"
126126
success:^(void){
127127
floorNameList = [sails getFloorNameList];
128128
[weakSailsMapView loadFloorMap:[floorNameList firstObject]];
@@ -512,6 +512,7 @@ - (IBAction)onNaviBarButtonSwitchClick:(id)sender
512512
[self animateFunctionViewHorizontal:naviView Hidden:true];
513513
}
514514
[sails startLocatingEngine];
515+
// [sails setMode:WITH_GPS];
515516
[sailsMapView setLocatorMarkerVisible:true];
516517
[sailsMapView setMapControlMode:LocationCenterLockMode | FollowPhoneHeagingMode];
517518
lockCenterButton.hidden = false;

0 commit comments

Comments
 (0)