Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-09-2009, 12:43 PM   #4 (permalink)
smasher
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
Default

Quote:
Originally Posted by romeos28 View Post
I just noticed that i am getting warnings about .js files

warning: no rule to process file '$(PROJECT_DIR)/CanvasGraph.js' of type sourcecode.javascript for architecture i386

Maybe I need set some rule in Xcode for js files??
If yes, what should i do?
It means XCODE doesn't know what to do with a .js file - compile it? link it? include it in the bundle unchanged? You want to include it in the bundle unchanged.

Look inside "Targets" in the the left pane, expand your target, and drag your file into "copy bundle resources." It should be added to the bundle the next time you build.

Maybe someone else knows how to add .js files to the list of files that get copied automatically?
__________________

Free Games!
smasher is offline   Reply With Quote
 

» Advertisements
» Online Users: 266
15 members and 251 guests
ADY, BdR, BrianSlick, dacapo, Joseph Nardone, laurielaptop, M@realobjects, mizzytheboy, oztemel, poisenden, rob.mccarthy, Sunny46, TheWebWizz, VikMyr, XRumerTest
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,876
Threads: 89,225
Posts: 380,701
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jorge599
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:41 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.