Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualkuramayoko10

Posted 16 November 2012 - 07:33 AM

You want to release your project, right?

First you have to make sure that when debugging within XCode it is working flawlessly.
You said that only the first level is loading, and that is really strange. In my projects, I leave the assets/ folder inside MyApplication/MyApplication (where MyApplication is the name of your project) and it works fine.
When building the project, the assets must be copied to the bundle. So make sure that in XCode:
1) Click the Project Name in the Navigation Bar
2) Go to Build Phases
3) Go to Copy Bundle Resources and check if all the resources are listed there. Otherwise click the plus button and add the folder there.

I have never tried using an external resource (except when pulling something from the web and when I was using objective-c).
But I think here might be a start for you to look. This is objective-c though.

Now on to the Release build.
1) Check if your build settings are ok (architecture, etc.)
2) In Product -> Build for Archiving
3) If the above build is successful go to Product -> Archive
4) In the window that will pop up:
5) If you are going to release for App Store click the Validate... button
6) Otherwise you can directly click on Distribute and choose Direct Distribute
7) Choose Export As -> Application

That should work...
I have tried this with SDL before but not with SFML

#2kuramayoko10

Posted 16 November 2012 - 07:33 AM

You want to release your project, right?

First you have to make sure that when debugging within XCode it is working flawlessly.
You said that only the first level is loading, and that is really strange. In my projects, I leave the assets/ folder inside MyApplication/MyApplication (where MyApplication is the name of your project) and it works fine.
When building the project, the assets must be copied to the bundle. So make sure that in XCode:
1) Click the Project Name in the Navigation Bar
2) Go to Build Phases
3) Go to Copy Bundle Resources and check if all the resources are listed there. Otherwise click the plus button and add the folder there.

I have never tried using an external resource (except when pulling something from the web).
But I think here might be a start for you to look. This is objective-c though.

Now on to the Release build.
1) Check if your build settings are ok (architecture, etc.)
2) In Product -> Build for Archiving
3) If the above build is successful go to Product -> Archive
4) In the window that will pop up:
5) If you are going to release for App Store click the Validate... button
6) Otherwise you can directly click on Distribute and choose Direct Distribute
7) Choose Export As -> Application

That should work...
I have tried this with SDL before but not with SFML

#1kuramayoko10

Posted 16 November 2012 - 07:24 AM

You want to release your project, right?

First you have to make sure that when debugging within XCode it is working flawlessly.
You said that only the first level is loading, and that is really strange. In my projects, I leave the assets/ folder inside MyApplication/MyApplication (where MyApplication is the name of your project) and it works fine.
When building the project, the assets must be copied to the bundle. I have never tried using an external resource (except when pulling something from the web). So make sure that in XCode:
1) Click the Project Name in the Navigation Bar
2) Go to Build Phases
3) Go to Copy Bundle Resources and check if all the resources are listed there. Otherwise click the plus button and add the folder there.

Now on to the Release build.
1) Check if your build settings are ok (architecture, etc.)
2) In Product -> Build for Archiving
3) If the above build is successful go to Product -> Archive
4) In the window that will pop up:
5) If you are going to release for App Store click the Validate... button
6) Otherwise you can directly click on Distribute and choose Direct Distribute
7) Choose Export As -> Application

That should work...
I have tried this with SDL before but not with SFML

PARTNERS