草庐IT

kPlaySoundPrefsKey

全部标签

objective-c - 声明 extern NSString 会导致链接器错误

这太荒谬了,我正在尝试创建一个声音boolean来关闭应用内的声音。我不断得到Undefinedsymbolsforarchitecturei386:"_kPlaySoundPrefsKey",referencedfrom:-[AppDelegateapplication:didFinishLaunchingWithOptions:]inAppDelegate.old:symbol(s)notfoundforarchitecturei386clang:error:linkercommandfailedwithexitcode1(use-vtoseeinvocation)我检查了我的所有

objective-c - 声明 extern NSString 会导致链接器错误

这太荒谬了,我正在尝试创建一个声音boolean来关闭应用内的声音。我不断得到Undefinedsymbolsforarchitecturei386:"_kPlaySoundPrefsKey",referencedfrom:-[AppDelegateapplication:didFinishLaunchingWithOptions:]inAppDelegate.old:symbol(s)notfoundforarchitecturei386clang:error:linkercommandfailedwithexitcode1(use-vtoseeinvocation)我检查了我的所有