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]: Multiple commands produce [...] #1485

Open
1 task done
rum-n opened this issue Feb 7, 2023 · 8 comments
Open
1 task done

[question]: Multiple commands produce [...] #1485

rum-n opened this issue Feb 7, 2023 · 8 comments

Comments

@rum-n
Copy link

rum-n commented Feb 7, 2023

How can we help?

I've been getting the error:

Multiple commands produce '[path]/Build/Products/Debug-iphonesimulator/project.app/Frameworks/OneSignalOutcomes.framework'

and

Multiple commands produce '[path]/Build/Products/Debug-iphonesimulator/project.app/Frameworks/OneSignalCore.framework'

Does anyone know how to solve this?

Code of Conduct

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

Have the same problem. RN: 0.71.1, React: 18.2.0, OneSignal: 4.5.0

@PatrickBokhove
Copy link

I was running in to the same issue, and here is how i solved it:

In the Build Phases tab of your main target is a section called Embed Frameworks. This section includes OneSignalCore.xcframework and OneSignalOutcomes.xcframework. However, these files probably also get embedded in the Embed Pods Frameworks section. After deleting the files from the Embed Frameworks section, my app built just fine again. In the General tab of your main target, there's a section called Frameworks, Libraries, and Embedded Content. After removing the frameworks from Embed Frameworks these should now be labeled as Do Not Embed.

Scherm­afbeelding 2023-02-15 om 13 26 02

Scherm­afbeelding 2023-02-15 om 15 49 44

@BogdanRad
Copy link

Hello, I have same error only for M1. On intel it's working perfectly... The solution from @PatrickBokhove it's working. Thank you!

@hoseinfo
Copy link

hoseinfo commented Mar 2, 2023

same issue here...

@indapublic
Copy link

Lock on 4.5.0 version works for me (after that you need to force reinstall package and pods)

"react-native-onesignal": "4.5.0"

@TiagoAndreAlmeida
Copy link

I still getting this erro... trying everything but no success....

@HamzaBakaran
Copy link

I faced the same issue today, tried all the steps, and it is not working. Has anyone found (another) solution?

@phuocantd
Copy link

same here

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

9 participants