# Xcode generation for iOS build succed but can’t install

**URL:** <https://discourse.cmake.org/t/xcode-generation-for-ios-build-succed-but-can-t-install/9053>\
**Category:** Code\
**Tags:** gen:xcode\
**Created:** [September 22, 2023, 2:37pm UTC](https://discourse.cmake.org/t/xcode-generation-for-ios-build-succed-but-can-t-install/9053 "2023-09-22T14:37:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel\_Rinaldi](https://discourse.cmake.org/user_avatar/discourse.cmake.org/manuel_rinaldi/32/3857_2.png) [@Manuel\_Rinaldi](https://discourse.cmake.org/u/Manuel_Rinaldi)\
**Post date:** [September 22, 2023, 2:37pm UTC](https://discourse.cmake.org/t/xcode-generation-for-ios-build-succed-but-can-t-install/9053/1 "2023-09-22T14:37:29Z")

</div>

Hi  
I am trying to use CMake to develop a cross-platform game engine. I have found my way though to generate an XCode project for iPhone anyway it does compile but it can’t be installed on my iPhone it fails on loading the localized bundle

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)\
**Post date:** [September 24, 2023, 12:55am UTC](https://discourse.cmake.org/t/xcode-generation-for-ios-build-succed-but-can-t-install/9053/2 "2023-09-24T00:55:56Z")

</div>

There’s probably some signing step that is missing. Alas, my knowledge of iPhone development ends right around there, but hopefully it can help some before a better suggestion comes along.

---

<div class="post-metadata">

**Author:** ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)\
**Post date:** [September 24, 2023, 2:55am UTC](https://discourse.cmake.org/t/xcode-generation-for-ios-build-succed-but-can-t-install/9053/3 "2023-09-24T02:55:24Z")

</div>

Try attaching your device and adding it in Xcode, then try to run your app on the device under the debugger. You may get helpful messages on the debug console which tell you why things are failing. Although if it is signing-related, I think debug builds might use ad hoc signing and may succeed. I do think Ben’s comment about signing being the most likely culprit is the most likely cause too though.
