Trusting additional CAs in iOS application - ios

I'm basically looking for a way, in an iOS app I'm developing, to achieve the same thing as this on Android.
I need to somehow embed my CA cert in the iOS app and then configure it to trust that CA in addition to the system certificates.
Is this possible without writing native code?
I'm using Expo so ideally I'd like an easy way via Info.plist or something like that if possible.
I haven't really tried anything yet. I did for Android and it works, just can't figure out how to do the same thing on iOS.

Related

IOS Key needed for Phonegap

I am designing an App with phonegap and have no Idea about Macs neither do I own one. I need to develop an IOS App and it requires a certificate. I was wondering if there are websites that sell these keys or something or how to generate one without magically turning my PC to a Mac. It'll be of so much help.
It could be best if you run OSX on a Virtual Machine. You can find them on youtube just search "Sierra Windows". The reason why I recommend this is because there are other required files besides the certificate. There are the icons and logos that you'll need to put on XCode before it can actually be built and send to https://itunesconnect.apple.com/.

Appium - Setup proxy server on mobile Android and iOS devices

I need to be able to capture HTTP(S) requests from Android and iOS devices, for both Browsers and, in the future, for Native apps for testing purposes mainly.
Some aspects to consider:
There are a lot of devices/iOS combinations to support, so the only viable solution is to use a Cloud Browser provider like SauceLabs, BrowserStack, etc.
Preferably, I would use Real devices, not Emulators/Simulators
We could make any kind of tweaks for the staging environment of the site under test in case is needed
Same for the native applications
My first attempt was to give it a try with FiddlerCore, and while it works on Android, it doesn't work on iOS because of the self-signed certificate that would require to be trusted manually (leaving aside the fact that due to security reasons, no Cloud Browser provider would allow you to do it).
So, next I thought of creating a proxy server and buying a Trusted CA Signed Certificate (e.g. Comodo, GoDaddy, etc), setup the device to use that proxy server and then fetch in my tests the requests and responses from it.
I don't know much about Certificates and don't have extensive experience Appium, so the following questions arise:
Will the setup mentioned above, using a proxy server and trusted CA signed cert suffice for iOS not to complain that the certificate is not trusted? Note that I won't be able to manually accept the cert on the device (in case it's needed).
In case the setup above will work, is it possible to setup using Appium the proxy settings on the device? As far as I know, Appium can interact with Android Settings menu, but I'm not sure about iOS.
Is there anything that I missed or that I could keep mind?

Phonegap: key required for iOS

I have started trying Phonegap. While it gives the .apk and .xap, but not for iOS and blackberry and asks for a key.
Can someone provide useful links for developing in iOS and understanding what are the keys mentioned?
In order to develop for iOS, you need an Apple Developer Account. This is costs $99/year, and you can find out the specifics here: https://developer.apple.com/programs/ios/
I've never gone through the process myself, but as I understand it, once you sign up to be an Apple developer, they'll give you a key (or some way of generating one) that every program that can build apps for iOS will require before it can build successfully. There is no way to develop for iOS without first subscribing to the developer program.

How can I send my iOS app to my client for them to use it?

I've been developing an app using Titanium Appcelerator, until now I've been previewing it using the iOS Simulator and my iPhone.
Now, I want to send my app to the client so they can use it on their iPhone. How can I do this?
Bear in mind this is my first iOS app and so I am not fully au-fait with the terminology or process in making an app go live.
There is no Apple provided mechanism for achieving this, however apps like TestFlight provide a good mechanism for this. You have to register your clients device in order to allow them to install your app. Yes, this should work for Titanium.
You can find out how TestFlight works here:
How does TestFlight do it?

Create an iPhone app for personal use without using Xcode or going through the App Store

I want to make a little app just for me. I don't want to distribute it, and don't want to make any money from it, I just need to have this app with me.
I don't have a Mac capable of running Xcode, and I don't want to waste any money on the developer license.
Is there a way I can make an app for only my personal iPhone 4s, without going through the App Store or using Xcode? My iPhone is jailbroken.
A web app might be a better solution.
The short answer is no. You would need a Mac/Xcode to compile/build the application for you. As #Thalecress suggested you might be better off building a web app.
Also check PhoneGap, with it you can deploy your web app in several platforms (including iOS, Android and WP7). Phonegap also offers a build service that you can use to wrap the final web app as a native app to run it on a device (PhoneGap:Buld).

Resources