Compile error in OSX XCode

I’m following the “3rd Person Power-Up Game with C++” Tutorial
In step 3 - Making Your First Pickup Class, I’ve tried to get the OSX version of code I made to compile

I couldn’t type in the code as per the tutorial - it simply doesn’t compile in OSX XCode.

My code is in GitHub: GitHub - rachmann/BatteryCollector: My OSX version of BatteryCollector video tutorial

The error I get is:

As this is a part of UE4 Editor compile process, how can I fix this?

Hey. Are there any XCode developers out there using UnrealEngine?

Is there no one else who ran into this?

Is OSX XCode supported?

It looks like the script was trying to call shell to delete the dylib file, but tried to delete the wrong one!

CompilerResultsLog: Info [2/4] Compile BatteryCollector.generated.cpp
CompilerResultsLog: Info [1/4] Compile Pickup.cpp
CompilerResultsLog: Info [3/4] Link UE4Editor-BatteryCollector-7082.dylib
CompilerResultsLog: Info [4/4] sh -c ‘rm -rf “/Users/DevFingers/Documents/Unreal Projects/BatteryCollector/Binaries/Mac/UE4Editor-BatteryCollector-6778.dSYM”; "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/"dsymutil -f “/Users/DevFingers/Documents/Unreal Projects/BatteryCollector/Binaries/Mac/UE4Editor-BatteryCollector-6778.dylib” -o “/Users/DevFingers/Documents/Unreal Projects/BatteryCollector/Binaries/Mac/UE4Editor-BatteryCollector-6778.dSYM”’

See the last line? It doesn’t match the created lib file of UE4Editor-BatteryCollector-7082.dylib, which does exist.

How do I update the build script to fix this?

This seems to be fixed in 4.10.2!

Yay