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 11-26-2008, 03:42 PM   #3 (permalink)
markww
Registered Member
 
Join Date: May 2008
Location: New York City, NY
Posts: 178
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
 

» Advertisements
» Stats
Members: 158,680
Threads: 89,158
Posts: 380,398
Top Poster: BrianSlick (7,110)
Welcome to our newest member, davinmarke
Powered by vBadvanced CMPS v3.1.0

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