
---------------------------------------------------------------------
FUSE API NOTE - CHRIS BROWN - 18/12/13
---------------------------------------------------------------------

The FuseAPI documentation states that we need to use the "-all_load" linker flag within the "other linker flags" section of the WormsF2P build settings. However, doing this causes
problems when linking to iOSXOM.

The solution is to use the "-force_load" linker flag instead and specifying the FuseAPI library. This performs the required linking operation (to link everything, including Objective-C
categories, rather than allowing the linker to decide what's used and what's not and only link what it thinks is used - there is a bug with the linker which causes it to not include things
in the FuseAPI library that are in fact used leading to runtime crashes, hence the reason the documentation wants us to specify the linker flag). This flag is specified as:
-force_load $(SRCROOT)/../FuseAPI/libFuseAPI.a

Now, if the libFuseAPI.a is also included in the project hierarchy we get linker errors due to duplicate symbols - this is from the inclusion in the project hierarchy and its specification
in the -force_load linker flag. So, I have removed it from the project hierarchy so it is only linked once.

---------------------------------------------------------------------
FUSE API NOTE - CHRIS BROWN - 18/12/13
---------------------------------------------------------------------

The current version of the FuseAPI is 1.31.3. This lib does not include a slice for arm64. Therefore we cannot build WormsF2P with the arm64 architecture or the app will fail to link to the
FuseAPI lib. For now I have changed the "architectures" in WormsF2P Build Settings to armv7 and armv7s only.

WE SHOULD NOT SUBMIT TO APPLE UNTIL THE LIB HAS BEEN UPDATED TO INCLUDE AN ARM64 SLICE AND WE HAVE INCLUDED THE ARM64 ARCHITECTURE IN THE BUILD SETTINGS OF WORMSF2P.

---------------------------------------------------------------------
FUSE API NOTE - CHRIS BROWN - 03/01/14
---------------------------------------------------------------------

All FuseAPI functionality has been put on a define (USE_FUSEBOXX, in CommonDefs.h) to ease removal (and later addition) of API if required in the future.

To remove FuseAPI from WormsF2P:
	- Set USE_FUSEBOXX define to 0
	- Remove -force_load $(SRCROOT)/../FuseAPI/libFuseAPI.a from the "other linker flags" section of the WormsF2P build settings.
	- Remove Settings.bundle from project Resources (this may be achievable by unchecking 'WormsF2P' from its 'Target Membership').
	- Re-specify arm64 architecture in build settings.
	- Potentially remove Frameworks which we're only added for FuseAPI integration (be very careful there are no dependencies on a Framework by another APIs or WormsF2P code).
	
To add FuseAPI to WormsF2P after removal, perform the opposite of the above steps.

---------------------------------------------------------------------
FUSE API NOTE - CHRIS BROWN - 13/01/14
---------------------------------------------------------------------

Updated FuseAPI version to 1.34 which includes an arm64 slice. This API vesion was not downloaded from Fuseboxx but was emailed to Dave Smethurst directly after our request for arm64.

Please note, there was no documentation for this API version and I found that I had to link to the following frameworks. Our contact at Fuseboxx has confirmed they are necessary and they should
be flagged as 'Optional'.
	- EventKit.framework
	- EventKitUI.framework
	- CoreMedia.framework

Also note that the size of the library (libFuseAPI.a) is very large at 30.8MB. The previous version was only 4.55MB. Our contact at Fuseboxx has confirmed that this is correct and the impact in the
compiled app binary will only be of the order of magnitude of 2-3MB.
