react-native-star-io10 icon indicating copy to clipboard operation
react-native-star-io10 copied to clipboard

"Multiple commands produce" Error while running project on simulator.

Open gm-esoft opened this issue 1 year ago • 5 comments

Description

While running ReactNative app from xCode, I am getting following error

Multiple commands produce '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarConnectionSettings.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64/StarIO10.framework/Headers/StarConnectionSettings.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarConnectionSettings.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64_x86_64-simulator/StarIO10.framework/Headers/StarConnectionSettings.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarConnectionSettings.h'
Multiple commands produce '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarIO10-Swift.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64/StarIO10.framework/Headers/StarIO10-Swift.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarIO10-Swift.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64_x86_64-simulator/StarIO10.framework/Headers/StarIO10-Swift.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarIO10-Swift.h'
Multiple commands produce '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarIO10.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64/StarIO10.framework/Headers/StarIO10.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarIO10.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64_x86_64-simulator/StarIO10.framework/Headers/StarIO10.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarIO10.h'
Multiple commands produce '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarIO10Error.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64/StarIO10.framework/Headers/StarIO10Error.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarIO10Error.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64_x86_64-simulator/StarIO10.framework/Headers/StarIO10Error.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarIO10Error.h'
Multiple commands produce '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarLoggerWrapper.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64/StarIO10.framework/PrivateHeaders/StarLoggerWrapper.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarLoggerWrapper.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64_x86_64-simulator/StarIO10.framework/PrivateHeaders/StarLoggerWrapper.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarLoggerWrapper.h'
Multiple commands produce '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarXpandCommandParserWrapper.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64/StarIO10.framework/PrivateHeaders/StarXpandCommandParserWrapper.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarXpandCommandParserWrapper.h'
Target 'react-native-star-io10' (project 'Pods') has copy command from '/Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64_x86_64-simulator/StarIO10.framework/PrivateHeaders/StarXpandCommandParserWrapper.h' to '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarXpandCommandParserWrapper.h'

and Warning

duplicate output file '/Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarXpandCommandParserWrapper.h' on task: CpHeader /Users/UserName/Library/Developer/Xcode/DerivedData/tabbardrawerdemo-ckocjvrmrkkkhhdojmincqfubugt/Build/Products/Debug-iphonesimulator/react-native-star-io10/react_native_star_io10.framework/Headers/StarXpandCommandParserWrapper.h /Users/UserName/Code/Research/EPOS/tabbardrawerdemo/node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64_x86_64-simulator/StarIO10.framework/PrivateHeaders/StarXpandCommandParserWrapper.h

I have installed react-native-star-io10 package via npm and using 'New Build System' of iOS. I have removed DerivedData folder and clean the build but getting same error.

Your device where the bug occurs

  • Device: e.g. iPad 12.9

  • OS: e.g. iOS 15.5

  • System: OS: macOS 12.5.1 CPU: Dual-Core Intel Core i5

  • Binaries: Node: v16.15.1
    npm: 8.5.5

  • SDKs: iOS SDK:

    • DriverKit SDKs: DriverKit 21.4 -sdk driverkit21.4
    • iOS SDKs: iOS 15.5 -sdk iphoneos15.5
  • IDEs: Xcode: 13.4.1/13F100

  • npmPackages: react: 17.0.2 react-native: 0.68.2

gm-esoft avatar Sep 05 '22 10:09 gm-esoft

Did you have any luck resolving that issue?

hetoms avatar Feb 02 '23 11:02 hetoms

Seeing this as well with the latest update.

kickbk avatar Feb 22 '23 02:02 kickbk

Here. I triaged it for you: https://github.com/star-micronics/react-native-star-io10/issues/90

kickbk avatar Feb 23 '23 23:02 kickbk

Sorry for the delay in responding. As far as we have built our sample SDK, we do not have this problem, so we will continue to investigate the situation with this error, including @kickbk advice.

Thanks!

bandit-ibayashi avatar Mar 31 '23 07:03 bandit-ibayashi

@bandit-ibayashi What do you mean? The example app shows the problem too if you enable use_frameworks & static linking with use_frameworks! :linkage => :static.

santiagofm avatar Jun 20 '23 19:06 santiagofm