DragonFireSDK Forum
Programming Discussions => Build Center => Topic started 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.
-
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
-
Ok thank you, but how could I do this... Sorry, I never make it.. haha :P
-
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....
-
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 ;)
-
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
-
Look in the Error.txt file (placed in the zip you download)
-
I don't have any Errors.txt...
-
mail support maybe they can help you or post some code here in the forums
-
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?
-
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
-
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
-
............................. Yeah I called my .zip file "Build.zip" like in the example on DragonFireSDK, I'm going to try with another name... hahaha!! :p
-
I think you misundestood :)
I was talking about some vars in the code, like
#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
-
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
-
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...
-
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..
#include "DragonFireSDK.h"
void AppMain()
{
int FontMedium = FontAdd("FontMedium");
TextAdd( 0, 0, "IT WORKS!", FontMedium);
}
void AppExit(){}
void OnTimer(){}
-
In the mail I receive the sadly "Has filed" if I compile only this too:
#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?
-
I am not sure, but I think that the upgrade is to the editor to test it on a windows pc.
-
I finally solved... I controlled every single file adn downloaded the last version of sdragonfire sdk and it worked...
-
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