Building iPhone apps through Corona: How do I create a fake signing identity and provision file? - provisioning

I'm using Corona to create a game but to build the app for iOS I need to specify in Corona which provisioning profile to use (which I have to copy to their certain folder).
They state that either a development or adhoc provisioning profile can work.
How do I create a fake ad hoc provisioning profile?
I tried using and old mobileprovision.mobileprovision file that I had but it obviously didn't work because Corona stated that the certficate was not installed.
Here is a link of the whole process to setup for building for iOS (legal):
http://developer.anscamobile.com/content/building-devices-iphoneipad
I am running Mac OSX 10.6.6 with xCode 3.2.6 and iOS SDK 4.3.

In short: you can’t. Provisioning profiles are part of the code-signing process; non-jailbroken iOS devices will not run code that has not been cryptographically signed with a valid provisioning profile.
To run your code on a device, you either need to jailbreak it (so it’ll accept non-Apple-signed code) or cough up the $99/year to become a member of the iOS developer program (so you can give your code a valid signature). Only the latter option will allow you to then submit your app to the App Store, and it’s a lot less hassle, so you’re probably best off just going with that.

You can test Corona apps in the simulator for free, but you have to be a licensed developer in order to deploy to device.

You could try bundling your own IPA file, but I think the IPA will only transfer if the iDevice is jailbroken. This process worked for me on my jailbroken iPhone. https://stackoverflow.com/a/10171462/708807

This is a fake Hoc provisioning profile http://www.instructables.com/id/How-to-use-Adobes-iPhone-Packager-without-an-Appl/step2/Exporting-the-App/

Related

not able to add .ipa file in iphone device

i have generated the .ipa file and trying to add in any iphone device but its not adding.
the error is showing like:- couldnot install(in xcode).
i tried with apple configurator 2:- in this scenario app is installing a bit just assume
75% and after that the app icon is getting grayed out and clicking on that app is giving
popup as :- could not install please try later.
somewhere i saw that you have to allow from your device to trust this app, location is like :- settings > general > profile&management > you will find your profile here for new app installing.i didn't get any profile there.
FYI
i am using free developer account and created the xamarin app from windows and building it through mac, the xcode version is 9.4 beta and i also tried to override with xcode version 11.3.
i am not getting whether i am missing something or messed up with xcode versioning.
i am using free developer account and created the xamarin app from windows and building it through mac...
If using a free apple developer account , you can not install a .ipa file to iOS Device .This is limited by Apple.
About IPA Support in Xamarin.iOS , you will see there are two uses as follow :
Ad Hoc Testing — An iOS application can be deployed to up to 100 users (identified by specific iOS device UUIDs) for Alpha and Beta testing purposes. See our Provisioning an iOS Device for Development documentation for detailed information on adding test iOS devices to your Apple developer account, and the Ad-Hoc guide, for more information on how to distribute in this way.
In House / Enterprise Deployment — An iOS application can be deployed internally, within a company, which requires membership of Apple's Developer Enterprise program. More information on In House Distribution is detailed in the In House Distribution guide.
In either case, an IPA package (a special type of zip file) must be created and digitally signed with the correct Distribution Provisioning Profile.
If using a free provisioning , there is a Limitation as follow :
Access to iTunes Connect is limited and therefore services such as publishing to the App Store and TestFlight are unavailable to developers provisioning their applications freely. An Apple Developer Account (Enterprise or Personal) is required to distribute via Ad Hoc and In-House means.
Therefore , if need to add .ipa file in iphone device , you should use a paid Apple Developer Program account.

Generate .ipa file without Apple developer account

I'm trying to compile my ionic 3 app to ipa. I use MacInCloud.com. I don't have any Apple Developer account; I just have an AppleID and an iPhone 7 (if that helps).
Now while using XCode in MacInCloud, I clicked Product > Archive but then it displays Build Error. Turns out I need an iOS Provisioning Profile. As of now, I couldn't find a way to generate an iOS Provisioning Profile without having a paid Apple Developer account. I read here, the answer mentions A free developer account will allow you to build an app that will run for 7 days on a pre-defined set of devices (you would need to register any devices on which you want the code to run). but I couldn't find where to do this.
So can I actually generate an ipa file without a paid ios developer account? If no, is it possible for me to have someone generate a provisioning profile using their ios developer account for me?
Thanks
Update:
The methods described in the link in the comments requires me to connect my device. But I'm using MacInCloud.com, so there's no way for me to get Xcode to connect to my device.. at least I don't know how.

Xamarin.iOS - Using IPhoneSimulator's Keychain with a free iOS Development certificate

I have troubles with saving an account credentials inside an IPhoneSimulator's Keychain. I cannot use AccountSaver.Create().Save(credentials, "app") without Entitlements.plist. However when I add it to my project, compilation error shows up:
Could not find any available provisioning profiles for iOS.
I've added iOS Development certifcate to my account on Mac and tried to create a free provisioning profile but failed due to a lack of IPhone device.
Suprisingly, when I tried to build dummy project with added Keychain to Entitlements inside Xcode on my Mac and run it on a simulator no compilation errors occured.
My questions are: Do I have to make Apple Developer Account to test my Xamarin.iOS app inside IPhoneSimulator or is it possible without it and I'm doing something wrong? If so, what should I do to be able to compile my app?
I use Visual Studio 2017 on Windows 8 connected to a Mac Agent (Mac Mini).
P.S.: Most posts states, that simulator doesn't need provisioning profile, but according to this thread:
Starting with Xamarin.iOS 8.10, if the Entitlements.plist file is set at all for the iPhoneSimulator build configuration, then codesigning is required and thus an iOS code signing certificate is required to be installed in your keychain. ~ Xamarin Forum
Some time has passed since I asked this question, but I think it deserves an answer not only in the comments.
As #wottle wrote it is required to be enrolled i Apple Developer Program in order to have access to Keychain.
I sugest also to use Xamarin.Essentials' SecureStore instead of AccountSaver.
We have a bunch of Apple Store applications that had their Apple Distribution profiles expired. The issue was gone once we regenerated the Apple Distribution Certificate and created a new Distribution Profile for the impacted Applications.

Unable to install AppStore version directly to mobile device when using an iOS App Extension

At our company the process we execute normally is:
fix/implement
test ad-hoc version
create AppStore package
test that AppStore package by installing it directly through iTunes.
submit version to AppStore.
The reason why we need to test also the AppStore version is because some payment services wouldn't work if we didn't. So we need a real environment.
Previously to the inclusion of the iOS App Extension (sharing) we could do this process without issues, but now after doing the same process we can't do it anymore.
We can;
test the ad-hoc version by signing the app extension as ad-hoc.
create and submit the app store package.
However we can't install the app store version anymore, the error mentions that there are issues with the signature, more precisely:
(Entitlements found that are not permitted by provisioning profile)
Does anyone have any idea why this could be happening?.
You really shouldn't be able to install the app store version on a physical device and run it.
It can work in certain scenarios (like if you had previously installed development builds on there and there was a valid development build on the device when you try to run the app store build). Maybe the device has the old app provisioning profile (which would not have the app extensions entitlement). The new one that is embedded with the app (and has the appropriate entitlements) is an App Store provisioning profile and is not valid for running directly on the device.
I would make a new build config in your project that is a copy of the Release config, except for only the code signing settings. That would allow you to run a build that will be exactly the production App Store build, except for the code signing settings.

XCode / iOS : how to test with XCode (on a real device) an app developed by another developer?

I work with another developer. I would like to test its app but I don't have its iTunes Connect login / password and I don't have its dev certificates.
How can I test on my real device the bundle he sent to me without having many signing errors ?
I want to perform the test in Xcode in order to be able to use the debugger and perform some code modifications. I do not need to test the inapp purchase, just the core features of the app.
It is possible to resign the app with your own certificates. See this answer
You can also use XCode7 Beta, it allows you to install any apps they develop on their devices without an Apple Developer Program Certificate.

Resources