# MyLocations V5.0 Running on iPad Mini2 wi-fi only - not timing out

**URL:** <https://forums.kodeco.com/t/mylocations-v5-0-running-on-ipad-mini2-wi-fi-only-not-timing-out/27139>\
**Category:** iOS Apprentice\
**Created:** [March 12, 2017, 9:29pm UTC](https://forums.kodeco.com/t/mylocations-v5-0-running-on-ipad-mini2-wi-fi-only-not-timing-out/27139 "2017-03-12T21:29:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerrykurtz](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gerrykurtz/32/59992_2.png) [@gerrykurtz](https://forums.kodeco.com/u/gerrykurtz)\
**Post date:** [March 12, 2017, 9:29pm UTC](https://forums.kodeco.com/t/mylocations-v5-0-running-on-ipad-mini2-wi-fi-only-not-timing-out/27139/1 "2017-03-12T21:29:24Z")

</div>

I have been testing MyLocations on my iPad Mini2 wi-fi only.  
The main problem that I experience is that when I tap “Get Location”: button text changes to “Stop”  
I can get a location and street address, but the “Get Location” never changes back to “Get Location”. It never ‘times out’. (I can get it to time out in the simulator.)

When I switch over to ‘Map’ and tap on the ‘user’ bar button, I can see my ‘pin’ on the map but I can also and can also see the blue dot dancing around.

I have also pressed the ‘Stop’ button and switched over to ‘Map’ but the blue dot is still dancing around.

Is this a situation inherent with wi-fi only? I do not have any other devices available to test.

Thanks, gerry

---

<div class="post-metadata">

**Author:** ![hollance](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hollance/32/109009_2.png) [@hollance](https://forums.kodeco.com/u/hollance)\
**Post date:** [March 13, 2017, 9:37am UTC](https://forums.kodeco.com/t/mylocations-v5-0-running-on-ipad-mini2-wi-fi-only-not-timing-out/27139/2 "2017-03-13T09:37:28Z")

</div>

It’s possible that this particular situation isn’t handled by the code. If you still have the print() statements in the location code, I’d be interested to see what it prints out when you’re using the device and it does not time out (you’d have to have your device connected to your Mac and run the app from Xcode to see these print messages).

---

<div class="post-metadata">

**Author:** ![gerrykurtz](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gerrykurtz/32/59992_2.png) [@gerrykurtz](https://forums.kodeco.com/u/gerrykurtz)\
**Post date:** [March 13, 2017, 5:46pm UTC](https://forums.kodeco.com/t/mylocations-v5-0-running-on-ipad-mini2-wi-fi-only-not-timing-out/27139/3 "2017-03-13T17:46:21Z")

</div>

Thanks Matthijs,  
Here is the print out. I deleted the app from the iPad, and ran my version of Locations with no previous data. This time I did get a '\*\*\* Time out ’ message - the first time that has occurred. But the ‘Stop’ never reverted back to ‘Get My Location’.

CoreData: annotation: Connecting to sqlite database file at “/var/mobile/Containers/Data/Application/BF2189B3-0064-4650-90F2-0594D2A658D5/Library/Application Support/DataModel.sqlite”  
CoreData: annotation: creating schema.  
CoreData: sql: pragma page\_size=4096  
CoreData: sql: pragma auto\_vacuum=2  
CoreData: sql: BEGIN EXCLUSIVE  
CoreData: sql: SELECT TBL\_NAME FROM SQLITE\_MASTER WHERE TBL\_NAME = ‘Z\_METADATA’  
CoreData: sql: CREATE TABLE ZLOCATION ( Z\_PK INTEGER PRIMARY KEY, Z\_ENT INTEGER, Z\_OPT INTEGER, ZDATE TIMESTAMP, ZLATITUDE FLOAT, ZLONGITUDE FLOAT, ZCATEGORY VARCHAR, ZLOCATIONDESCRIPTION VARCHAR, ZPLACEMARK BLOB )  
CoreData: annotation: Creating primary key table.  
CoreData: sql: CREATE TABLE Z\_PRIMARYKEY (Z\_ENT INTEGER PRIMARY KEY, Z\_NAME VARCHAR, Z\_SUPER INTEGER, Z\_MAX INTEGER)  
CoreData: sql: INSERT INTO Z\_PRIMARYKEY(Z\_ENT, Z\_NAME, Z\_SUPER, Z\_MAX) VALUES(1, ‘Location’, 0, 0)  
CoreData: sql: CREATE TABLE Z\_METADATA (Z\_VERSION INTEGER PRIMARY KEY, Z\_UUID VARCHAR(255), Z\_PLIST BLOB)  
CoreData: sql: SELECT TBL\_NAME FROM SQLITE\_MASTER WHERE TBL\_NAME = ‘Z\_METADATA’  
CoreData: sql: DELETE FROM Z\_METADATA WHERE Z\_VERSION = ?  
CoreData: sql: INSERT INTO Z\_METADATA (Z\_VERSION, Z\_UUID, Z\_PLIST) VALUES (?, ?, ?)  
CoreData: sql: SELECT TBL\_NAME FROM SQLITE\_MASTER WHERE TBL\_NAME = ‘Z\_MODELCACHE’  
CoreData: sql: CREATE TABLE Z\_MODELCACHE (Z\_CONTENT BLOB)  
CoreData: sql: INSERT INTO Z\_MODELCACHE (Z\_CONTENT) VALUES (?)  
CoreData: sql: COMMIT  
CoreData: sql: pragma journal\_mode=wal  
CoreData: sql: pragma recursive\_triggers=1  
CoreData: sql: pragma journal\_mode=wal  
CoreData: sql: SELECT Z\_VERSION, Z\_UUID, Z\_PLIST FROM Z\_METADATA  
CoreData: sql: SELECT TBL\_NAME FROM SQLITE\_MASTER WHERE TBL\_NAME = ‘Z\_MODELCACHE’  
file:///var/mobile/Containers/Data/Application/BF2189B3-0064-4650-90F2-0594D2A658D5/Documents/  
CoreData: sql: SELECT 0, t0.Z\_PK FROM ZLOCATION t0 ORDER BY t0.ZCATEGORY, t0.ZDATE  
CoreData: annotation: sql connection fetch time: 0.0008s  
CoreData: annotation: total fetch execution time: 0.0010s for 0 rows.  
didUpdatLocations \<+61.58730870,-149.44886707\> +/- 65.00m (speed -1.00 mps / course -1.00) @ 3/13/17, 9:29:28 AM Alaska Daylight Time  
didUpdatLocations \<+61.58730870,-149.44886707\> +/- 65.00m (speed -1.00 mps / course -1.00) @ 3/13/17, 9:29:19 AM Alaska Daylight Time  
didUpdatLocations \<+61.58730870,-149.44886707\> +/- 65.00m (speed -1.00 mps / course -1.00) @ 3/13/17, 9:29:28 AM Alaska Daylight Time  
didUpdatLocations \<+61.58739942,-149.45013365\> +/- 65.00m (speed -1.00 mps / course -1.00) @ 3/13/17, 9:34:17 AM Alaska Daylight Time  
\*\*\* Going to Geocode  
\*\*\* Found placemarks: Optional([101 E Kara Cir, 101 E Kara Cir, Wasilla, AK 99654, United States @ \<+61.58751600,-149.45003300\> +/- 100.00m, region CLCircularRegion (identifier:‘\<+61.58747370,-149.45005740\> radius 34.32’, center:\<+61.58747370,-149.45005740\>, radius:34.32m)]), error: nil  
101  
101 E Kara Cir,  
101 E Kara Cir, Wasilla,  
101 E Kara Cir, Wasilla, AK  
101 E Kara Cir, Wasilla, AK 99654,  
101 E Kara Cir, Wasilla, AK 99654, United States  
about to return from formatter \<NSDateFormatter: 0x17024f540\>  
2017-03-13 09:34:22.453979 MyLocations2[2329:422537] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles  
2017-03-13 09:34:22.456280 MyLocations2[2329:422537] [MC] Reading from public effective user settings.  
2017-03-13 09:34:28.004303 MyLocations2[2329:422587] 0x170143700 Copy matching assets reply: XPC\_TYPE\_DICTIONARY \<dictionary: 0x170143700\> { count = 2, transaction: 0, voucher = 0x0, contents =  
“Assets” =\> \<data: 0x17067a9c0\>: { length = 236 bytes, contents = 0x62706c6973743030d4010203040506141558247665727369… }  
“Result” =\> \<int64: 0x17023f4a0\>: 0  
}  
2017-03-13 09:34:33.130281 MyLocations2[2329:422587] 0x1701432e0 Copy matching assets reply: XPC\_TYPE\_DICTIONARY \<dictionary: 0x1701432e0\> { count = 2, transaction: 0, voucher = 0x0, contents =  
“Assets” =\> \<data: 0x17447b400\>: { length = 6169 bytes, contents = 0x62706c6973743030d4000100020003000400050006023202… }  
“Result” =\> \<int64: 0x174236560\>: 0  
}  
2017-03-13 09:34:33.136800 MyLocations2[2329:422587] 0x170142b50 Copy assets attributes reply: XPC\_TYPE\_DICTIONARY \<dictionary: 0x170142b50\> { count = 2, transaction: 0, voucher = 0x0, contents =  
“Attributes” =\> \<data: 0x17026ad00\>: { length = 302 bytes, contents = 0x62706c6973743030d40102030405061a1b58247665727369… }  
“Result” =\> \<int64: 0x17023f3c0\>: 0  
}  
2017-03-13 09:34:33.153315 MyLocations2[2329:422587] 0x1701432e0 Copy assets attributes reply: XPC\_TYPE\_DICTIONARY \<dictionary: 0x1701432e0\> { count = 3, transaction: 0, voucher = 0x0, contents =  
“Attributes” =\> \<data: 0x170868940\>: { length = 515 bytes, contents = 0x62706c6973743030d4010203040506232458247665727369… }  
“Result” =\> \<int64: 0x17023f280\>: 0  
“SandboxExtension” =\> \<string: 0x17024ea00\> { length = 258, contents = “4b772e94a572f8afa1848bdedb829384fac38af7;00000000;00000000;0000000000000015;com.apple.assets.read;00000001;01000002;00000000010545a5;/private/var/MobileAsset/Assets/com\_apple\_MobileAsset\_LinguisticData/12124144ce3f42648e61a6a8064d2fb9b2d42605.asset/AssetData” }  
}  
2017-03-13 09:34:33.157724 MyLocations2[2329:422587] 0x174140f20 Copy assets attributes reply: XPC\_TYPE\_DICTIONARY \<dictionary: 0x174140f20\> { count = 2, transaction: 0, voucher = 0x0, contents =  
“Attributes” =\> \<data: 0x17447bd80\>: { length = 302 bytes, contents = 0x62706c6973743030d40102030405061a1b58247665727369… }  
“Result” =\> \<int64: 0x1742369a0\>: 0  
}  
2017-03-13 09:34:33.163617 MyLocations2[2329:422587] 0x170142b50 Copy assets attributes reply: XPC\_TYPE\_DICTIONARY \<dictionary: 0x170142b50\> { count = 3, transaction: 0, voucher = 0x0, contents =  
“Attributes” =\> \<data: 0x170867f40\>: { length = 515 bytes, contents = 0x62706c6973743030d4010203040506232458247665727369… }  
“Result” =\> \<int64: 0x17023f500\>: 0  
“SandboxExtension” =\> \<string: 0x17024e790\> { length = 258, contents = “52ce048fdb25ff1871a091033e86a2285fc8f348;00000000;00000000;0000000000000015;com.apple.assets.read;00000001;01000002;000000000105459a;/private/var/MobileAsset/Assets/com\_apple\_MobileAsset\_LinguisticData/2e428a59a8c74acf82b249f73fcbbc785b892f69.asset/AssetData” }  
}  
2017-03-13 09:34:33.168199 MyLocations2[2329:422587] 0x1741418c0 Copy assets attributes reply: XPC\_TYPE\_DICTIONARY \<dictionary: 0x1741418c0\> { count = 2, transaction: 0, voucher = 0x0, contents =  
“Attributes” =\> \<data: 0x17447c100\>: { length = 302 bytes, contents = 0x62706c6973743030d40102030405061a1b58247665727369… }  
“Result” =\> \<int64: 0x1742367c0\>: 0  
}  
2017-03-13 09:34:33.172291 MyLocations2[2329:422587] 0x1741425d0 Copy assets attributes reply: XPC\_TYPE\_DICTIONARY \<dictionary: 0x1741425d0\> { count = 3, transaction: 0, voucher = 0x0, contents =  
“Attributes” =\> \<data: 0x17447ca00\>: { length = 515 bytes, contents = 0x62706c6973743030d4010203040506232458247665727369… }  
“Result” =\> \<int64: 0x174236880\>: 0  
“SandboxExtension” =\> \<string: 0x1742436c0\> { length = 258, contents = “14b21789ae54b4b3a75d43f8516130035d19ff14;00000000;00000000;0000000000000015;com.apple.assets.read;00000001;01000002;00000000014e57c4;/private/var/MobileAsset/Assets/com\_apple\_MobileAsset\_LinguisticData/fe1bc1f2e8c52a987b179fc9cd2f3ee6bf9aca10.asset/AssetData” }  
}  
didFailWitError Error Domain=kCLErrorDomain Code=0 “(null)”  
\*\*\* controllerWillChangeContent  
\*\*\* NSFetchedResultsChangeInsert (section)  
\*\*\* NSFetchedResultsChangeInsert (object)  
\*\*\* controllerDidChangeContent  
CoreData: sql: BEGIN EXCLUSIVE  
CoreData: sql: SELECT Z\_MAX FROM Z\_PRIMARYKEY WHERE Z\_ENT = ?  
CoreData: sql: UPDATE OR FAIL Z\_PRIMARYKEY SET Z\_MAX = ? WHERE Z\_ENT = ? AND Z\_MAX = ?  
CoreData: sql: COMMIT  
CoreData: sql: BEGIN EXCLUSIVE  
CoreData: sql: INSERT INTO ZLOCATION(Z\_PK, Z\_ENT, Z\_OPT, ZCATEGORY, ZDATE, ZLATITUDE, ZLOCATIONDESCRIPTION, ZLONGITUDE, ZPLACEMARK) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)  
CoreData: sql: COMMIT  
CoreData: sql: pragma page\_count  
CoreData: annotation: sql execution time: 0.0002s  
CoreData: sql: pragma freelist\_count  
CoreData: annotation: sql execution time: 0.0001s  
CoreData: sql: SELECT 0, t0.Z\_PK, t0.Z\_OPT, t0.ZCATEGORY, t0.ZDATE, t0.ZLATITUDE, t0.ZLOCATIONDESCRIPTION, t0.ZLONGITUDE, t0.ZPLACEMARK FROM ZLOCATION t0  
CoreData: annotation: sql connection fetch time: 0.0005s  
CoreData: annotation: total fetch execution time: 0.0036s for 1 rows.  
didUpdatLocations \<+61.58739942,-149.45013365\> +/- 65.00m (speed -1.00 mps / course -1.00) @ 3/13/17, 9:34:17 AM Alaska Daylight Time  
\*\*\* Time out  
Have a good day, It is a beautiful, cold and windy morning here.

Gerry

---

<div class="post-metadata">

**Author:** ![hollance](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hollance/32/109009_2.png) [@hollance](https://forums.kodeco.com/u/hollance)\
**Post date:** [March 14, 2017, 11:19am UTC](https://forums.kodeco.com/t/mylocations-v5-0-running-on-ipad-mini2-wi-fi-only-not-timing-out/27139/4 "2017-03-14T11:19:58Z")

</div>

I’m not sure why you say it’s not timing out as the log clearly shows:

> [@](#):
>
> \*\*\* Time out
