IOS old project upgrade error report

1. File conflict problem (Multiple commands produce)

Multiple commands produce '/Users/XX/Library/Developer/Xcode/DerivedData/Ble_Car-davkwupkdpvravbroathtuojnyhv/Build/Products/Debug-iphonesimulator/XXX.app/Info.plist'

Solution: Find the conflicting files in the project and delete one or rename the duplicate files

2.Undefined symbols for architecture x86_64

Undefined symbol: _OBJC_CLASS_$_AVAudioSession

Undefined symbol: _AVAudioSessionInterruptionNotification

Undefined symbol: _AVAudioSessionCategoryPlayAndRecord

Undefined symbol: _AVAudioSessionInterruptionTypeKey

Undefined symbol: _AVAudioSessionCategoryPlayback

 

Solution: Add library frameworks    BuildSettings -> Build Phase -> Link Binary with libraries

Guess you like

Origin blog.csdn.net/u010069091/article/details/125240280