Hi! I’m developing crossplatform plugin with thirdparty libs and frameworks for UE4 and got some problems.
I can’t get how can i set additional linker flag from plugin (“-ObjC”) and also set additional plist keys.
There is no anything about this in official documentation so i got confused with this.
Does anybody know ow i can do that?
You need to configure that in OutLinkEnvironmentConfiguration in SetupGlobalEnvironment function of *.Target.cs build script of your module, here you have example:
https://github.com/EpicGames/UnrealEngine/blob/dff3c48be101bb9f84633a733ef79c91c38d9542/Engine/Source/Programs/UnrealCodeAnalyzer/UnrealCodeAnalyzer.Target.cs#L49
Just use Link insted of CPP
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