react-native-onesignal
react-native-onesignal copied to clipboard
[question]: Multiple commands produce [...]
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
- [X] I agree to follow this project's Code of Conduct
Have the same problem. RN: 0.71.1, React: 18.2.0, OneSignal: 4.5.0
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.


Hello, I have same error only for M1. On intel it's working perfectly... The solution from @PatrickBokhove it's working. Thank you!
same issue here...
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"
I still getting this erro... trying everything but no success....
I faced the same issue today, tried all the steps, and it is not working. Has anyone found (another) solution?
same here
Same here as well - running into this issue now when trying to install react native firebase
. I assume it's something to do with the usage of use_frameworks!
.
@PatrickBokhove comment doesn't look to be relevant for OneSignal v4.5.3
. The embed frameworks section is empty now.