How is it possible to build an ios app and getting .ipa without certificate in codenameone - ios

i creating a app with Codenameone. i want to build it in ios and test it on ios before buying a apple developering account. how is it possible ?
can i use some other certificate for this kind of building just for testing it?

Codename One will build your app with our certificate if you don't fill in the details. It isn't guaranteed to work and it will only install on a jailbroken device.
This is a restriction imposed by Apple which doesn't allow you to run an application on your own device without a certificate.

You can use some other certificates. Tell some of your friend to provide you the certificate and private key exported from their keychain. You also need a provisional profile from same friend with wild card. It will allow you to not to register you bundle ID on the portal. Tell the friend to add your iOS device UDID into the provisional profile as well. Now you should able to do it.
If you really want to go ahead with iOS, better to buy.

Related

In an Enterprise iOS app, how to replace the *.mobileprovision file on device after existing profile expired, but without re-signing the IPA?

We have a series of iOS Enterprise applications that were built with Telerik Cordova (discontinued in May 2018). Those apps are in the process of being converted to a new platform, but in the mean time they must continue to service client needs.
The distribution certificate the apps were built with is valid for another 14 months or so, but the provisioning profiles expire in a few days. Since these are Enterprise apps they will expire with the profiles.
Unfortunately, Telerik can no longer rebuild the apps using an updated profile for us. We have re-signed the apps using new provisioning profiles (using both iReSign and Terminal). When we try to side-load the resulting IPAs through the XCode Devices panel, we get an error stating that the entitlements do not match and the apps are not installed.
The question was raised as to whether or not we not need to re-sign the apps since the certificates are still valid. Perhaps it would be possible to just replace the .mobileprovision file on the device somehow? I gave it a try using iTunes Sync but I cannot confirm whether the file actually went to the device or not.
Question: Is it possible to just update the *.mobileprovision on the device without re-signing the app? If so, could someone please give me the steps or direct me to a link to perform the steps?
Alternate Question: Otherwise, any thoughts on how to resolve my Entitlements issue? The app only needs Push Notifications, but Game Center and In-App Purchases are also enabled. These are reflected in the App ID and provisioning profile, and the distribution certificate is of type Apple Push Services.
I should point out that I am not an admin on the Apple Developer portal for the project as I am an outside consultant, so my portal access is strictly read-only.
Thanks in advance for any direction provided!
If the applications were distributed to the devices by an MDM, then you can push a new provisioning profile to them using the MDM.
If the applications were installed over the air from a web server or directly using iTunes or Apple Configurator, then you need to replace the entire application package on the device. This requires the app to be re-signed, since the changed .mobileprovision file will change the package signature.
If you don't have the original, app ID with matching entitlements in the developer portal, then you will need to delete the existing application from the device before installing the new, re-signed application. You won't be able to do an in-place upgrade.

Make an .IPA for iPhone and iPad

As I had asked this question already and didn't get the answer that I needed, the problem is as follows:
I developed a game for both iPhones and iPads. Everything is working fine but now I want to Archive my project. As I already have signed in for an Apple account, the problem is I don't have another device to register with.
And, according to Apple's terms and condition "Creating a provisioning profile requires one or more devices to be registered with your Account."
Is there any way we can get it done without costing any money?
You mentioned in the comments that the purpose of the archive is to send the IPA to someone else. For that to work, the app needs to be provisioned for the device it's going to run on - that other person's device.
So, ask that person for their device UDID (that they can get from iTunes), then register it in your account in the apple developer portal member center and build using that.
It should be an ad-hoc configuration that you create.
What XCode is complaining here is that you need to register the devices that you want the archive to run on! Or, it can be an expired license causing the trouble.
Note: Check in Keychain for any expired licenses. Go to View -> Show Expired Licenses. And, remove any or all of the expired licenses in System, Root, and any other categories. Mainly its the WWDC License causing the hassle.
Remove your iOS Development and Provisioning License(s).
Now, after removing all the licenses, add back your Provisioning profile, and the developer profile license. That should do it.
Start a clean build, and archive now. This should accept the archive. Do not forget to register a new device UDID in developer.apple.com portal. It is needed for TestFlight.
If you have any queries, please ask us in the comments.

Enterprise provisioning profile. Sign devices without adding them

please correct me. I had apple developer account and worked as individual developer. Right now I have access to the enterprise account. I have information that I can build app using an enterprise profile even without adding UDID to it. So it means I can build apps on all my devices without signing them on portal. Am I right?
Can someone link to some topic or tutorial how to make the profile like I've described of course it it makes sense. I am not sure maybe I am confused about it.
Yes in case of enterprise profile you don't need to add UDID of your device[or any one else's] in it, you can make build with it and can install it in any iOS device.
You can see some questions and answers about enterprise account
Here
No using an iOS Enterprise Program distribution deployment method need not to enter every device id.
All you need is a distribution certificate for signing and a provisioning profile built for it. Note that ANYONE that has the profile can run the app on their device, although you can revoke the profile if necessary.
You are also given the standard test and Ad Hoc deployment mechanisms as with the standard Development Program. The Ad Hoc is limited to 100 devices, which I don't understand, but anyway, there it is.
You can visit this link for your reference

Query about distribution certificate and development certificate in iOS app distribution

i want to know do we need both distribution certificate and development certificate, if i want to give my app to any one else or want to install on other mobile?
how can i setup my code signing with this certificates in xcode?
can anyone give me a screenshot for it?
The development and distribution is both necessary. They are both used in archiving which is a step you take when you want to upload your app to App Store. If you want to allow your friend to have the app you developed on their device, just connect the device in xcode and click on use for development. Then you can upload your app to their device for testing. You can register up to 99 devices to your development id. If you decide to publish your app on the App Store then you need to go through the steps of uploading your app and then you need your distribution profile. I hope this answer your question.
First you want to register with the Apple Developer Program (99$).
After that you want add your Device UDID.
Then you create the developer and distribution certificates.
Download these certificates and install them into your system.
Now In your Xcode Build Settings Set the Corresponding profile.
Connect your device and run it.

how to build ios app with xcode for other certificate/store-account

I have my own developer certificate and now I want to compile/build an app for a customer with his own (single user) account. how could I build an ios app with xcode for other certificates?
thx!
You need to make a provisioning profile from his dev account.. using keychain in your system..
Then when archiving ..select the customer distribution profile for the app.
That's it
I wouldn't know a way on how to do it the programmatically way. But you can do it really easy: If you are making the app for a customer, I assume he pays you for the rights to the app including source code. So just develop it. And when it is finished you send him the source code and he compiles it on his own and publishes it.
Or he sends you his certificate (if this is possible).

Resources