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 '/Users/hamzabakaran/Library/Developer/Xcode/DerivedData/mobile..../Build/Products/Debug-iphonesimulator/.../Frameworks/OneSignalExtension.framework' #1621

Closed
1 task done
HamzaBakaran opened this issue Jan 5, 2024 · 3 comments

Comments

@HamzaBakaran
Copy link

HamzaBakaran commented Jan 5, 2024

How can we help?

I'm encountering a 'Multiple commands produce' error related to OneSignalExtension.framework in my React Native iOS app (Xcode 15.1, OneSignal 4.5.1).

Here is full error message:

Multiple commands produce '/Users/hamzabakaran/Library/Developer/Xcode/DerivedData  
/mobile-ctpnuulbuipfykbyqdihvziwoxdf/Build/Products/Debug-iphonesimulator   
 /AppName.app/Frameworks/OneSignalExtension.framework'


Target 'mobile' (project 'mobile') has copy command from '/Users/hamzabakaran/Documents/Projects/app/app-mobile 
 /ios/Pods/OneSignalXCFramework/iOS_SDK/OneSignalSDK/OneSignal_Extension/OneSignalExtension.xcframework   
 /ios-arm64_i386_x86_64-simulator/OneSignalExtension.framework' to  
'/Users/hamzabakaran/Library/Developer/Xcode/DerivedData/mobile-ctpnuulbuipfykbyqdihvziwoxdf/Build  
/Products/Debug-iphonesimulator/AppName.app/Frameworks/OneSignalExtension.framework'



I've tried switching to OneSignal 4.5.0, removing OneSignalExtension.xcframework form Embed Frameworks (got

/Users/hamzabakaran/Documents/Projects/app/app- 
 mobile/ios/Pods/boost/boost/container_hash/hash.hpp:131:33  
 No template named 'unary_function' in namespace 'std';
 did you mean '__unary_function'?

)
but the issue persists. Can anyone offer guidance on resolving this?

Code of Conduct

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

Hello @HamzaBakaran, apologies for the delay in getting back to you. Is this still an issue you are facing?

@lucianolopezz
Copy link

Same error after upgrade Expo 50

@lucianolopezz
Copy link

I solved adding use_frameworks! :linkage => :static

target 'OneSignalNotificationServiceExtension' do use_frameworks! :linkage => :static // add here pod 'OneSignalXCFramework', '>= 3.0', '< 4.0' end

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

3 participants