IOS 老项目升级报错

1.文件冲突问题 (Multiple commands produce)

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

解决方法:找到项目中冲突文件删除一个即可或者重命名重复文件

2.Undefined symbols for architecture x86_64

Undefined symbol: _OBJC_CLASS_$_AVAudioSession

Undefined symbol: _AVAudioSessionInterruptionNotification

Undefined symbol: _AVAudioSessionCategoryPlayAndRecord

Undefined symbol: _AVAudioSessionInterruptionTypeKey

Undefined symbol: _AVAudioSessionCategoryPlayback

解决方法:添加库frameworks   BuildSettings -> Build Phase -> Link Binary with libraries

猜你喜欢

转载自blog.csdn.net/u010069091/article/details/125240280
今日推荐