Subscribe ( )

iPhone Programming Tutorials

 

Forum

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

You must be logged in to post Login Register

Search 

iPhone sound playback tutorial issue

User Post

12:21 pm
June 19, 2009


concertman

Noob

posts 1

1

Hello all!  

So I've been following along with the tutorials and have run into a wall trying to implement audio in one of my own apps.  It works great in the tutorial but won't work in my app.

http://icodeblog.com/2009/05/04/iphone-game-programming-tutorial-part-4-basic-game-audio/


When I try and build the app I get an error stating: 

 

ld warning: in /Programming/Xcode projects/Final Checkout/Classes/AudioToolbox.framework/AudioToolbox, file is not of required architecture

Undefined symbols:

  “_AudioServicesPlaySystemSound”, referenced from:

      -[Final_CheckoutViewController playSystemSound] in Final_CheckoutViewController.o

  “_AudioServicesCreateSystemSoundID”, referenced from:

      -[Final_CheckoutViewController viewDidLoad] in Final_CheckoutViewController.o

ld: symbol(s) not found

collect2: ld returned 1 exit status

I'm guessing I've got the wrong framework but I've tried all the others for the AudioToolbox.framework but I get the same thing.


Anyone have any ideas?  I really appreciate it!


peace

jarod



About the iCodeBlog forum

Currently Online:

4 Guests

Maximum Online: 44

Forums:

Groups: 2

Forums: 6

Topics: 337

Posts: 783

Members:

There are 759 members

There are 1 guests


Brandon has made 87 posts

Top Posters:

bobcubsfan - 54

crazyiez - 30

VertigoSol - 26

Uhu - 17

AdeC - 17

Administrator: Brandon | Moderators: VertigoSol


© - Version 3.1.4 (Build 357)