Skip to content

Unity SDK, iOS build. "Cannot change the appIdentifier" error #40

Closed
@artem-shmatkov

Description

@artem-shmatkov

Hi guys!

I have a problem with Unity SDK when launching XCode project:

InvalidOperationException: Cannot change the `appIdentifier` property of a `_Installation` object.
  at Parse.ParseObject.CheckKeyIsMutable (System.String key) [0x00000] in <filename unknown>:0 
  at Parse.ParseObject.Remove (System.String key) [0x00000] in <filename unknown>:0 
  at Parse.ParseObject.SetIfDifferent[String] (System.String key, System.String value) [0x00000] in <filename unknown>:0 
  at Parse.ParseInstallation.SaveAsync (System.Threading.Tasks.Task toAwait, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at Parse.ParseObject+<>c__DisplayClass3a.<SaveAsync>b__39 (System.Threading.Tasks.Task toAwait) [0x00000] in <filename unknown>:0 
  at Parse.Internal.TaskQueue.Enqueue[Task] (System.Func`2 taskStart, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at Parse.ParseObject.SaveAsync (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at Parse.ParseObject.SaveAsync () [0x00000] in <filename unknown>:0 
  at Parse.ParseInitializeBehaviour.<Awake>b__0 (System.Byte[] deviceToken) [0x00000] in <filename unknown>:0 
  at Parse.PlatformHooks+<>c__DisplayClass28.<RegisterDeviceTokenRequest>b__26 () [0x00000] in <filename unknown>:0 
  at Parse.PlatformHooks+<RunDispatcher>d__2e.MoveNext () [0x00000] in <filename unknown>:0 

It's not a fatal error - app still working but I think it shouldn't be there.
All that I doing is:

UnityEngine.iOS.NotificationServices.RegisterForNotifications(UnityEngine.iOS.NotificationType.Alert |
                                                                UnityEngine.iOS.NotificationType.Badge |
                                                                UnityEngine.iOS.NotificationType.Sound);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions