DJIWidget compilation breaks on Xcode 10

喜你入骨 提交于 2020-01-15 10:36:28

问题


I just uploaded to Xcode 10 and the compilation of my app that is using the DJI Mobile SDK doesn't work anymore. The error message comes from the DJIWidget module. I remember seeing a message similar to this one on Xcode 9.3 but it was only a warning. The error message is this one:

Showing Recent Messages :-1: Multiple commands produce '/Users/nachocarnicero/Library/Developer/Xcode/DerivedData/perceptionios-cuskgbsvtllwjkeyqpqurbegowwa/Build/Products/Debug-iphonesimulator/DJIWidget.framework/Headers/DJICalibratePixelBufferProvider.h': 1) Target 'DJIWidget' (project 'DJIWidget') has copy command from '/Users/nachocarnicero/git/Sterblue/MobileNew/ios/DJIWidget/DJIWidget/VideoPreviewer/Helper/ImageCalibrate/DJICalibratePixelBufferProvider.h' to '/Users/nachocarnicero/Library/Developer/Xcode/DerivedData/perceptionios-cuskgbsvtllwjkeyqpqurbegowwa/Build/Products/Debug-iphonesimulator/DJIWidget.framework/Headers/DJICalibratePixelBufferProvider.h' 2) Target 'DJIWidget' (project 'DJIWidget') has copy command from '/Users/nachocarnicero/git/Sterblue/MobileNew/ios/DJIWidget/DJIWidget/VideoPreviewer/Helper/ImageCalibrate/PixelBufferProvider/DJICalibratePixelBufferProvider.h' to '/Users/nachocarnicero/Library/Developer/Xcode/DerivedData/perceptionios-cuskgbsvtllwjkeyqpqurbegowwa/Build/Products/Debug-iphonesimulator/DJIWidget.framework/Headers/DJICalibratePixelBufferProvider.h'

As you can see from the following screenshot this error is blocking the compilation:

Has anyone encountered this issue and has managed to fix it?

Cheers,

Nacho

EDIT

I have managed to successfully compile the project with the "Legacy Build System" (by activating it under File->Workspace Settings), so this confirms that this is a problem with the "New Build System" which is enabled by default in Xcode 10

来源:https://stackoverflow.com/questions/52534673/djiwidget-compilation-breaks-on-xcode-10

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!