react-native-onesignal icon indicating copy to clipboard operation
react-native-onesignal copied to clipboard

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

Open rum-n opened this issue 2 years ago • 13 comments

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

rum-n avatar Feb 07 '23 14:02 rum-n

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

NikitaNS avatar Feb 13 '23 13:02 NikitaNS

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

PatrickBokhove avatar Feb 15 '23 14:02 PatrickBokhove

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

BogdanRad avatar Feb 25 '23 10:02 BogdanRad

same issue here...

hoseinfo avatar Mar 02 '23 08:03 hoseinfo

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"

indapublic avatar May 15 '23 01:05 indapublic

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

TiagoAndreAlmeida avatar Oct 19 '23 17:10 TiagoAndreAlmeida

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

HamzaBakaran avatar Jan 03 '24 15:01 HamzaBakaran

same here

phuocantd avatar Feb 29 '24 04:02 phuocantd

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.

quachdev avatar Jul 04 '24 21:07 quachdev