Compiling iOS Apps from multiple macs - ios

I have a free developer account. With it, I compile two or three Apps on my own iPhone.
I was used to compile the Applications regularly when the certificate expired.
Now, I'm using more my laptop, so I compile sometimes the Apps from it, and sometimes from the iMac. I think now having another problem, and I have to recompile the applications more frequently. After laucnching the App I have sometimes the message
Unable to verify App
An Internet connection is required to verify trust of the developer "xxx". This App will not be available until verified
I think that the problem is that I have two apps on the iPhone, for the same developer account, but compiled with thwo different Macs. I don't know why, but Apple seems to consider the account for a machine, not for a developer...
I tried to resolve the problem by using the exact same certificate on the two machines (synchronise the folder ~/Library/MobileDevice/Provisioning Profiles with Syncthing), but it didn't help.
I assume I can create another developer account and use one account for just one application, but it seems ridiculous...
Is this a way to avoid this message?

Related

Authentication failed for iOS app-specific password, but what do I do with my app-specific password? Where does it go?

Got a new SSD for my mac (so it is like starting over), and am trying to set it up for Xamarin iOS development (again). After much fun with Apple procedures I am ready to upload to the App store, but get this message:
This message pops up when I am after the Archive is built, after I select Upload (after Sign and Distribute). It seems the important part is Authentication failed Sign in with the app-specific password you generated.
Sign in? Sign in to what? I have my app specific password, but what do I do with it?
There certainly seems to be a lot of web pages trying to push me to appcenter.ms, but I should not be forced to use a Microsoft service to distribute my app and do not wish to go that route at this time.
Below are some hints to help others who like me are not full time iOS app developers and are tired of massive web pages explaining the process.
Important things to know/remember for Xamarin/iOS development (obviously you need a Apple developer account, need to install XCode, VS, Xamarin):
you need to tell XCode your Apple developer credentials
you need to tell VS your Apple developer credentials
you need to tell Apple the UID of your build box, test devices
you need a developer certificate and distribution certificate from Apple
you need to create two provisioning profiles, one for development and one for distribution
somehow building a Xamarin iOS demonstration project in VS on my Mac made the iOS simulators available to other projects
you may need a special Apple intermediate certificate (AppleWWDRCAG3.cer) and install it, even though various webpages said that was only necessary if your XCode was an old version (I had the latest XCode and still had to find/install it)

Why I cannot Verify custom enterprise apps on my iPad?

We distribute the test versions of our iOS apps through HockeyApp custom enterprise app store. Because of ASPN shenanigans our iOS developer refreshed some of our certificates. Since our two recent releases I cannot start the apps because they are from an "untrusted developer".
The procedure for this would be easy normally, you just have to navigate to Settings -> General -> Device Management > Enterprise App > ... and manually Trust them (I've been there before and I've done that in the past "Untrusted App Developer" message when installing enterprise iOS Application, https://support.apple.com/en-us/HT204460). But I get a nonsensical error suggesting that I'm not connected to the internet. Since I'm connected to wifi the verification obviously fails because of another reason, but I don't know why.
My iPad is a 3rd gen iPad with the latest possible iOS: 9.3.5.
Now I got to the point that I deleted all the apps belonging our enterprise developer organization. After that I first trusted the organization itself, which was successful. I installed again only the two problematic newest app releases so I can verify them. But I still get this nonsensical error. How can I overcome this?
Someone else from our company could successfully install our HockeyApp apps onto another iOS 9.3.5 iPad. That ruled out iOS 9 as a cause of this.
Then I removed my iPad from the registered devices in HockeyApp's management interface.
When I tried to add it back I had to install HockeyApp's profile (that contains a few certificates related to HockeyApp, and it's needed to be install first so that I could install actual HockeyApp distributed applications.
I received an error while trying to install HockeyApp's profile saying that my iPad is not activated 0_O
I struggled with that for a good while until I manually restarted the iPad and low and behold it started to go through the activation procedure.
After activation, bootup and login I also signed out with my iCloud account from the AppStore settings and signed back in (just to be safe).
Then I could install the HockeyApp profile and now when I install the actual apps we distribute through HockeyApp I don't have to Trust them manually any more.
I’m pretty sure that your apps where revoked, try putting them under a different developer, if you did not make the enterprise app please contact the developer of the app

IOS 10.1.1 Untrusted Enterprise Developer error

I downloaded a few apps from a third party website, and the apps are perfectly functional for the first couple days and then I get the Untrusted Enterprise Developer error again. I go into my General->Device management and attempt to trust the apps once more, but there is only an option to delete or verify apps. I notice that all of the apps are unverified, so when I attempt to verify the apps, it acts like its about verify-but nothing gets verified. By this point I can either press Verify apps again, or press Delete apps. If I press verify apps again same result. How do I get my apps running again?! Please help.!
I found that deleting the app via settings>general>device management>APP, then reinstalling, fixed the issue for me.

Distribute iOS App executable ( iPA ) to a set of users over email to install

I recently finished an application in Unity for a client who runs a sporting event and wanted the app to let the referees keep a more accurate log of the statistics of each game. When building for android, i get a single file that i can send to my device and install it/run it. The part that i have some questions is re-building that same project for IOS.
I know i MUST have xcode which means i MUST have a mac OS, but here are a few questions that i am unaware of.
1) With the most recent release of xcode, developers dont need the $99 apple developers kit to produce something and test it on their device. From what i learned, is it true that you need to verify each device you send the application to in order to test it?
2) Is there a way to compile the IOS application in a way that i can get a single file, or even a folder, and send it via email to my client, at which point they can download the file to their phone and have the application installed?
3) What is the easiest route i can take in order to get my application into ~30 peoples iphones without individually signing each phone to my application?
Thankyou for your help!
You will have to remove this question as what i understand this is a programming site, Please find the answer for reference below as per your question order.
with xCode 7.0 you can do this, we dont need any licenses and its free for any number of devices to test , refer :- link
Yes you can generate a executable which is termed as iPA , but if you want anyone else to install the iPA, either you will have to generate this using a enterprise profile, or you wil have to add you client device id while generating the profile on apple developer protal :- refer :- link
post which they can install the iPA using itunes
This is not possible as per my knowledge, as Apple has strict poilicies as you cant distribute witout their knowledge. that is the reason of having the apple developer account at first place.
Hope the following helps:
1) For testing on your local device XCode should set up proper provisioning files for the development builds of your app automatically once you purchase a developer license.
2) I build Enterprise Ad Hoc applications for a large publicly traded client and I'm able to send the compiled .IPA file to the client and have him test it by installing it via iTunes after I've signed it with a production certificate through XCode. He tests the app using that method before using a third party vendor to distribute the app on their corporately owned iPhones. The same should work if you sign your application with a production cert, although the aforementioned may be limited to the enterprise account's certificate.
3) If you're trying to remotely install a development version of the app on a test phone you will need to verify the phone via UDID in the Apple Developer center for AdHoc distribution, or use the TestFlight method. You can read more about how to do both of these methods here.
Hope this answer will help you out & good luck!
I think for that what you want you need a Paid Apple Developer because it is not possible (without Jailbreak) to install Apps which are not from the AppStore in iOS. So you have to "test" the App on each iPhone you want the App to run on, or you have to publish it to the AppStore, where you can set, that only specific Apple-IDs may download your app.
Thanks luca4499 and Max. I guess the $99 apple dev kit is the way i'm going to have to go then.
To clarify to other users interested in the same questions.
You can develop for multiple people without using the dev kit as long as your list of people isnt changing often, or you are ok with adding each device separately.
If you want to distribute your application, the easiest way is to get the apple dev kit.

Offline iOS Enterprise App Deployment and provisioning

I have posted this question on SO since I think it is the most logical place to find people with a lot of experience with the iOS Enterprise program.
For my company, we are developing an in-house app. We would like to deploy this app with the minimum effort required on the user's side <1>, as it should be possible to quickly install it for incoming colleagues. Additionally, we can't always guarantee an up and running internet connection at install time <2>. The in-house app is to be downloaded on our premises from a webserver through wifi.
We are currently not enrolled in the enterprise program, as we're investigating whether or not our goals can be realized.
As for <1>, what we've found is that UDIDs are not necessary to include in the provisioning profile for enterprise deployment. What is needed, is a provisioning profile. Now, here are my first concrete questions:
are any additional steps necessary before a provisioning profile can be installed?
can the provisioning profile be embedded within the app as can be done for OTA betas? This would save a user the step of installing the profile.
For <2>, the following issues come to mind:
here it states that access is needed to ax.init.itunes.apple.com and ocsp.apple.com. The former for querying the max allowable GPRS app file size. It doesn't sound relevant when your goal is to distribute over wifi, but the page says "If this site isn’t reachable, installation may fail." so it does concern me a bit. The latter one seems less severe as it is stated that "Inability to contact or get a response from the OCSP server isn’t interpreted as a revocation", which means that it should be possible to not contact this server right away.
I'm assuming that I can use any URL scheme to point to a local server that provides the app bundle and that there are no restrictions on server configuration.
Summarizing the two: is it possible to install an in-house app from a local server without a functioning internet connection?
Thanks for the help; it's greatly appreciated. As I have no prior experience with Enterprise deployment, it is tough to be confident that I'm not missing out on the nitty gritty details in Apple's documentation.
Provisioning profile can be embedded.
Your employee's devices requires internet connection when they are downloading the app, so that the device can contact Apple servers you mentioned.

Resources