Pushwoosh / pushwoosh-react-native-plugin

Other
57 stars 43 forks source link

"Multiple commands produce Pushwoosh.h" error #68

Closed asgeo1 closed 5 years ago

asgeo1 commented 5 years ago

I've added v5.15.2 to my project, and are getting this error when building for iOS. I have Cocoapods v1.6.1

Showing All Messages
:-1: Multiple commands produce '/Users/asgeo1/Library/Developer/Xcode/DerivedData/YL-ejsxfsqjjjtsffaitioslegcmqal/Build/Products/Debug-iphoneos/pushwoosh-react-native-plugin/pushwoosh_react_native_plugin.framework/Headers/Pushwoosh.h':
1) Target 'pushwoosh-react-native-plugin' (project 'Pods') has copy command from '/Users/asgeo1/Projects/your-lawyer/your-lawyer-mobile/node_modules/pushwoosh-react-native-plugin/src/ios/Pushwoosh.h' to '/Users/asgeo1/Library/Developer/Xcode/DerivedData/YL-ejsxfsqjjjtsffaitioslegcmqal/Build/Products/Debug-iphoneos/pushwoosh-react-native-plugin/pushwoosh_react_native_plugin.framework/Headers/Pushwoosh.h'
2) Target 'pushwoosh-react-native-plugin' (project 'Pods') has copy command from '/Users/asgeo1/Projects/your-lawyer/your-lawyer-mobile/node_modules/pushwoosh-react-native-plugin/src/ios/PushwooshPlugin/Pushwoosh.h' to '/Users/asgeo1/Library/Developer/Xcode/DerivedData/YL-ejsxfsqjjjtsffaitioslegcmqal/Build/Products/Debug-iphoneos/pushwoosh-react-native-plugin/pushwoosh_react_native_plugin.framework/Headers/Pushwoosh.h'

I don't believe I've misconfigured anything. There are multiple Pushwooosh.h files in this project, I can see that. Why is it trying to copy them into the same location for?

wfhm commented 5 years ago

@asgeo1,

Checking it.

wfhm commented 5 years ago

@asgeo1,

Fixed with the latest release.