visage
2006.05.05, 05:11 PM
Hey all! I know this is probably a fairly common question, but I googled extensively and I couldn't find anything (tough when I don't honestly really know what I am looking for...)
Here is my issue. I have a .app (which I just learned how to put a .icns on!) that I am trying to make portable to other macosx boxes. Now, it extensively uses .frameworks and has a lot of resource files that I would like to add.
Looking at a game like Battle of Wesnoth, it seems like they just add their frameworks to a Framework folder in Content and their resource (sound, image) files to Resources in Content
I tried to do the same with my resources, and my application said that it could not find any of the resources it tried to load. So my first question is, how do I get the .app to recognize where the resources are? It works if the resource folders are external to the .app, but not when they are placed in the Resources folder.
Next, the frameworks. I want those that are assumed not to me on osx10.4 to be added to the .app. Is all I have to do just add a Frameworks folder?
Also, how can I get xcode to automate this for me? I figure if I put my resources in the XCode resources folder, it should work (and, I think it does...), but what about the frameworks?
Sorry if this is a bit wish-wash. I am having trouble finding the words I want to say...
Thanks!
-visage
Here is my issue. I have a .app (which I just learned how to put a .icns on!) that I am trying to make portable to other macosx boxes. Now, it extensively uses .frameworks and has a lot of resource files that I would like to add.
Looking at a game like Battle of Wesnoth, it seems like they just add their frameworks to a Framework folder in Content and their resource (sound, image) files to Resources in Content
I tried to do the same with my resources, and my application said that it could not find any of the resources it tried to load. So my first question is, how do I get the .app to recognize where the resources are? It works if the resource folders are external to the .app, but not when they are placed in the Resources folder.
Next, the frameworks. I want those that are assumed not to me on osx10.4 to be added to the .app. Is all I have to do just add a Frameworks folder?
Also, how can I get xcode to automate this for me? I figure if I put my resources in the XCode resources folder, it should work (and, I think it does...), but what about the frameworks?
Sorry if this is a bit wish-wash. I am having trouble finding the words I want to say...
Thanks!
-visage