Reputation: 3868
Unable to upload ionic 4 app to the apple app store ( Xcode version - 14.2 (14C18) ). we are getting below error.
the app references non-public selectors in Payload determineAppInstallationAttributionWithCompletionHandler:, lookupAdConversionDetails".
Below are the app informations.
**Installed plugin - **
Ionic Info -
Any help, much appreciate.
Upvotes: 1
Views: 229
Reputation: 3868
The issue was with the Firebase plugin. I was using old FCM plugin "cordova-plugin-fcm-with-dependecy-updated : 4.1.1" due to which the podFile in the iOS platform has lower version to support on Xcode 14
old pod file
pod 'Firebase/Messaging', '~> 6.3.0' (
platform/ios/PodFile
)
After I update the FCM plugin "cordova-plugin-fcm-with-dependecy-updated : 7.8.0" and add the iOS platform again, it updates the podfile automatically.
new pod file
pod 'Firebase/Messaging', '~> 7.4.0' (
platform/ios/PodFile
)
Below are the Steps to fix the issue
ionic cordova platform rm ios
).ionic cordova plugin rm cordova-plugin-fcm-with-dependecy-updated
).ionic cordova plugin add [email protected]
).ionic cordova platform add ios
) - This will automatically update the podfile in ios platform.Upvotes: 2