最近在xcode 11上使用pod碰到一个问题,Assets.car被生成多次。
问题如下:
Multiple commands produce '/Users/luowei/Library/Developer/Xcode/DerivedData/LWAudioPlayer-ebxyxcdiplyaeucipfqphpogtkzh/Build/Products/Debug-iphonesimulator/LWAudioPlayer_Example.app/Assets.car':
1) Target 'LWAudioPlayer_Example' (project 'LWAudioPlayer') has compile command with input '/Users/luowei/projects/libs/mybinlibs/LWAudioPlayer/Example/LWAudioPlayer/Images.xcassets'
2) That command depends on command in Target 'LWAudioPlayer_Example' (project 'LWAudioPlayer'): script phase “[CP] Copy Pods Resources”
解决方法如下:
在Podfile文件中最前面添加以下代码解决:
install! 'cocoapods', :disable_input_output_paths => true
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)