-
Notifications
You must be signed in to change notification settings - Fork 218
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
Multiple commands produce #551
Comments
@FoloosiApps Which version of OneSignal is Cocoapods trying to use? It looks like this is Flutter so in the future please report issues here |
If you add Onesignal via "Pod" & "Swift package", please remove one for consistency. |
@FoloosiApps Closing due to no response. If the above does not help please add the full contains of your |
Any update on this ? Multiple commands produce '/Users/macbookpro/Library/Developer/Xcode/DerivedData/Runner-guxfrrsooqgfuierbfplcdnromlw/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignalXCFramework/OneSignal.framework' Multiple commands produce '/Users/macbookpro/Library/Developer/Xcode/DerivedData/Runner-guxfrrsooqgfuierbfplcdnromlw/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignalXCFramework/OneSignalCore/OneSignalCore.framework' Multiple commands produce '/Users/macbookpro/Library/Developer/Xcode/DerivedData/Runner-guxfrrsooqgfuierbfplcdnromlw/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignalXCFramework/OneSignalExtension/OneSignalExtension.framework' Multiple commands produce '/Users/macbookpro/Library/Developer/Xcode/DerivedData/Runner-guxfrrsooqgfuierbfplcdnromlw/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OneSignalXCFramework/OneSignalOutcomes/OneSignalOutcomes.framework' |
Hi @ImranKaagga, Did you try the suggestion above?
If the above does not help please add the full contains of your |
hi there, i had the same issue and i had made sure that i add onesignal only using cocoapods. Here's my Podfile :
|
I'm using React Native but I am also getting this issue. |
I was able to solve this by using
|
Works like a charm! Thanks! |
This does not work for me. any other solution? |
Fixed this by specifying differend pods in app and extension, like this target 'App' do
use_frameworks!
pod 'OneSignal', '>= 3.0', '< 4.0'
end
target 'OneSignalNotificationServiceExtension' do
use_frameworks! :linkage => :static
pod 'OneSignalXCFramework/OneSignalExtension', '>= 3.4.3', '< 4.0'
end |
For this error, I follow these steps
step-2: open Xcode in making this change
step-3: Open podefile
step-4: use this commands
step-5: delete Pods folder and Podfile.lock on ios folder and use this commands
All these step works for me |
I'm having the same issue it appears that it started happening after upgrading to 3.5 but now even downgrading doesn't help so frustrated removing OneSignalCore.xcframework and OnceSignalOutcomes.xcframework solves it but I don't want to do it because I don't understand what this is for |
I am having the same issue, I just got a MacBook, pulled the repo that is working correctly on my college's M1 Mac (I have M2 but should not have a difference) and I get the error: Error (Xcode): Multiple commands produce Error (Xcode): Multiple commands produce the Podfile looks like this:
I have tried as suggested above but it is still not working. I am using COCOAPODS: 1.12.0 and one onesignal_flutter: ^3.5.0 The only place I have found a duplication of OneSignalCore.xcframework and OneSignalOutcomes.xcframework is in the file project.pbxproj in the section:
where If I remove the lines:
then the app runs but the notifications are not received in the emulator
I keep getting the same error messages |
Don't remove anything make onesignal_flutter: 3.4.1 in pubspec.yaml, and reinstall the pod for that refer step-4 and 5 (#551 (comment)) |
Version of one signal and the target version should be same |
Hey everybody! Now I am in some kind of deadlock. Having the needed framework inside project results in "Multiple Commands"-error, having them not results in crash on app startup. I am sad and desperate :( Does anybody know a solution? |
I think I finally found out when this is happening. It is when you update CocoaPods to version 1.12.0. My colleague's laptop was using 1.11.3 and was not having all these issues but I had. He just updated his CocoaPods to 1.12.0 and this error happened to him. Doing these changes on his laptop and mine made it work again. Thanks a lot for your help!
|
this solution worked for me. Thank you ! |
Closing issue as stale. If this is still happening in 2024 feel free to tag me to reopen |
@emawby haha literally having this issue as of now :) |
Same @emawby |
This PR integrates OneSignal for both Android and iOS. Fixes #331 Note: For iOS, the OneSignal Notification Service Extension is only set up for the bundle ID `com.friend-app-with-wearable.ios12`. This means it won't work with the bundle ID `com.friend-app-with-wearable.ios12.dev` because this bundle ID isn't included in the Development Team. Steps to integrate OneSignal on iOS with xcode 15 or higher: OneSignal/OneSignal-Flutter-SDK#551 (comment) Android | iOS :-------------------------:|:-------------------------: ![Android](https://github.com/BasedHardware/Friend/assets/59914433/7c3a7acf-6f5d-43f0-a9ce-e51f1b3bde64) | ![iOS](https://github.com/BasedHardware/Friend/assets/59914433/6aa20bd5-5cf0-4287-9108-12ad01271be1)
I guess it is the best solution |
Problem still persists for me Xcode 15.4 |
This worked for me |
Issue:
Multiple commands produce '/Users/admin/Library/Developer/Xcode/DerivedData/Runner-dpyjwukbvwjjmfhhlbogqotonlpd/Build/Products/Debug-iphoneos/Runner.app/Frameworks/OneSignal.framework'
How can i fix this issue?
Note:
My XCode Version 13.3.1
The text was updated successfully, but these errors were encountered: