DragonFireSDK Forum

Programming Discussions => Build Center => Topic started by: cydia31 on March 17, 2013, 09:44:10 am

Title: I need help please...
Post by: cydia31 on March 17, 2013, 09:44:10 am
Hey guys, I need help... I build my app in the Build Center and I can't install my app on my iPod Touch from iTunes... Someone can help me to find the "Error" ?



my Build folder tree :

Build.zip
{
      Build
          Assets
              Images
                   (All my images).
          icon.png
          icon@2x.png
          Default.png
          Default@2x.png
          iTunesAtwork
          App.cpp
          DragonFireSDK.h
          myClass.cpp
          myClass.h
}

After Build Center :

AppName.zip
{
    AppName.app
    {
         Assets
             Images
                  (All my images).
         Default.png    (Default of DragonFireSDK, not mine).
         embedded.mobileprovision
         Entitlements.plist
         icon.png         (icon of DragonFireSDK, not mine).
         info.plist
         iTunesAtwork
         MainWindow.nib
         PkgInfo
         ResourceRules.plist
        UnStackerViewController.nib     
    }
    mp.mobileprovision
}


I can see my app on iTunes, but I get an Error when I'm syncing my app....

What I did to make it crash... ?? :O

Thank you,

Alex.

Title: Re: I need help please...
Post by: glina126 on March 17, 2013, 03:56:28 pm
your not allowed classes with a .cpp extension. dump it all into the .h file. in other words the only .cpp file that is allowed is App.cpp
Title: Re: I need help please...
Post by: cydia31 on March 18, 2013, 05:19:28 am
Ok thank you, but how could I do this... Sorry, I never make it.. haha :P
Title: Re: I need help please...
Post by: cydia31 on March 18, 2013, 06:01:32 am
Bad news, I make my app without any Class.cpp  (Just App.cpp and DragonFireSDK.h)  and I sended only the App.cpp and I got the same tree for result...

HELP PLEASE :O....
Title: Re: I need help please...
Post by: glina126 on March 18, 2013, 07:20:21 am
Bad news, I make my app without any Class.cpp  (Just App.cpp and DragonFireSDK.h)  and I sended only the App.cpp and I got the same tree for result...

HELP PLEASE :O....

that is weird. then maybe its your code? Also maybe its the name that your using for the build. Try something like "Try1" without any spaces or weird characters ;)
Title: Re: I need help please...
Post by: cydia31 on March 18, 2013, 10:10:25 am
I never put space or weird character... hahah! :P

I name my .cpp file   App.cpp to be sure and Nothing... haha

The code is a simple code...

I'm going to try with a DragonFireSDK Sample, just to test !! haha :P
Title: Re: I need help please...
Post by: DeadSn0wMan on March 18, 2013, 02:54:18 pm
Look in the Error.txt file (placed in the zip you download)
Title: Re: I need help please...
Post by: cydia31 on March 19, 2013, 05:16:40 am
I don't have any Errors.txt...
Title: Re: I need help please...
Post by: DeadSn0wMan on March 19, 2013, 11:13:41 am
mail support maybe they can help you or post some code here in the forums
Title: Re: I need help please...
Post by: wkohlenberg on March 19, 2013, 11:27:45 am
I can see my app on iTunes, but I get an Error when I'm syncing my app....

What is the error that iTunes given at the moment that you syncing your app?
Title: Re: I need help please...
Post by: EricB on March 19, 2013, 03:29:54 pm
Did you try installing it OTA? If the build was a success you should get an email subject "DragonFireSDK Over The Air (OTA) Download Notification ". When you open this email you will see a link "Touch here to download (name of your app) to your provisioned device." This will install the app to your device "over the air" without having to sync your device to itunes. This is a much easier and faster way to install your app (I think).
EricB
Title: Re: I need help please...
Post by: ciuffolo on March 19, 2013, 04:18:28 pm
Ok, this is an error that i had some times...
1)If the application build failed you can't use the OTA...that's a problem, because you have to do everything with Itunes...
2)I think that the problem aren't the files...
3)Maybe you used some variables with commons name like "Time" or "Build" or... I don't know...then post and try to change the names.
That worked for me with my first application.
Now I've got some problems that I can't really undestand, but I'm sure that are files and folders problem.
Hope this helped
Title: Re: I need help please...
Post by: cydia31 on March 19, 2013, 08:27:12 pm
.............................  Yeah I called my .zip file  "Build.zip"  like in the example on DragonFireSDK, I'm going to try with another name... hahaha!! :p
Title: Re: I need help please...
Post by: ciuffolo on March 20, 2013, 06:11:41 am
I think you misundestood :)
I was talking about some vars in the code, like
Code: [Select]
#include <dragonfire sdk>
int time;
int x;
int y;
int build;
You have to call the folder Build.zip, there isn't another way :D
Title: Re: I need help please...
Post by: cydia31 on March 20, 2013, 09:30:46 am
Nah.. I'don't have any code like your...

no x, y;
no time;
no #include <dargonfire sdk>

So, nothing works....

Maybe is it Visual Studio 2012 ?! :O
Title: Re: I need help please...
Post by: ciuffolo on March 20, 2013, 10:56:33 am
No, I don't think.
Is that the first time that you try to upload something? Or you have already uploaded a build and got good results?
As I said I'm having some problems like you with easy code, maybe the problem aren't we...
Title: Re: I need help please...
Post by: glina126 on March 20, 2013, 01:46:54 pm
Nah.. I'don't have any code like your...

no x, y;
no time;
no #include <dargonfire sdk>

So, nothing works....

Maybe is it Visual Studio 2012 ?! :O

ok.. try compiling this code and running it on your device..

Code: [Select]

#include "DragonFireSDK.h"

void AppMain()
{
  int FontMedium = FontAdd("FontMedium");

  TextAdd( 0, 0, "IT WORKS!", FontMedium);
}
void AppExit(){}
void OnTimer(){}

Title: Re: I need help please...
Post by: ciuffolo on March 20, 2013, 02:03:09 pm
In the mail I receive the sadly "Has filed" if I compile only this too:
Code: [Select]
#include "DragonFireSDK.h"

void AppMain()
{
}
void AppExit(){}
void OnTimer(){}
This is my directory:

Build.zip-
Build-
App.cpp *code up
Default.png
icon.png
iTunesArtwork.png
Assets-
Images-
nothing

I...I..don't understand!
May I have to download the upgrade of DragonfireSDK?
Title: Re: I need help please...
Post by: wkohlenberg on March 21, 2013, 04:44:36 am
I am not sure, but I think that the upgrade is to the editor to test it on a windows pc.
Title: Re: I need help please...
Post by: ciuffolo on March 21, 2013, 12:10:06 pm
I finally solved... I controlled every single file adn downloaded the last version of sdragonfire sdk and it worked...
Title: Re: I need help please...
Post by: cydia31 on March 21, 2013, 03:45:07 pm
GOOOOOOOODDDD NNNNEEEWWWWSSSSS :):):):):):):)!!!!!!!

The webBrowser isn't supported by DragonFireSDK and my File.h was probably bad linked for the Apple framework... So I correcte it and it works :)!!!!!!!

Thank you at all to try to help me :)!!

Thank you,

Alex