# CPU Architecture management in references

**URL:** https://talk.remobjects.com/t/cpu-architecture-management-in-references/3727
**Category:** Elements RTL
**Created:** [February 12, 2014, 10:54am UTC](https://talk.remobjects.com/t/cpu-architecture-management-in-references/3727 "2014-02-12T10:54:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![deksden](https://talk.remobjects.com/user_avatar/talk.remobjects.com/deksden/32/7_2.png) [@deksden](https://talk.remobjects.com/u/deksden)
#### Post date: [February 12, 2014, 10:54am UTC](https://talk.remobjects.com/t/cpu-architecture-management-in-references/3727/1 "2014-02-12T10:54:35Z")

</div>

I m trying to compile Sugar.Nougat.iOS.Tests for iPhoe 5s real device and recieved series of errors:

```
Error	6	(NE1) No matching CPU architecture "arm64" in reference "..\Sugar.TestFramework\bin\iOS Simulator\libSugarTestFramework.fx" 0	0	Sugar.Nougat.iOS.Test

```

Defenitely true: iOS simulator is even not arm at all!

Is there any way to specify reference to library (.fx actually) and automatically manage architecture to match current project’s target?

---

<div class="post-metadata">

### Author: ![ejay](https://talk.remobjects.com/user_avatar/talk.remobjects.com/ejay/32/20_2.png) [@ejay](https://talk.remobjects.com/u/ejay)
#### Post date: [February 12, 2014, 4:11pm UTC](https://talk.remobjects.com/t/cpu-architecture-management-in-references/3727/2 "2014-02-12T16:11:19Z")

</div>

Can you please try to change project references in the Sugar.Nougat.iOS.Tests project, right now they points directly to a \*.fx files. Can you remove them, add Sugar.Nougat.iOS.TestFramework project into your solution and reference this project directly from Sugar.Nougat.iOS.Tests.

---

<div class="post-metadata">

### Author: ![deksden](https://talk.remobjects.com/user_avatar/talk.remobjects.com/deksden/32/7_2.png) [@deksden](https://talk.remobjects.com/u/deksden)
#### Post date: [February 13, 2014, 1:45pm UTC](https://talk.remobjects.com/t/cpu-architecture-management-in-references/3727/3 "2014-02-13T13:45:22Z")

</div>

Yes. Project reference works, but can not finish due to reported bug : [Compiling iOS Tests for device - strange linker error](http://talk.remobjects.com/t/compiling-ios-tests-for-device-strange-linker-error/3728)

---

<div class="post-metadata">

### Author: ![ejay](https://talk.remobjects.com/user_avatar/talk.remobjects.com/ejay/32/20_2.png) [@ejay](https://talk.remobjects.com/u/ejay)
#### Post date: [February 14, 2014, 12:54pm UTC](https://talk.remobjects.com/t/cpu-architecture-management-in-references/3727/4 "2014-02-14T12:54:54Z")

</div>

Good to hear that i works. In fact we’ll need to review those references to make it work out of the box.
