# Trying to build for iOS

**URL:** <https://forums.fusetools.com/t/trying-to-build-for-ios/6675>\
**Category:** General\
**Created:** [January 12, 2016, 8:55pm UTC](https://forums.fusetools.com/t/trying-to-build-for-ios/6675 "2016-01-12T20:55:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casey\_Williams](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/casey_williams/32/147_2.png) [@Casey\_Williams](https://forums.fusetools.com/u/Casey_Williams)\
**Post date:** [January 12, 2016, 8:55pm UTC](https://forums.fusetools.com/t/trying-to-build-for-ios/6675/1 "2016-01-12T20:55:01Z")

</div>

When trying to build for iOS on the terminal, it says I first have to use sudo, so I do. Then when I do, I get this error:

```auto
fuse: Daemon handshake failed: Request failed: (6) - Daemon key was not right, maybe because daemon possesses wrong local user.

```

---

<div class="post-metadata">

**Author:** ![Casey\_Williams](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/casey_williams/32/147_2.png) [@Casey\_Williams](https://forums.fusetools.com/u/Casey_Williams)\
**Post date:** [January 12, 2016, 9:08pm UTC](https://forums.fusetools.com/t/trying-to-build-for-ios/6675/2 "2016-01-12T21:08:36Z")

</div>

Managed to fix that but when I build now I get this:

```auto
Uno 0.20.1-OSX (build 902)

Configuring
(2,212.43 ms)

Parsing source code
(1,052.52 ms)

Compiling syntax tree
(2,676.72 ms)

Generating code and data
(9,138.24 ms)

Building native target
**BUILD FAILED**

The following build commands failed:
    Check dependencies
(1 failure)
(unknown): E0000: Native build failed
(1,842.98 ms)

Build completed in 16.93 seconds.
    0 Warning(s)
    1 Error(s)

Error Summary
-------------

(unknown): E0000: Native build failed
FATAL ERROR: Build failed.

# Build complete.

```

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [January 12, 2016, 10:44pm UTC](https://forums.fusetools.com/t/trying-to-build-for-ios/6675/3 "2016-01-12T22:44:52Z")

</div>

open XCode by writing `open .build/iOS-debug/*.xcodeproj/` and try to run it from XCode to see what error you get.

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [January 13, 2016, 8:00am UTC](https://forums.fusetools.com/t/trying-to-build-for-ios/6675/4 "2016-01-13T08:00:49Z")

</div>

You should not have to use `sudo` to build with Fuse. Which message did you get telling you to do that?

Also, can you please build with `-v` to get more verbose output?

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [January 13, 2016, 9:48am UTC](https://forums.fusetools.com/t/trying-to-build-for-ios/6675/5 "2016-01-13T09:48:06Z")

</div>

@knatten: You need sudo to approve the xcode license. I think this was the cause of that problem.

---

<div class="post-metadata">

**Author:** ![Casey\_Williams](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/casey_williams/32/147_2.png) [@Casey\_Williams](https://forums.fusetools.com/u/Casey_Williams)\
**Post date:** [January 13, 2016, 10:23pm UTC](https://forums.fusetools.com/t/trying-to-build-for-ios/6675/6 "2016-01-13T22:23:22Z")

</div>

Yeah I’ve got past this now guys sorry about that. Haven’t much experience with Xcode so just getting used to working it.

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [January 14, 2016, 9:36am UTC](https://forums.fusetools.com/t/trying-to-build-for-ios/6675/7 "2016-01-14T09:36:31Z")

</div>

Good to see you got it working Casey! 🙂

---

<div class="post-metadata">

**Author:** ![LuisRodriguezLD](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/luisrodriguezld/32/616_2.png) [@LuisRodriguezLD](https://forums.fusetools.com/u/LuisRodriguezLD)\
**Post date:** [February 19, 2016, 11:32pm UTC](https://forums.fusetools.com/t/trying-to-build-for-ios/6675/8 "2016-02-19T23:32:20Z")

</div>

I´m having the same problem. Could you share your solution @Casey?

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [February 22, 2016, 8:19am UTC](https://forums.fusetools.com/t/trying-to-build-for-ios/6675/9 "2016-02-22T08:19:16Z")

</div>

Offwings, there are several problems listed in this thread, which exact one are you getting? If you’re getting the message about the wrong daemon key, please try `fuse kill-all`. If that doesn’t help, logging out and in of your account, or alternatively rebooting your computer should help.
