報錯:Build input file cannot be found: '.../Build/Products/Debug-iphoneos/NotificationService.appex/NotificationService'
解決的辦法:
1、選擇擴展Targets - Build Settings 搜索 Excluded Architectures
debug 裏的AnySDK 設置空
2、Enable bitcode設置NO
3、再次編譯,編譯成功了。希望能幫助你。