# How to fix target architecture on remote iOS build?

**URL:** <https://forums.unrealengine.com/t/how-to-fix-target-architecture-on-remote-ios-build/381830>\
**Category:** Architectural and Design Visualization\
**Tags:** remote-build, unreal-engine, architecture, iOS, package-error, question\
**Created:** [January 14, 2017, 11:27am UTC](https://forums.unrealengine.com/t/how-to-fix-target-architecture-on-remote-ios-build/381830 "2017-01-14T11:27:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Epok](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Epok](https://forums.unrealengine.com/u/Epok)\
**Post date:** [January 14, 2017, 11:27am UTC](https://forums.unrealengine.com/t/how-to-fix-target-architecture-on-remote-ios-build/381830/1 "2017-01-14T11:27:04Z")

</div>

Hi,

I am building for iOS remotely and am running into an issue building with the AdColony framework.

I get the following error:

```
warning: ignoring file /AdColony.embeddedframework/AdColony.framework/AdColony, file was built for unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6F 0x6E 0x73 0x2F 0x43 0x75 0x72 0x72 0x65 0x6E 0x74 ) which is not the architecture being linked (armv7)

```

The web suggests this can be fixed by setting ‘Build Active Architectures Only’ to NO.

How does Unreal set this flag by default, and is it something I can edit?

(This may not even be the fix to my problem of course, so if you have any other ideas it would be very much appreciated.)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [January 16, 2017, 9:20pm UTC](https://forums.unrealengine.com/t/how-to-fix-target-architecture-on-remote-ios-build/381830/2 "2017-01-16T21:20:28Z")

</div>

He Epok,

Please review the following link: [How to Remote Compile Code Projects](https://answers.unrealengine.com/questions/480939/how-to-remote-compile-code-projects-413-ios.html)

This gives complete instructions on how to correctly remote build your code projects on a Mac from your PC in order to deploy to your iOS device.

After following these instructions carefully, let me know if you are still getting this error, as well as, at what point in the process are you getting this error.

Thanks,

.
