# iOSAlert declares -\> not building

**URL:** <https://forum.xojo.com/t/iosalert-declares-not-building/21156>\
**Category:** iOS\
**Created:** [December 21, 2014, 9:40pm UTC](https://forum.xojo.com/t/iosalert-declares-not-building/21156 "2014-12-21T21:40:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [December 21, 2014, 9:40pm UTC](https://forum.xojo.com/t/iosalert-declares-not-building/21156/1 "2014-12-21T21:40:47Z")

</div>

Probably this is already know but the iOSAlert declares do not build. They do work in the iOSEmulator though.

---

<div class="post-metadata">

**Author:** ![Bob\_Keeney](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/54ee81/32.png) [@Bob\_Keeney](https://forum.xojo.com/u/Bob_Keeney)\
**Post date:** [December 21, 2014, 10:43pm UTC](https://forum.xojo.com/t/iosalert-declares-not-building/21156/2 "2014-12-21T22:43:19Z")

</div>

Make sure you submit a Feedback report (search first).

---

<div class="post-metadata">

**Author:** ![Michel\_Bujardet](https://forum.xojo.com/user_avatar/forum.xojo.com/michel_bujardet/32/252_2.png) [@Michel\_Bujardet](https://forum.xojo.com/u/Michel_Bujardet)\
**Post date:** [December 21, 2014, 11:08pm UTC](https://forum.xojo.com/t/iosalert-declares-not-building/21156/3 "2014-12-21T23:08:36Z")

</div>

> [@154229:@Christoph De Vocht](#):
>
> Probably this is already know but the iOSAlert declares do not build. They do work in the iOSEmulator though.

Remember, UIPIcker had the same issue [https://forum.xojo.com/18231-uipicker-does-not-build](https://forum.xojo.com/18231-uipicker-does-not-build) and it has not been resolved yet. Actually, not a word from the Xojo team. Could be they are just as puzzled as us on these ones.

Maybe it is time indeed to file a bug report with both these projects. We could use the picker right about now as well.

---

<div class="post-metadata">

**Author:** ![Travis\_Hill](https://forum.xojo.com/user_avatar/forum.xojo.com/travis_hill/32/3_2.png) [@Travis\_Hill](https://forum.xojo.com/u/Travis_Hill)\
**Post date:** [December 22, 2014, 12:04am UTC](https://forum.xojo.com/t/iosalert-declares-not-building/21156/4 "2014-12-22T00:04:56Z")

</div>

In the iOSAlerts example- update the iOSAlert ObjCLib constant Default Value to something like “/usr/lib/libobjc.A.dylib” and then you should be fine.

---

<div class="post-metadata">

**Author:** ![Michel\_Bujardet](https://forum.xojo.com/user_avatar/forum.xojo.com/michel_bujardet/32/252_2.png) [@Michel\_Bujardet](https://forum.xojo.com/u/Michel_Bujardet)\
**Post date:** [December 22, 2014, 12:41am UTC](https://forum.xojo.com/t/iosalert-declares-not-building/21156/5 "2014-12-22T00:41:28Z")

</div>

> [@154260:@Travis Hill](#):
>
> In the iOSAlerts example- update the iOSAlert ObjCLib constant Default Value to something like “/usr/lib/libobjc.A.dylib” and then you should be fine.

Thanks. And sorry for the picker, this has been fixed as well.

---

<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, 5:32pm UTC](https://forum.xojo.com/t/iosalert-declares-not-building/21156/6 "2020-10-29T17:32:45Z")

</div>


