I want to know that how can I create ipa file, while I am using cocos2d, because it is first time I am making an ipa for cocos2d game, I saw three files instread of two in Build's folder,
Try this...
Buid-->Build & Archive.
Then Select Device in release mode...
Window-->Organizer-->Select your app in sidebar...Then Click Share..Change the identity to iPhone Developer.
That's all.
Before you start, make sure you have Xcode installed on your system; it can be acquired for free on the App Store.
In your cocos2d-x project folder, there should be a "proj.ios_mac" folder which will contain .xcodeproj folder. From the command line, do "open .xcodeproj" or open the .xcodeproj with Xcode.
Xcode itself should then start. Following the instructions provided by Anish, you should then be able to create a .ipa archive and distribute it to the App Store or via Ad Hoc to your test devices.
Related
A few months ago, I inherited a C++ command-line XCode project that I've since turned into an app with a GUI, but XCode won't build it as an .app bundle:
Instead, XCode builds a Debug folder, which, interestingly enough, works as an app if I copy it and rename it to "[Bundle Display Name].app".
There are two problems with this though:
(1) I have to manually do this for each build
(2) It doesn't link to my Assets.xcassets file containing my app icons or my Info.plist file or any of the other resources I need.
I've scoured Apple's XCode documentation and come up with nothing. Are there any XCode veterans who know the solution?
EDIT: It seems like the only solution is to add a script to the Build Rules to manually change the Debug directory to an .app and structure it properly. The problem I'm now having is that my app doesn't see my .icns file unless the absolute path is hardcoded into the Info.plist file. For example:
<key>CFBundleIconFile</key>
<string>AppIcon.icns</string>
^This doesn't work
<key>CFBundleIconFile</key>
<string>/Users/.../build/Control Cam.app/Contents/Resources/AppIcon.icns</string>
^This works. But of course it can't find the icon anymore if I move the app to a different folder. Any ideas how to get it to use relative path names?
I know that Windows start menu's item is link file ever.
In
ProgramData\Microsoft\Windows\Start Menu
linked file exist.
But UWP tile app is not.
Where is linked that app's executable file?
Almost tile is
Program Files\WindowsApps
but not all.
And I can't access this folder normally.
Can I get this file info linked in program code like C++?
Additionally Windows 8's Metro App also...
You may have desktop app dev experience, but link to the app using Shortcut pointed to a file is not the right direction in UWP dev.
And you found that the installation of UWP apps are in the hide folder "Program Files\WindowsApps", but if you send a installed app's .exe file to DeskTop (create shortcut) and double click this shortcut, the following error will be shown:
This application can only run in the context of an app container.
So:
Can I get this file info linked in program code like C++?
The answer is no. But if you need to launch an UWP app from your code, you can refer to Launch the default app for a URI.
I've created FirstProgram.mkb with the following content:
files
{
(source)
HelloWorld.cpp
}
subprojects
{
iwgx
}
I started it with XCode 4.6 and it opens it as a text file. What do I do wrong? How to create a marmalade sdk project in XCode?
I don't need MarmaladeQuick cause I need to use C++ (not Lua as for Quick).
If you have more than one Marmalade version installed, you need to be careful of associating .mkb files with the mkb.app. My experience on Macs is that this overrides the s3e_config settings. I'm planning to write a script that picks up the s3e_config setting but for the moment I would advise using the command line shell: cd to the appropriate directory and then do "mkb foobar.mkb" or whatever.
[FTR Contrast with the PC situation where s3eConfig.exe sets up the GUI but not the command line!]
Just double click on the mkb file and if it asks, use mkb.app found in /Developer/Marmalade/6.3/Applications to open the file. The mkb script will automatically create an XCode project for you and will open it in XCode too.
Just remember, never open the XCode project directly. You should always double click on mkb to open XCode, since it updates the XCode project files when needed.
I have a c++ opengl project that uses glut. It runs fine in my computer, but I need to be able to run it on a lab computer. When I try to do this, it tells me the glut.dll is not installed, but I do not have the privileges to put the file in the proper system folder on the computer. Is there anyway I can store the file with my game, and point to it in my project?
Thanks
Add required dlls to your project and set property to copy local.
Executable looks for dlls in folders listed in $PATH and in the folder with exe file.
I have just installed Qt_SDK_Win_offline_v1_1_4_en.exe and run QT Creator.
I am working on Win7 64 bit.
I wanted to make simply app with form and button on it to test Qt. I choose New->Project QT Widget->Aplikacja Gui QT ---> then Desktop application.
When I run Play Button - that should build and run the application I get a message: that I should check path and privileges. I can't also run the exe files as administrator manually because windows give me message that I don't have privileges. I gave full privileges in file Properties but then after run I am getting error that I don't have mingwm10.dll.
I gave full privileges in file Properties but then after run I am getting error that I don't have mingwm10.dll.
This means the library required can't be found in any of the locations Windows searches to find libraries. The usual method to get around this is by making sure the folder containing the copy of mingwm10.dll which the Qt SDK installs is in your PATH environment variable. Here is one of the many Google-able guides to settings those variables.
Ok, I found a partial solution, I could finally run the exe file.
First, something must have changed in my Windows7 because every new created folder (and files in it)had restrictions and noone could make all operations.
So, after changing properties of folder, I got message about missing dlls files, so I started to copy them from QT folder. There are at least a few different versions of each dll, and only one is correct, so I copy those form mingw folder bacause I used mingw compiler, and finally after copying 4-5 dll I run the exe file.
But this is not what I am expecting from app that install pack has almost 2GB...
thanks
m.