开发者

Undefined symbols for architecture i386: "_AudioServicesCreateSystemSoundID"

开发者 https://www.devze.com 2023-04-05 05:59 出处:网络
I am trying to make a soundboard app and i get this error Undefined symbols for architecture i386: \"_AudioServicesCreateSystemSoundID\", referenced from:

I am trying to make a soundboard app and i get this error

Undefined symbols for architecture i386:
      "_AudioServicesCreateSystemSoundID", referenced from:
          -[S0undFXViewController sound1] in S0undFXViewController.o
          -[S0undFXViewController sound2] in S0undFXViewController.o
          -[S0undFXViewController sound3] in S0undFXViewController.o
          -[S0undFXViewController sound4] in S0undFXViewController.o
          -[S0undFXViewController sound5] in S0undFXViewController.o
          -[S0undFXViewController sound6] in S0undFXVie开发者_开发知识库wController.o

I DONT GET IT!!!!!!!


That sort of error is usually caused by a missing framework.

Have you added the AudioServices framework to your project? It isn't enough to just import the header files.

Edit

Actually, if you turn on module support in Xcode, it is enough to just @import the Framework.

0

精彩评论

暂无评论...
验证码 换一张
取 消