Argument 1 of attachLiveEntryResource must be a kLiveEntryResource