问题
After pod installing NearbyMessages and reinstall the app on the simulator or physical iOS device my app icon goes blank.
I am using swift 3.2 and XCode Version 9.2 (9C40b). I am using NearbyMessages version 1.1.0.
回答1:
I think when you open the xcworkspace check the app icon folder and see if there is an image in that and does it match the apples guidelines.
回答2:
In Xcode 11.2, when I install NearbyMessages via Cocoapods, I get an error:
warning: duplicate output file '/Users/.../Library/Developer/Xcode/DerivedData/XXX-bcwvmondqpgllhdzdahpqecjlqca/Build/Products/Debug-iphonesimulator/XXX.app/Assets.car' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/.../Library/Developer/Xcode/DerivedData/XXX-bcwvmondqpgllhdzdahpqecjlqca/Build/Intermediates.noindex/XXX.build/Debug-iphonesimulator/XXX.build/Script-F8B92903BE89C5535684B7F8.sh (in target 'XXX' from project ‘XXX')
This suggests that there’s some conflict in assets. This might explain app icon issues.
来源:https://stackoverflow.com/questions/49019033/google-nearby-messages-api-broke-app-icon