# Crashes app in iOS 12.2 due to using an "app"-type variable

**URL:** <https://community.thunkable.com/t/crashes-app-in-ios-12-2-due-to-using-an-app-type-variable/75896>\
**Category:** Questions about Thunkable X\
**Created:** [May 6, 2019, 9:24am UTC](https://community.thunkable.com/t/crashes-app-in-ios-12-2-due-to-using-an-app-type-variable/75896 "2019-05-06T09:24:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 6, 2019, 9:24am UTC](https://community.thunkable.com/t/crashes-app-in-ios-12-2-due-to-using-an-app-type-variable/75896/1 "2019-05-06T09:24:11Z")

</div>

To reproduce such an error again fails, but it was.

[https://x.thunkable.com/projects/5ccfe96a7ba7eea0181ed459/project/properties/designer/](https://x.thunkable.com/projects/5ccfe96a7ba7eea0181ed459/project/properties/designer/)

In the project, I created 4 variables of type “app '. After that, I create a new variable of type” app "with the name “oldIndex” and see how all variables “app msg” in the project change their name to “app oldIndex”. It turns out that I create a new variable, but at the same time the name of already existing variables is changed, whose name has nothing to do with the dialed one.

After that, I set the names back to the variables “app msg”, and I use the new variable (this variable is initialized with an empty side of the text block) in the timer and crash occurs right away.

 ![%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/2/229d89b2c0948306d3f812d83846227b60f742bf.png)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:13pm UTC](https://community.thunkable.com/t/crashes-app-in-ios-12-2-due-to-using-an-app-type-variable/75896/2 "2024-11-08T12:13:51Z")

</div>


