# Additional Linker Flags on iOS - confusing behavior

**URL:** <https://forums.unrealengine.com/t/additional-linker-flags-on-ios-confusing-behavior/343036>\
**Category:** Mobile\
**Tags:** linker, xcode, settings, unreal-engine, iOS, question\
**Created:** [January 4, 2016, 2:39am UTC](https://forums.unrealengine.com/t/additional-linker-flags-on-ios-confusing-behavior/343036 "2016-01-04T02:39:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gameDNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamedna/32/1209504_2.png) [@gameDNA](https://forums.unrealengine.com/u/gameDNA)\
**Post date:** [January 4, 2016, 2:39am UTC](https://forums.unrealengine.com/t/additional-linker-flags-on-ios-confusing-behavior/343036/1 "2016-01-04T02:39:27Z")

</div>

Hi,

I don’t know if it’s a bug or missing feature but when I add something to “Additional Linker Flags” in iOS project settings it is inserted to GetCompileArguments\_Global() function (line 206) but should be inserted to GetLinkArguments\_Global() function (line 357) in IOSToolChain.cs file.  
Currently it’s useless or property name is confusing because it should be added to “Other Linker Flags” like in Xcode. I need to add flag “-ObjC” which is required by the most libraries for iOS.

Example: [| Ads SDK Documentation](http://docs.millennialmedia.com/ios-ad-sdk/adding-objc-linker-flag-xcode.html)

Anyone can explain this? Thank you for your reply.

---

<div class="post-metadata">

**Author:** ![gameDNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamedna/32/1209504_2.png) [@gameDNA](https://forums.unrealengine.com/u/gameDNA)\
**Post date:** [January 4, 2016, 2:55pm UTC](https://forums.unrealengine.com/t/additional-linker-flags-on-ios-confusing-behavior/343036/2 "2016-01-04T14:55:33Z")

</div>

It’s exactly this problem: [https://github.com/EpicGames/UnrealEngine/pull/1775](https://github.com/EpicGames/UnrealEngine/pull/1775) Please fix this as soon as possible.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_05330d96](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_05330d96](https://forums.unrealengine.com/u/anonymous_user_05330d96)\
**Post date:** [June 21, 2017, 7:50am UTC](https://forums.unrealengine.com/t/additional-linker-flags-on-ios-confusing-behavior/343036/3 "2017-06-21T07:50:56Z")

</div>

You don’t need to use ‘-ObjC’ for other linker flags since 4.11. At UnrealEngine/Engine/Source/Programs/UnrealBuildTool/IOS/IOSToolChain.cs line 488, you can see ‘Result += " -ObjC";’. Don’t waste you time like me ☹
