Building for Devices (iPhone/iPad)
Introduction
This document will discuss the build process and the tools to create a build you can run on your phone, as well as the necessary steps to get an application on the iTunes App Store.
Most of the complexity lies in the Apple developer process for creating and installing signing certificates. This document guides you through that process from the beginning. If you already have your Apple certificates installed on your development machine, you can skip directly to Building your App using Corona.
Important note
Apple sometimes makes changes to these processes. For the latest and most accurate information, please refer to Apple's documentation.
- iOS Developer Library > iOS Development Guide > Managing Devices and Digital Identities
- iOS Developer Library > iOS Development Guide > Distributing Applications
- Technical Note TN2250: Understanding and Resolving Code Signing Issues
What you will need
In order to submit an application to the App store, you must have a version of XCode that is the same or newer than the version of the OS on your phone. For example, if you have version 3.0 of the iPhone OS installed, you will need XCode that is bundled with the iPhone SDK version 3.0 or later.
Overview
Topics
- Developer account and Developer Certificate
- Keychain certificate
- Adding a Device
- App IDs
- Provisioning profiles
- Building your App
- Submitting your app to the app store
Developer account and Developer Certificate
Developer Account
To enroll in the iPhone Developer Program, go to the following Apple web site:
Click on the ‘Enroll Now’ button and follow Apple’s instructions on applying for a certificate. Currently there are two programs, ‘Standard’ and ‘Enterprise’. Choose the program that best fits your needs.
Keychain Certificate
Once you have signed up for the developer program, you will need to use the ‘Keychain Access’ tool located in your utilities folder in order to create a certificate request. This will be used to authenticate your computer.
Open Keychain Access and click on the Keychain Access menu bar item:
Select ‘Request Certificate from a Certificate Authority...’. This will bring up the following window:
Type in the email address you used for your apple developer certificate in the ‘user email address’ field. For Common Name, use the name of the Team Leader or yourself if you do not have a team. Click ‘Saved to disk’ and ‘Let me specify key pair information’. Upon clicking ‘Continue’, you will be asked to choose a save location. Pick a location that is easy to find, such as the desktop. You will then be prompted with the following:
Make sure that 2048 is selected for the Key Size and RSA for the Algorithm, then hit ‘Continue’. This will generate the key and save it to the location you specified. Click ‘Done’ in the next window. Now navigate to the following url:
Click on Certificates in the left hand column:
Now click on the ‘Add Certificate’ button.
Click on the ‘Choose File’ button and locate your certificate file that you saved earlier, and hit the submit button.
Once you hit submit, an email will be sent to the email address you specified in the Certificate Authority (CA) request form from Keychain Access. If you are the team leader, you will get this email and can approve the request yourself by hitting the approve button:
If you are waiting on approval, you will see the following screen:
You will see this until your request has been approved. Once it has been approved, you will be able to download the certificate:
Click on the download button and save the certificate to a location of your choosing.
Once this is done, double click on the file and you will see the following dialog:
Click ‘OK’. This will install your iPhone Development Certificate in your Keychain.
Adding Devices
This iPhone developer program allow you to have up to 100 devices per team. To register a device you will need the Uniques Device Identification (UDID) number. This can be found in two places, iTunes and XCode.
Xcode
Normally when you plug in your device, and then open XCode, the ‘Organizer’ window will be open. If it is not, click on ‘Window’ and select ‘Organizer’:
Once the Organizer window is open, you should see the name of your device in the ‘Devices’ list on the left. Click on it and select the identifier with your mouse, copying it to the clipboard:
Note: if the colored indicator under the “Devices” list is yellow rather than green, turning the iPhone off and on again will usually re-synch it properly.
iTunes
With your device connected, open itunes and click on your device in the device list:
Click on the Summary tab at the top:
Now click on the serial number to reveal the UDID:
Simply hit Command-C to copy it to the clipboard.
Adding/Registering the Device
To add a device to your Teams device list, click on ‘Devices’ in the iPhone Developer Program Portal and click on ‘Add Devices’.
Here you will be able to name your device as well as input the Device ID that you have stored in your clipboard. Once you have done this, click the submit button.
App IDs
In order to obtain provisioning profiles, you will first need to create an App ID. The App ID allows an application to communicate with the Push Notification service and/or any external hardware you have for your application. It can also be used to share keychain information, such as passwords, between a suite of applications. Regardless of whether or not you make use of such functionality, every application must have an App ID.
An App ID consists of a 10 character “Bundle Seed ID” prefix generated by Apple and a “Bundle Identifier” suffix that is created by the Team Admin in the Program Portal. An App ID could look like the following example: 9F456G1234.com.apple.YourApplication or 9F456G1234.com.YourApplication. To create a new App ID, click on the ‘New App ID’ button in the ‘App ID’ section of the program portal.
Fill in the ‘Description’ field with the name of your application. If you have already created an application and wish to use the Bundle Seed ID, for instance if you have a free version and a paid version of an application, you can select it in the ‘Bundle Seed ID (App ID Prefix) section on this page. If this is the first in the bundle or a standalone application, select ‘Generate New’. In the ‘Bundle Identifier (App ID Suffix)’ section, specify a unique identifier for your app. This can be just about anything you want for it to be, but it is recommended to use the reverse-domain style string, i.e. com.domainname.appname. For Corona Labs it might look like:
com.coronalabs.newapplication.
Note: it is often easiest to create a “wildcard” App ID that you can share between your various applications. To do this, simply create a single App ID with an asterisk (*) at the end. You would place this in the field for the bundle identifier either by itself or at the end of your string: com.domainname.* The general drawback of this method is that it cannot be used with any application employing Push Notification, since that requires a unique App ID for each application. However, since Corona does not yet support the Apple Push Notification Service, this restriction does not currently affect Corona development.
For more information on this topic, please visit the Apple Developer site.
Provisioning Profiles
There are three types of provisioning profiles for the iPhone program: Ad Hoc, Development, and Distribution. These profiles tie your devices to your development team for testing and distribution.
Note: The Ad Hoc and Distribution provisioning profiles are not available when running the trial version of Corona. If you are running the trial version, you should build with the Developer's provisioning profile.
The Distribution Profile is what you use to build an application with the express purpose of putting it on the app store. It is not intended to be used for testing.
The Ad Hoc and Development Provisioning Profiles are used similarly, but you will only need to use the Ad Hoc profile with Corona. The Development profile can be used, but is not necessary.
Note: You do not need to add a CFBundleIdentifer field to the build.settings file when you are ready to submit your app to the app store. This is done automatically by Corona.
Ad Hoc Provisioning Profile
To obtain your Ad Hoc Provisioning profile to test on your device, you will need to create one in the iPhone Program Portal. From the Portal, click on the ‘Provisioning’ menu. From there click on the ‘Distribution’ tab:
Below this you will select the devices you wish to authorize for this profile. For most people, this will mean checking all of the devices available.
Now click the ‘Submit’ button.
You will now be returned to the Distribution tab where the status will most likely say ‘Pending’ . This process normally only takes a few seconds. Hitting the ‘Refresh’ button is normally enough time for it to be come active. Then you can ‘Download’ the profile. You will need to place it in the following directory:
/Users/(your user)/Library/MobileDevice/Provisioning Profiles/
If you do not have a ‘Provisioning Profiles’ folder, you will need to create it. Remember to substitute your username for (your user). For example:
/User/JohnGlenn/Library/MobileDevice/Provisioning Profiles/
Distribution Provisioning Profile
In order to submit your app to the app store, you will need to download the Distribution Provisioning Profile. This process is very similar to obtaining the Ad Hoc profile. Click on the Distribution tab in the Provisioning section of the Program Portal:
Instead of selecting ‘Ad Hoc’, this time we’re going to use ‘App Store’ for the distribution method.
Give your profile a name, such as “TestApp_distribution” and click on the ‘Submit’ button. You will be brought back to the Distribution Provisioning Profiles list, where you should see your profile listed and marked as ‘Pending’ in the Status column. Refresh the page and you should be able to download your profile into the same folder that you used for your Ad Hoc profile.
Building your App using Corona
Building your application using Corona is a simple process once you have your provisioning profiles in place. You must also make sure that you have a connection to the internet. You can build your application for testing in the XCode Simulator, or for testing on a device.
To build your application, open the Corona Simulator and open a project (select File > Open ... to open your project, or choose one from the Corona welcome window). Then select File > Build > IOS ... The following dialog appears:
Fill in the application name and version number fields with the relevant information, and select the target device (iPhone or iPad) from the Device Compatibility drop-down menu. To test the compiled application in the XCode Simulator select XCode Simulator from the Build For drop-down menu, or Device to build an app bundle for testing on a device. Lastly, select the appropriate provisioning profile from the ‘Code Signing Identity’ drop-down menu, either adhoc or distribution.
Note: if you have not loaded these profiles into the standard location on your hard drive, you will have no options in this drop down menu. Provisioning profiles should be placed in the following directory as mentioned in previous sections of this document:
/Users/(your user)/Library/MobileDevice/Provisioning Profiles/
Once you have entered all the relevant information, you may hit ‘Build’. Once Corona has completed the build, it will output an application to the ‘Save to folder’ you have chosen. By default this location is set to the desktop, and you will see an option to ‘Show in Finder’.
Congratulations! You now have an application file that can be placed on your device, or submitted to the App Store, depending on which provisioning profile you selected.
Customization
Application Icon
The application icon for iPhone should be a 57 x 57 PNG image file (or 72 x 72 for iPad). It should have the name Icon.png and be located in the assets project folder. For iPhone / iPod touch apps, an additional high-resolution 114 x 114 icon named Icon@2x.png is now also required to support Retina displays.
MyProject/ Icon.png <--- required for iPhone/iPod/iPad Icon@2x.png <--- required for iPhone/iPod Icon-72.png <--- required for iPad main.lua ...
Add the following to your build.settings file:
settings = { iphone = { plist = { CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png" , "Icon@2x.png" , "Icon-72.png" , }, }, }, }
Note: the App Store requires a 512 x 512 pixel version of the icon, so you should always create the icon in this higher-resolution. Please refer to the Apple iOS Human Interface Guidelines for the latest official App Store requirements.
Using a pre-rendered icon (no gloss)
To keep iOS from rendering your icon with the default gloss across its top, add the following plist setting to your project's build.settings file:
settings = { iphone = { plist = { UIPrerenderedIcon = true, }, }, }
For more information about build.settings, see Build Configuration.
Launch Image
When your application launches, you can choose to display a launch image before your application finishes initializing and is ready to display its interface. By using an image that looks like the initial user interface, you can create the illusion of a faster application launch. Alternatively, you can use this image for a “splash screen” displaying your application title or company logo.
The launch image for iPhone should be named Default.png and be the dimensions of the screen. It should be located in the assets project folder.
MyProject/ Default.png <--- Icon.png main.lua ...
For the iPad, Apple encourages the use of launch images for all orientations supported by your application, and the App Store reviews may reject applications that don’t conform to this rule. The iPad uses the following naming conventions for orientation-specific splash screen files:
Default-Portrait.png Default-PortraitUpsideDown.png Default-Landscape.png Default-LandscapeLeft.png Default-LandscapeRight.png
See the “Orientation Support” section in the Corona API Reference for more information about using different orientations in your app.
Testing your App on your iPhone or iPad
To run the application on your iPhone or iPad, select the adhoc profile during the build process, as detailed above. You may then use either iTunes, XCode, or the iPhone Configuration Utility to transfer the application file.
To use iTunes, drag the application into your iTunes Library and then synch your device normally.
However, it is considerably faster to use either the iPhone Configuration Utility or the XCode Organizer. Also, these methods allow you to test on devices that are not synchronized to your iTunes account.
The iPhone Configuration Utility is available as a separate download from the iPhone Dev Center (http://developer.apple.com/iphone). In the “Downloads” area near the bottom of the page, you’ll find it in the “Other Downloads” section:
With your iPhone connected to your computer, launch the iPhone Configuration Utility and then click the “Add” button at the top left:
The final step is to click on your device name under the “Devices” section on the left; this will show a list of all currently installed (or added but not yet installed) iPhone apps. Click the “Install” button next to the app you added to the utility:
Finally, XCode provides a convenient method for installing iPhone applications. With the phone connected, open XCode’s Organizer window (Window > Organizer), and look for the name of your device under the ‘Devices’ list on the left. Make sure that the colored indicator is green; if it is not green, powering the iPhone off and on again will usually establish a proper connection.
At this point, you can simply drag the newly built application file and drop it in the ‘Applications’ area at the bottom of the window, and it will automatically install on the iPhone.
Note: if you are repeatedly testing versions of the same application, it is usually a good idea to delete the previous version from the iPhone before each new install, to remove any cached or associated data.
Submitting your App to the App Store
Once you have built and tested your Application with Corona, it’s time to submit it to the App Store. To do this, you will need to access “iTunes Connect” from the iPhone Dev Center. If you are currently browsing the ‘iPhone Developer Program Portal’, you will need to exit the portal and return to the ‘iPhone Dev Center’.
Once you are back in the ‘iPhone Dev Center’, you will need to click on ‘iTunes Connect’ in the right hand column.
If you are planning on releasing your application for free, you can skip ahead.
If you are planning on charging for your application, you will need to agree to Apple’s contracts. To do this, click on the ‘Contracts, Tax, & Banking Information’ link.
When you have read and agreed to the Paid Applications contract, you will need to fill out the necessary banking, contact and tax information. Once you have completed this, you will be able to submit your application for sale.
Now go back to the iTunes Connect screen by hitting the ‘Done’ button.
Once you are there, click on the ‘Manage Your Applications’ button.
From this point you will begin Apple’s ‘Add New Application’ process. Answer the questions appropriately. When you get to the upload section, you will need the following items:
- The application, zipped in an archive.
- A large icon in PNG format, very similar to the normal 57x57 icon, but 512x512 pixels in size.
- At least one screenshot of the application to serve as the primary screenshot
- Any additional screenshots that you may have (up to 4 more)
Note: you should add your application’s icon during the Corona build process by placing the icon file (named ‘Icon.png’ with dimensions of 57 x 57 pixels) in the same directory as all your other code and image assets. The rounded corners and ‘shiny icon’ effect will be added automatically. You can also add an application splash screen by placing a file named ‘Default.png’ (320 x 480 pixels) with your other assets before building.
When you go to upload files, be sure to click the upload button for each, and wait for it to complete before moving on to the next upload. When you have completed this, click ‘Continue’.
The pricing screen will allow you to select the availability of your app as well as the pricing tier. If you have agreed to the contract and filled out the necessary paperwork, you may still get a warning if the paperwork has not gone through yet. That particular process may take several weeks. You will still be able to continue, but your application will not become available until after your contract information has been processed and your application reviewed. You can also specify which worldwide stores you want to make your application available in.
Once you are finished with this stage, hit the ‘Continue’ button to select any additional languages you wish to support.
Hit ‘Continue’ when you have completed this.
You should now see the Review screen. Check over this to make sure everything is in order before submitting your application. If everything is in order, hit the Submit button.
Now your application should be added to the review process! This can take time, so be patient: as of this writing, approvals are often taking around two weeks, but longer delays are definitely not unheard of. Apple has strict guidelines on what they will allow into the app store, so don’t be surprised if you have to make changes to get your application published. If you don’t feel that you have received enough guidance regarding the changes they want, you can try writing back to ask for further detail.
To learn more about Apple’s design philosophy for mobile applications, consult their Mobile Human Interface Guidelines on the Apple developer portal:
http://developer.apple.com/iphone/library/documentation/userexperience/conceptual/mobilehig/index.htmlReplies
It looks like to create an Ad Hoc Provisioning Profile you'll need to first create a Distribution Certificate not a Development Certificate as described. If you followed along like I did you can use the already created Development Certificate and just create a Development Provisioning Profile instead of an Ad Hoc one and this seems to work just fine for getting the app on the device. It might save others a few minutes if the docs were updated to reflect this, otherwise great instructions.
Regarding the final App name:
I want the App's Icon title to have spaces in it, ex: "Web Overlay" instead of "WebOverlay".
The compiler seems to strip out the spaces in the App name, it creates WebOverlay.app even if I put a space in the App name.
Yet what I am interested in is the Icon title, that becomes whatever your development folder name was, spaces and all. Turns out the Icon title doesnt wrap and there is a certain pixel limit at about 13 characters, after which iOS inserts dots in the title.
I did take a run at posting any/all Plist value pairs that made sense in my build.settings, noting what the package's Info.plist file property = value pairs indicated. No luck with naming here.
The .app bundle won't contain the spaces but the actual name that's displayed on the device should contains spaces or other special characters (like apostrophe, etc). Are you not seeing this with your app on the device?
Tim
I have not been able to use an apostrophe in my title. The app fails to build when there is an apostrophe. I have tried escape characters, modifying the package afterwards neither of which worked. Is there a way that I have missed?
Thanks,
Adrian
Hi Tim, thanks for your thoughts.
As I said "the Icon title, that becomes whatever your development folder name was, spaces and all.". So yes, I do see the spaces in the icon title just as the folder name was.
I had to drop the spaces anyway in my case as you only get 12-13 characters, then it inserts ellipsis dots (...).
Wow, just made a comic, and put it on my ipad, so buying a licence at end of month so i can get this on the app store.
Absolutely amazing, well done to all who worked on the Comic framework etc. and thank you very much!
Hi guys, i'm new on corona SDK and i like it very much. I'had written my first app and i want to try it on my iPhone 3G. I had created and downloaded the ad hoc distribution provisioning profile like described in this page, but when i try to build for device the build window tell me that distribution profiles are not available for trial.
Should i pay for testing on my own device?
Thanks
boost wifi signal
@ellicrider, The Ad Hoc Distribution provisioning profile is not available when running the trial version of Corona. You should be building with a Developer's provisioning profile (available from the Apple Developer's site). I've updated this page to made that clear to other users.
Ok, so I've built my app, now how do I set up in App purchases for extra material.
App is a comic, using the corona Comics framework. The basic idea is that I'll give away the app with first three chapters, then if they like it and want to read the rest they have to buy it via inApp purchase.
I know I could do it the old fashioned way and make two separate Apps but I'd rather do it this way if possible.
Hi @JmDStudio
Corona comes with sample code for In-App Purchases. You should check that out. Look in the Sample Code folder in the Corona folder on your computer.
Or, here's a link to it on our site, where you can take a look at it and download it:
http://developer.anscamobile.com/sample-code/in-app-demo
Play with the sample code. That's the easiest way to get up and running.
There's also a guide on our site:
http://developer.anscamobile.com/reference/in-app-purchases
Cheers,
Gilbert
Is there an update to this tutorial? I followed the directions, but under Apple's development portal I couldn't "Add Certificate". But I did manage to create a Provisioning Profile.
This is my first time building the app with Corona and we do have 2 other apps that were built with Obj-C and submitted to the store.
Any help would be greatly appreciated.
Thanks,
Steve
Hi @payjo,
If you already have apps on the App Store, then you probably already have a certificate.
So, if you created a provisioning profile (and downloaded it and installed it [just double-click it]), then you are ready to go to start building for devices.
-Gilbert
While doing the certificate instructions, I came across an access denied page when it was time to open safari from the link. I am not currently an apple developer subscriber... Do i need to be to complete the certificate process to be able to build for my device before submitting to the app store? I wanted to be able to preview my program before I bought anything.
Hi @AdamsApps,
You'll need to purchase an Apple iOS Developer subscription to be able to build for devices AND put your app on the App Store.
This is because building for your device requires you to have a provisioning profile on your machine.
And posting your app to the App Store requires you to build your app using a "distribution" profile.
-Gilbert
So to be clear, I have to pay apple 99$ to allow me to test only on my device? That's what I was asking.
@AdamsApps. That is almost correct. You have to pay Apple 99$ allright... but it is 99$ per year that you want to be able to install your own apps on your own devices. It is a subscription to the Apple Developer program that you need to purchase.
I can't build for my android phone, I use the trial version. In the build window the build button is disable.
I can build for test purpose on my real phone with trial version? thanks.
Hi Ansca Guys!
Please update this post with the new screenshots of the enrollment process and all the different new steps that the Provisioning Portal from Apple is presenting now. I'm started to test the Corona SDK but I'm banging my head with the outdated instructions in this tutorial page.
I think this is crucial for you guys to have newcomers (myself included) coming and doing the right things on Apple's sandbox that is tricky and pretty complex.
Thanks.
;)
Hi guys, i'm new on corona SDK and i like it very much. I'had written my first app and i want to try it on my iPhone 3G. I had created and downloaded the ad hoc distribution provisioning profile like described in this page, but when i try to build for device the build window tell me that distribution profiles are not available for trial.
Should i pay for testing on my own device?
Thanks
RE: Should i pay for testing on my own device?
@acavaglia - You already did "test" your App in the emulator, which is close but not perfect. Since you now see that you can do this development, and lots of us are getting PAID for our Apps, you have to decide if you are a professional software developer or casually watching from the sidelines. To use the Compiler to make a working App, you need a paid license. Make that decision.
Hi...
I use the trial Version of the Corona Simulator...
Is it possible to build Apps for the IPod Touch?
The only builds available are IPhone/IPad (Universal) / IPhone only / IPad only.
When I built it Universal and tried to install it on IPod I got an error "The Executable was signed with invalid Entitlements"
I have created a Developer Provisioning Profile (needed in the trial version), App-ID etc are correct and are in the right folders.
Please Help!!
I followed all the instructions just to check if everything is correct and I can really test something, and using the trial version of Corona SDK, I managed to build a test app for the iOS Simulator (not the Corona Simulator) but when I click on the app in the iOS Simulator nothing happens! (the screen fade out for 1 second and then it returns to the list of available apps.
Am I doing something wrong with the code? I just used the sample codes provided. No lines were modified.
Do the trial of COrona SDK allows me to build for the iOS Simulator? Or is this only available for the paid version? If so, this is a bad experiencing for those who are trying your product. The Corona Simulator is by far from perfect when you are trying to develop apps that are not games (this is my case).
Thanks in advance for an explanation...
;)
PS: I'm alredy paid for the Apple Developer License and downloaded XCode and all its tools, that's why I'm asking about the iOS simulator.
fjarabeck, i'm not from the ansca team, just a regular user.
if you already have your provisioning profile downloaded from apple's website it should work smoothly in the iOS simulator. ive tried myself here.
@alangrus - I'm surely a professional developer and, for that reason, i want to test my app on the phone to avoid problems. My experience on iPhone Simulator tell's me that there is a big difference between Simulator and Device.
I've already tried with Develpment Provisioning Profile but it seems does not work.
Ofcorse if is necessary to get the licence in order to do my iPhone Test ... then i will.
Thanks
@acavaglia
you can build your app with the trial version (this works fine for me with a developer provisioning profile you have to create and download)
Have you installed the profiles in the proper location? (/User/Username/library/MobileDevice/Provisioning Profiles)
I have the problem that I can't install the built app on my IPod...
(shown error: "The Executable was signed with invalid Entitlements")
Please help! I have tried this for several days now...
I followed just all the steps here, but when I transfer my test app to iPod using iTunes, it says that it could not transfer, because "the signer was not valid".
How could it be? I have valid certificate, provisioning profile, etc. Build the app for iPhone using Corona just fine. Any ideas?
Please help!
Update: I finally was able to fix the problem. I didn't install provisioning profile to the device. Once I used iPhone Configuration Utility to do that, everything worked.
I believe this guide doesn't explain the need to install profile on the device clearly enough. Just my 2 cents.
@markus-trugbild
Thank you for your answer markus-trugbild
I can find my provisioning profile under that path and i'm able to sign application (i've tryed with SimplePool code sample in CoronaSDK) for the iPhone Simulator with the same provisioning profile. When i try to sign SimplePool for device i get de popup window with
"The application does not have a valid signature."
I load application with iTunes but i have just tryed with the iPhone Configuration Utility and i get the same result.
Any idea about what i'm doing wrong?
Thanks
Alex
I know that an iPod/iPhone 3GS requires a 57x57 icon, and 72x72 for iPad, and 114x114 for iPhone 4 and new iPods... But what do I need to name them for a universal build?
currently, I have icon.png and icon2x.png for the iPhone 3GS, and iPhone 4 crowd.
Thanks!
i have the same doubt here!
I'm still stuck with just the test of the sample codes from your product. I've just posted on your Forum the same doubt. recommendations:
1) Change the Bulletin Board system you use. It sucks.
2) Create a Pre-Sales area on the Forum. If you want to capture and evangelize customers you need to work hard on this. I'm still not knowing what I did wrong even when trying to run your sample codes on the iOS Simulator. No response, No DOCs, No explanations, and this tutorial is outdated, the Apple's website changed.
3) Help the trial newbies because it is been hard to believe in a product that doesn`t even work at the trial (at least not for me). How do you expect me to pay you an annual fee? I've just payed for the Apple Developer license in order to correctly test your product, but I'm still stuck trying to run one of you sample codes in the iOs Simulator!
Hi, guys! I have some problem with installing built application on my iPad. It works fine in simulator, i build it for Ipad, with correct profile and the app appears in the folder. But when i try to drag&drop it to the Application sections in Iphone Configuration Utility - nothing happens. I just can't drop it there. I looked through the Terminal log, but havent seen any critical errors. How should i deal with it?
This section:
/Users/(your user)/Library/MobileDevice/Provisioning Profiles/
If you do not have a ‘Provisioning Profiles’ folder, you will need to create it. Remember to substitute your username for (your user). For example:
/User/JohnGlenn/Library/MobileDevice/Provisioning Profiles/
*Notice the "s" missing from the last line?
It believe it should read:
/Users/JohnGlenn/Library/MobileDevice/Provisioning Profiles/
-Paul Allan Harrington
I am building my app with the Corona Build on the Simulator and I keep get this warning:
"This bundle is invalid. The application-identifier entitlement is not formatted correctly; it should contain your 10-character App ID Seed, followed by a dot, followed by your bundle identifier"
How do I fix this??
Forget about it. I have one simple problem that I posted almost a month ago and since there is no pre-sales support, I can't even get one single sample code from Corona SDK runing in the iOS Simulator.
Nobody from the Ansca team had the attention to answer my questions. I didn't bought the product because of this seriour lack of compromise on answering pre-sales questions.
It seems like "buy and pray" for this is being the right product for you.
Totally unacceptable.
And just to add, I'm no a dumb-ass, I have a history of developing software for about 20 years. So, if it fails on my hands, it fails.
I also bought the Apple Developer fee in order to fully try every product in the market. That's why I was able to try Ansca code over the iOS Simulator.
Total Fail!
----------
Just a reminder: I work with internet technology, so please do not erase my post just because it is a negative one. I'll take a snapshot of it and post in my personal blog in case of deletion and SEO it. This is not a threat I just want your attention and help to believe in your product. I seriously want to develop iX products using you SDK but it's been hard to believe on it with this lack of feedback!
----------
Ready to buy, but can't seem to get it to work.
Same problem as many on here.
I can follow along until the following step.
Now navigate to the following url:
http://developer.apple.com/iphone/manage/overview/index.action
Please help. I already signed up for apple dev.
This could only be a scam. There is no other explanation.
@fjarabeck This is Carlos from Ansca Mobile. Am one of the co-founders. Usually, I, along with my staff, visit the forum section (developer.anscamobile.com/forum) and try to answer as quickly and possible. if we don't get to it, our developer community is outstanding and your question would have also been addressed by someone else other than an ansca staff member.
i scour both subscribers and non-subscribers forums, and my email is readily available on the about page and in the forums themselves, so folks like you can email directly if a question goes unanswered for a while, and anyone is free to reach out to me both ansca/corona related or even as remotely as asking for startup advice. Not only do I scour the forums, but also the support tickets that come in, and I personally answer some of them.
and just in case, here it is cicaza AT anscamobile DOT com.
feel free to reach out directly to me and I will be more than happy to answer your question or get one of my staff to answer if I can't seem to find the answer.
we have thousands of corona developers and very rare when a developer is having issues with apple's provisioning profiles.
we have this presentation done by one of our engineers on the subject of apple's dev portal
and we also just did another one on the subject also by one of our senior engineers at
http://blog.anscamobile.com/2011/05/tutorial-apple-validation-with-corona-sdk/
carlos
Carlos,
Only shouting out loud and rebelling myself, and after 55 days of my first post, I got a partial answer from you. I honestly wanted to try your product but your lack of response and feedback makes me rethink the way I would develop my apps.
Honestly, it is faster to learn Objective-C in this meantime than expect a pre-sales question answered from you.
I simply gave up.
My email, my personal twitter, etc is publicly available as I said. Reaching out to me directly isn't difficult at all.
And I have made it very clear in my interviews, even on podcasts that you can go and listen to, that I state that our docs suck big time, and users like you, when irritated by this, either email me directly and even have called me directly. I even got a call from a user who was having difficulty registering while I was in Miami vacationing with family.
But sometimes, things fall through and this is one of them. I can only learn from this experience and continue to push my support team and staff to get better at responding. I even said, if one of you has to shout, there is hundred others that don't bother to do so.
I appreciate your candor and no-hold back feedback.
C.
Visiting all the pages of your website there is NO clue about your personal Twitter/mail/profile/whatever.
That's why I respectedly reach the forums and FAQs to reach you guys. Chain of command. Without it you are in chaos. If you personally like to answer dozens of questions about the same subject in private, ok.
I'll not be a trouble anymore. I made my decision. Feel free to delete my posts if you want.
good luck.
Thats odd, our about page has mine and my co-founders e-mails.
http://www.anscamobile.com/about/team/
>> good luck.
thank you.
And no, I don't delete posts. I want everyone to read them and know about what's going on in my company, our flaws, decisions, troubles, etc.
;-)
C.
Really? Then why would *someone* that did not even understand the context of a message create such a fuss about "Ansca *not* being represented in correct light?" on a sentence when I just asked Danny on a post about iterating through directories, "you can do that in CoronaSDK" which I guess every developer should have known is *NOT* possible to enumerate directories in CoronaSDK till as of now. So his claim of conjuring up some code in an hour to enumerate directories still stays open after several hours.
I am not so sure about that claim also because you had asked me to either retract or change some of my responses, so I had stopped playing in *your* playground.
I will agree that you have an open communication, but the delay or in some cases the over-reactions drive your customers away.
I do not agree with that statement of yours as I have a first hand experience of the mis-management at Ansca and the way Customers are treated.
Hope the new year brings in a bit more Customer Centric focus.
Happy new year,
cheers,
?:)
I have used OpenFeint for my game. I am getting error 'This game is not recognized by game center'. This is because OpenFeint automatically integrates GameCenter. But I want to know what changes I need to make ? I haven't added any plist file. How to add .plist file to corona project. What parameters should I include to .plist file ?
I want to enable GameCenter.
Hello!
I am trying to test my game on my iphone. I have been following the instructions, and im at the part ( building you app using corona). I have clicked on file then build. For android it works but not for IOS! It says : The IOS could not b found please in stall the IOS Sdk. Any help please you build on the IOS?
Thank you!
Hi my name is Jose,
I got as far as getting my provisioning file, adding it to the iphone configuration utility and installing it on my ipad.
However... even though my app works on the simulator across each of the platforms iphone/ipad/droid/etc when i ported my app to my ipad exclusively it would not work properly...
I then ported one of the corona demos to make sure i was doing the process correctly and the demo worked. So i am a little confused why, some apps on the simulator can work but not when its ported over.. to a device.. any ideas?
Hi Jose,
If the sample apps work on the iPad, there is something in your build.settings, config.lua, or your main code that is not correct.
There are a number of things that can cause problems so you need to post your question to the forums or file a bug report with a code sample or one of the shipping sample app that demonstrates the problem. You need to be very specific about what you are seeing if you want someone to provide help.
-Tom
What do I add to my build settings file if I want a really long name but a different name on the icon that appears on the iPad.
Trying to build for iPad and iPod/iPhone. I'm not specifying any special platforms in build.settings (do I need to?). I don't see in the documentation how to do this.
Here's the error:
warning: iPhone/iPod Touch: application executable is missing a required architecture.
At least one of the following architecture(s) must be present: armv6 (-19033)
Executable=/Users/chilson/Desktop/TLTIT_app_r4_ipad.app/TLTIT_app_r4_ipad
codesign_wrapper-0.7.10: using Apple CA for profile evaluation









I just did use the The iPhone Configuration Utility to load an App onto my iPad. So its not iPhone exclusive.