<commit_before>How to test GPS in iOS Simulator
================================

Summary
-------
There are two ways to fake location in iOS apps - **setting it manually** or 
**defining a path** using 
[GPS eXchange files](http://www.topografix.com/gpx.asp). 

Manual method
-------------
First step is to run MyGuide app in iOS Simulator directly from Xcode. To do it 
select *Product->Run* from menu bar. When app loads we get access to location 
settings in both, Xcode and Simulator. The latter lets us simulate any location 
by defining latitude and longitude explicitly *Debug->Location->Custom 
Location*. Simulator location settings are quite restricted as we can use only 
pre-defined routes or define single custom position.

Using GPX path files
--------------------
We can use Xcode to simulate entire path. The simplest method is to create GPX 
file using [path generator](http://www.bikehike.co.uk/mapview.php) and import 
resulting file to Xcode workspace from *Debug->Simulate Location->Add GPX File 
to Workspace*. Next you have to confirm adding file to workspace, click 
"Finish" and finally, select new path from Debug->Simulate Location->*Our path 
name*.

Last step is to remove file using *Source Control->Discard All Changes* This is 
necessary if you want to pull new version of MyGuide since Xcode won't let you 
checkout new version until changes to project are discarded (or commited).
<commit_msg>Changed address of GPX files generator<commit_after>How to test GPS in iOS Simulator
================================

Summary
-------
There are two ways to fake location in iOS apps - **setting it manually** or 
**defining a path** using 
[GPS eXchange files](http://www.topografix.com/gpx.asp). 

Manual method
-------------
First step is to run MyGuide app in iOS Simulator directly from Xcode. To do it 
select *Product->Run* from menu bar. When app loads we get access to location 
settings in both, Xcode and Simulator. The latter lets us simulate any location 
by defining latitude and longitude explicitly *Debug->Location->Custom 
Location*. Simulator location settings are quite restricted as we can use only 
pre-defined routes or define single custom position.

Using GPX path files
--------------------
We can use Xcode to simulate entire path. The simplest method is to create GPX 
file using [path generator](http://pifpafpuf.de/cycleroute/map) and import 
resulting file to Xcode workspace from *Debug->Simulate Location->Add GPX File 
to Workspace*. Next you have to confirm adding file to workspace, click 
"Finish" and finally, select new path from Debug->Simulate Location->*Our path 
name*.

Last step is to remove file using *Source Control->Discard All Changes* This is 
necessary if you want to pull new version of MyGuide since Xcode won't let you 
checkout new version until changes to project are discarded (or commited).

{'fraction_non_alphanumeric': 0.10500695410292073, 'fraction_numerical': 0.0, 'mean_word_length': 3.876271186440678, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '877077', 'n_tokens_mistral': 752, 'n_tokens_neox': 727, 'n_words': 397}