Additional Linker Flags on iOS - confusing behavior
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.
Anyone can explain this? Thank you for your reply.
asked Jan 04 '16 at 02:39 AM in Using UE4
It's exactly this problem: https://github.com/EpicGames/UnrealEngine/pull/1775 Please fix this as soon as possible.
answered Jan 04 '16 at 02:55 PM
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 :(
answered Jun 21 '17 at 07:50 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here