I have quite large database for words in my game. The game was rejected by apple because the game tried to make a backup copy of the database to iCloud. I found this iPhone.SetNoBackupFlag that I’m hoping to fix the issue with the database
http://docs.unity3d.com/ScriptReference/iPhone.SetNoBackupFlag.html
Description
Set file flag to be excluded from iCloud/iTunes backup.
So I added this to one of the first scripts in my game.
string WordsDatabase = Application.persistentDataPath + "/words.bytes";
iPhone.SetNoBackupFlag(WordsDatabase);
But it gives me error:
error CS1519: Unexpected symbol (' in class, struct, or interface member declaration error CS1519: Unexpected symbol )’ in class, struct, or interface member declaration
Any help how to fix this?