AVInstallation *currentInstallation = [AVInstallation currentInstallation];
currentInstallation.deviceProfile = Device_Profile_Name;
[currentInstallation setDeviceTokenFromData:deviceToken];

调用后查询不到 installation

你好,这段代码忘了保存:

[currentInstallation saveInBackground];