Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question]: [!] Unable to find a target named OneSignalNotificationServiceExtension in project Runner.xcodeproj, did find Runner and OneSignalServiceNotificationExtension. #691

Closed
1 task done
Arpithaarha opened this issue Jun 22, 2023 · 9 comments

Comments

@Arpithaarha
Copy link

Arpithaarha commented Jun 22, 2023

How can we help?

[!] Unable to find a target named OneSignalNotificationServiceExtension in project Runner.xcodeproj, did find Runner and OneSignalServiceNotificationExtension.
after adding onesignalnotification extension in podfile and running pod install getting this error

Code of Conduct

  • I agree to follow this project's Code of Conduct
@elhe26
Copy link

elhe26 commented Sep 12, 2023

Same issue here.

@benjaminhorner
Copy link

Same here. Any solution?

@Anderson-Andre-P
Copy link

Can you see if you are experiencing the same issue as issue 750? If it's the same problem, we can work together on it and when there is a solution, we use it.

#750

@benjaminhorner
Copy link

benjaminhorner commented Sep 27, 2023

@Anderson-Andre-P I am building on a Mac and I get the error when running Pod install inside the ios folder, so I am not sure these two issues are related however, the error does seem to be the same.

@dev-babar
Copy link

dev-babar commented Sep 30, 2023

first follow Notification Service Extension setup steps from the documentation after that run
pod install --repo-update

@benjaminhorner
Copy link

benjaminhorner commented Oct 2, 2023

@babar7 Thank you so much! I can't believe I missed that. However, this doesn't entirely solve the issue as now I am getting the following error:

The 'Pods-Runner' target has frameworks with conflicting names: onesignalframework.xcframework, onesignalcore.xcframework, onesignalextension.xcframework, onesignalinappmessages.xcframework, onesignalnotifications.xcframework, onesignaloscore.xcframework, onesignaloutcomes.xcframework, and onesignaluser.xcframework

To solve that I had to refer to this issue.

I think the issue can be closed as I consider the issue solved.

@Marcel0Henrique
Copy link

@Arpithaarha I faced the same issue and resolved it as follows: I manually created the target. In Xcode, go to "File" > "New" > "Target" > "Notification Service Extension." Fill in the necessary information, and then click "Cancel" when prompted to activate the scheme. This allows you to execute the pod install command and proceed with the installation guide.

If, when running flutter run, you encounter an error related to multiple build configurations, make sure to check the "Runner" and "OneSignal" targets. I resolved the issue by following these steps.

@bugrevealingbme
Copy link

same++

@jennantilla
Copy link
Contributor

Appreciate the discussion and solutions provided here!

@bugrevealingbme since you are the only recent commenter--did the above workarounds help?

If not, please open a new issue with updated information on the problem you're facing.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants