# Can't Build iOS version using Xcode

**URL:** <https://community.blokada.org/t/cant-build-ios-version-using-xcode/5216>\
**Category:** Developers\
**Tags:** ios\
**Created:** [October 6, 2020, 7:12pm UTC](https://community.blokada.org/t/cant-build-ios-version-using-xcode/5216 "2020-10-06T19:12:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marsal.silveira](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@marsal.silveira](https://community.blokada.org/u/marsal.silveira)\
**Post date:** [October 6, 2020, 7:12pm UTC](https://community.blokada.org/t/cant-build-ios-version-using-xcode/5216/1 "2020-10-06T19:12:48Z")

</div>

I wanna build and run the iOS version using the Xcode 11.7 but I’m facing some errors… After install and setup `Rust` and its dependencies I received the `library not found for -lengine` when trying build the `iOS` target.

Is there any specific setup or dependency to be abble build and run this project over Xcode ?

---

<div class="post-metadata">

**Author:** ![balboah](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/balboah/32/38_2.png) [@balboah](https://community.blokada.org/u/balboah)\
**Post date:** [October 12, 2020, 7:50am UTC](https://community.blokada.org/t/cant-build-ios-version-using-xcode/5216/3 "2020-10-12T07:50:56Z")

</div>

Hey,

Did you open the IOS.xcodeproj?  
You might want to try selecting the rust target specifically in case the dependency configuration didn’t trigger that build:

![Skärmavbild 2020-10-12 kl. 09.47.57](https://europe1.discourse-cdn.com/flex017/uploads/blokada/original/2X/a/aec704ec608aa258134dbe41f0a1760165f5d15a.png)

And run that before the main target.  
It should create ios/Engine/libengine.a

---

<div class="post-metadata">

**Author:** ![tciuro](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/tciuro/32/7402_2.png) [@tciuro](https://community.blokada.org/u/tciuro)\
**Post date:** [February 22, 2021, 10:38pm UTC](https://community.blokada.org/t/cant-build-ios-version-using-xcode/5216/4 "2021-02-22T22:38:01Z")

</div>

I did see that too. Following Xcode’s sometimes-cryptic messages, I did the following:

1. Select the IOS project from the Project Navigator
2. Select the IOS target \> Signing & Capabilities tab.
3. Resolve the errors (if any). You may have to change the bundle identifier, update the entitlement file, and update the profile in your Apple Developer account (that was my case, YMMV).
4. Repeat step #2 with the IOSNetworkExtension and Blocka Engine targets.

While I got past the error you’re seeing, I found another issue: [iOS issue: no such subcommand: `lipo`](https://community.blokada.org/t/ios-issue-no-such-subcommand-lipo/10906)

---

<div class="post-metadata">

**Author:** ![PrintableCharacter](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/printablecharacter/32/88_2.png) [@PrintableCharacter](https://community.blokada.org/u/PrintableCharacter)\
**Post date:** [July 16, 2022, 10:47am UTC](https://community.blokada.org/t/cant-build-ios-version-using-xcode/5216/5 "2022-07-16T10:47:37Z")

</div>

Closed on July 16, 2022, 10:47am UTC


