开发者

Undefined symbols for architecture i386: "_AudioServicesCreateSystemSoundID"

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜