react-native-star-io10
react-native-star-io10 copied to clipboard
"Multiple commands produce" Error while running project on simulator.
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
Did you have any luck resolving that issue?
Seeing this as well with the latest update.
Here. I triaged it for you: https://github.com/star-micronics/react-native-star-io10/issues/90
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 What do you mean? The example app shows the problem too if you enable use_frameworks & static linking with use_frameworks! :linkage => :static
.