Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 11-26-2008, 02:42 PM   #3 (permalink)
markww
Registered Member
 
Join Date: May 2008
Location: New York City, NY
Posts: 177
Default

Alright so I see XCode was trying to add the javascript file to the compiled sources folder. Deleted it from there, and moved it into the Copy Bundle Resources folder.

Now it appears with at the same location as my html file, I'm printing the paths and get:

Code:
2008-11-26 15:36:47.885 myapp[2729:20b] /Users/mark/Library/Application Support/iPhone Simulator/User/Applications/1CC029F4-AF6B-4E19-91BR-66DA276F83B5/myapp.app/test.html
2008-11-26 15:36:47.890 myapp[2729:20b] /Users/mark/Library/Application Support/iPhone Simulator/User/Applications/1CC029F4-AF6B-4E19-91BR-66DA276F83B5/myapp.app/test.js
But referencing it in that html file still fails, again, doing:

src="test.js"

but no luck.
markww is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,334
Threads: 39,128
Posts: 171,563
Top Poster: smasher (2,577)
Welcome to our newest member, onlineservice22
Powered by vBadvanced CMPS v3.1.0

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