# Detect App Translocation

**URL:** <https://forum.xojo.com/t/detect-app-translocation/42681>\
**Category:** macOS\
**Created:** [March 28, 2018, 12:06am UTC](https://forum.xojo.com/t/detect-app-translocation/42681 "2018-03-28T00:06:25Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [August 15, 2018, 5:32am UTC](https://forum.xojo.com/t/detect-app-translocation/42681/21 "2018-08-15T05:32:39Z")

</div>

What do you mean with “app can’t see it”? Translocation affects files next to the app and not in another folder.

---

<div class="post-metadata">

**Author:** ![Jeff\_Tullin](https://forum.xojo.com/user_avatar/forum.xojo.com/jeff_tullin/32/693_2.png) [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Post date:** [August 15, 2018, 5:51am UTC](https://forum.xojo.com/t/detect-app-translocation/42681/22 "2018-08-15T05:51:02Z")

</div>

I mean in the Finder

Documents/MyApp/NamedSubfolder is easily visible

In the app

Specialfolder.documents.child(“MyApp”).child(“NamedSubFolder”)

doesnt exist.  
Until the app has been moved about.  
And then it ‘stops existing’ again later, which makes me think translocation.  
My other suspect is iCloud, but moving the app wouldnt affect the visibility of a folder in Documents?

---

<div class="post-metadata">

**Author:** ![Jeff\_Tullin](https://forum.xojo.com/user_avatar/forum.xojo.com/jeff_tullin/32/693_2.png) [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Post date:** [August 15, 2018, 8:07am UTC](https://forum.xojo.com/t/detect-app-translocation/42681/23 "2018-08-15T08:07:53Z")

</div>

Extra: the more i think about it, the more I suspect iCloud is whipping the files away.  
There is a setting that archives them if not regularly used.  
And a tickbox that says ‘leave them local if space allows’

So if a file is archived, and I expect to find it in  
specialfolder.documents.child(“myapp”).child(“somefolder”).child(“somefile.txt”)

how do I access it if it is hiding in iCloud? Surely OSX should handle that transparently?

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [August 15, 2018, 8:15am UTC](https://forum.xojo.com/t/detect-app-translocation/42681/24 "2018-08-15T08:15:56Z")

</div>

you can check app.exectuable.nativepath. if it contains something like translocation, it’s wrong.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 7:09pm UTC](https://forum.xojo.com/t/detect-app-translocation/42681/25 "2020-10-29T19:09:00Z")

</div>



[Previous page](https://forum.xojo.com/t/detect-app-translocation/42681.md?page=1)
