# Building fails with Xcode 7

**URL:** <https://forums.fusetools.com/t/building-fails-with-xcode-7/1021>\
**Category:** Bug Reports\
**Created:** [September 21, 2015, 3:28pm UTC](https://forums.fusetools.com/t/building-fails-with-xcode-7/1021 "2015-09-21T15:28:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juani\_Serra](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/juani_serra/32/463_2.png) [@Juani\_Serra](https://forums.fusetools.com/u/Juani_Serra)\
**Post date:** [September 21, 2015, 3:28pm UTC](https://forums.fusetools.com/t/building-fails-with-xcode-7/1021/1 "2015-09-21T15:28:43Z")

</div>

I recently updated to XCode 7 and now the build fails. I’m still on iOS 8 on my iPhone and Yosemite on my Mac.

This is the error log:

```auto
ld: warning: object file (/usr/local/share/uno/Packages/UnoCore/0.6.1/Targets/CPlusPlus/Prebuilt/iOS/Xli/lib/iOS/Debug-iphoneos/libXliImage.a(Format.o)) was built for newer iOS version (8.4) than being linked (7.0)
ld: '/usr/local/share/uno/Packages/UnoCore/0.6.1/Targets/CPlusPlus/Prebuilt/iOS/Xli/lib/iOS/Debug-iphoneos/libXliImage.a(Format.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

```

Do you know what could be happening? Do you need more information?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [September 21, 2015, 3:32pm UTC](https://forums.fusetools.com/t/building-fails-with-xcode-7/1021/2 "2015-09-21T15:32:11Z")

</div>

As Xcode 7 was released just a few days ago, it seems the current Fuse version is not quite up to date with it.

---

<div class="post-metadata">

**Author:** ![Juani\_Serra](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/juani_serra/32/463_2.png) [@Juani\_Serra](https://forums.fusetools.com/u/Juani_Serra)\
**Post date:** [September 21, 2015, 3:39pm UTC](https://forums.fusetools.com/t/building-fails-with-xcode-7/1021/3 "2015-09-21T15:39:29Z")

</div>

Ok, I changed the `Deployment target` to 8.4 and now it gives me this error:

```auto
ld: '/usr/local/share/uno/Packages/UnoCore/0.6.1/Targets/CPlusPlus/Prebuilt/iOS/Xli/lib/iOS/Debug-iphoneos/libXliImage.a(Format.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

```

I’ve changed the `Bitcode enabled` setting to `No` and now the build succeeds. It’s Ok to let that setting like that?

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [September 21, 2015, 3:50pm UTC](https://forums.fusetools.com/t/building-fails-with-xcode-7/1021/4 "2015-09-21T15:50:41Z")

</div>

If it works it works - we will have to investigate this before we know what this means. Thanks for reporting.

---

<div class="post-metadata">

**Author:** ![Morten\_Daniel\_Fornes](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/morten_daniel_fornes/32/52_2.png) [@Morten\_Daniel\_Fornes](https://forums.fusetools.com/u/Morten_Daniel_Fornes)\
**Post date:** [September 21, 2015, 4:00pm UTC](https://forums.fusetools.com/t/building-fails-with-xcode-7/1021/5 "2015-09-21T16:00:22Z")

</div>

Hi [jiserra@gmail.com](mailto:jiserra@gmail.com),

You’re right, disabling bitcode fixes the issue. We did a similar fix last week, it will be included in our next release.
