addin copying mechanism for ProfileSettings + fixing iOS build issues