OneSignal / OneSignal-Cordova-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Ionic, PhoneGap CLI, PhoneGap Build, Cordova, or Sencha Touch app with OneSignal. Supports Android, iOS, and Amazon's Fire OS platforms. https://onesignal.com
Other
251 stars 199 forks source link

[question]: After adding new Notification Service Extension in XCode, my default App scheme disappears #1018

Open bradical1379 opened 2 months ago

bradical1379 commented 2 months ago

How can we help?

After I have added the Notification Service Extension to my project it creates a new scheme named OneSignalNotificationServiceExtension that is viewable atop the project in Xcode, however, on initial load of Xcode, my default App scheme is no longer available.

Screenshot 2024-08-30 at 8 53 48 AM

Once I close out of XCode and load back the project workspace, then the App scheme appears again:

Screenshot 2024-08-30 at 8 54 54 AM

Has anyone else ran into this with their Ionic / Capacitor projects? Is there a way to fix?

Code of Conduct

jduerr commented 1 month ago

Just happened to me, too.

I fixed it by opening the Menu -> Prod -> Scheme -> New Scheme ...

Xcode then prompted me to add the new Scheme "App" showing the correct target. After adding this scheme, the app builds like before with no problems,...