How to make mobileconfig file on ios device - ios

Detail: Every stuff in our company has his own calendar and a fixed subscribe url, which is known, I am working on an iOS app, which can help stuffs to install a mobileconfig file and automatically subscribe the calendar, I just don't know where to start
Here is an example of 163EMAIL: https://ssl.mail.163.com/config/mobileconfig/index
I am trying to make one exactly like this!
if all this can be done within only one iOS device will be better.
so all you have is an url of a calendar, with which I can manually subscribe by entering setting-email-add-other-subscribe
and I want to make it a mobileconfig file!
THX!

Here is a good place to start.
"Creating a Profile Server for Over-The-Air Enrollment and Configuration" is the part you should really focus on.

You can use the built-in Apple Configurator on OS X

Related

Open ipa within an ipa in iOS

As stated in my question above, is it possible to have an ipa file within another ipa? To further explain, here is my situation:
I have two apps and the first one calls the other through URL Scheme. I don't have problem with this. But what I need is to install only one ipa file instead of two. And the first thing that came into my mind is to put a .ipa file inside the other .ipa file. I really don't know if this is possible that's why I need your take on this. But if this is not possible, I hope someone can tell me what would be the best practice to doing this kind of thing.
I can make it as one application, but that would be my last solution.
There are no way to use another app in side app. but you can set a screen like.
You need to check with schema that application install in device or not. If not then user need to redirect to app store. User need to install and then while you go with same flow in app that open second app.
referance answer for check app install or not is following: Detecting programmatically whether an app is installed on iPhone

Writing to a file in my iOS app

I have an app that downloads files that need to be edited and submitted back to the server through the app. These files could be anything, but are most likely to be .docs. I want to be able to open and edit these files in another app on the device, such as a .doc editor.
I've been able to get this functionality to work in similar Android and Chrome apps, but I'm very new to iOS so I'm not sure what my options are.
Is there a way to give permission for another app to edit a file that is in my app's sandbox? If not, is there a way to get the file back for submittal (like finding it through a file explorer launched through my app - similar to an 'Open..." file explorer dialog used in Windows/Mac OS/Chrome)? Am I going to have to create a way for the editor app to share the edited file back to my app?
Thanks in advance for your help!
To manage the file and the paths take a look at the documentation for NSFileManager:
https://developer.apple.com/LIBRARY/mac/documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/Reference/Reference.html
I usually write using NSFileHandle for reading and writing:
https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSFileHandle_Class/Reference/Reference.html
Hope this helps.
iOS8 will provide methods to allow apps to co-operate with "extensions".
See "Creating Extensions for iOS and OS X, Part 1 & 2` in the WWDC14 videos.
Also see the Apple "App Extension Programming Guide".
I ended up sending the file to a 3rd party app for editing and then sending the file back from the 3rd app to my app.

How to install my app to client's iPhone without iTunes Connect

Recently i got an order to create a iOS app. The problem is that the man made the order is really far from me and he want to test the app before i publish it to iTunes. He is not a developer himself. How that could be done?
Its very simple.
In one word: TestFlight
You can use below link. The only thing you need to do is to make zip of your build and drag it to the area provided in site. It will provide a link which you can open on test device on browser and all the things would be done!!
link
You can try This for wireless installation
Thanks.

Why isn't the .plist pointing to my .ipa completing?

I know about other 3rd parties but I'm trying to do Ad Hoc OTA using Dropbox.
99% of the material available is out of date, for iOS4 and pre-dates Xcode 5
After sifting it all this works for me up to a point: I get to download on another device from Dropbox but only partially. But the process continually re-starts halfway through and never completes.
// an email link to ..
// a regular html file on my website using the following:
Tap Here
// the .html file above points to another file on DropBox's servers,
// which is another .html file pointing to the .plist manifest
Your Beta, Sir
// line 14 in the .plist points back to my website
<string>http://www.example.com.au/apps/myApp.ipa</string>
I'm using the .plist generated by Xcode, all the places below suggest editing their example, but none worked to get get me thus far
I tried just linking from an email to my .plist pointing to my.ipa in dropbox. Nope. Not in a million years.
Has anyone done it successfully from scratch since October 2013 ?
that's my question, but some background notes:
the reason for the fancy dance is that I learned that iOS7 expects the .ipa to be served up under HTTPS: I didn't feel like spending a week learning network coding. So I'm using Dropbox to fool itms-services for a trusted certificate.
yes the device is on my provisioning file,and its a distribution profile, not a development profile
one with the latest date
http://digitalpublishing.tumblr.com/post/29479304378/installing-your-developer-app-over-the-air-without
2hrs with this link didnt produce a solution, but worth it for other things that can go wrong
wireless iphone app distribution - problem with itms-services protocol
For newcomers here's some links where not to waste your time on the subject, there's other sites but smack of content-theivery.
( they drained my laptop battery nearly twice, I want some value for my hours ).
http://shinydevelopment.com/blog/over-the-air-ios-provisioning-and-distribution/
http://iosdevelopertips.com/xcode/distribute-ad-hoc-applications-over-the-air-ota.html
http://aaronparecki.com/articles/2011/01/21/1/how-to-distribute-your-ios-apps-over-the-air
http://dr-palaniraja.blogspot.com.au/2011/06/distribute-your-iphoneipad-adhoc-builds.html
http://www.techaheadcorp.com/blog/iphone/wireless-ad-hoc-distribution.php
http://www.buzztouch.com/forum/thread.php?tid=C170BC9A655DAC18CF67787&currentPage=1
http://3qilabs.com/how-to-ad-hoc-distribute-your-ios-app-via-a-website-and-ota/
I think this qualifies better as an answer to my own question, than a comment or an edit:
Apple have deprecated UDID in some way, and the beta tester used an app called UDID TOOL. ( He is a PC user wanting to avoid an iTunes install. Agreed )
I notice his UDID starts with fffffff as does my wife's when i use UDID TOOL. Comparing it to my Authorised devices list in Member Centre, her phone doesn't start with anything like it
So the first wrinkle to put straight is to find a way of retrieving his UDID correctly.
I found this in a tweet from Daiwi

What files to send to my iOS dev to receive a testable app back?

I hired a developer. He made app. I want to test it.
What I have:
Apple developer account - single - I never could figure out that
company international ID thingy.
Only I can access the account (am willing to give access if that is
only way)
I have OsX 10.6.2 snow lep running on Virtual Box all good
XCode 3.2.something (its older, updating requires new kernel and has
been problematic)
(I can utilize the apple dev provisioning wizard on dev.app.com to
obtain certs and files)
I have an apple certificate file downloaded to my computer that I
made under the provisioning thingy on dev.app.com
iPod Touch 4g (Jailbroken) if needed. (unknown if I can access it
via virtual box)
What I want to do...
Send whatever files to my ios developer so he can create a single file to email back to me. I take said file and install it on my iPod Touch, on my windows computer.
What do I need to send him so the developer can make this happen? Further what do I need to tell him to do. This part may seem odd as why would "I" not knowing how to build an iOS app be telling the dev how to do it. I have requested him to make this all happen before and there is a language barrier.
What I do not want to have to do:
Use the mac anymore (please tell me this is possible.)
(said in another way) I would like to Test apps by putting them on my ipod Touch (using itunes or safari and dev account is ok) BUT I want to be using windows.
Can this be done? I code Android. I do not know Xcode and dealing with builds from Xcode 4.6 then trying to open project in Xcode 3.X not knowing if there are project errors etc. and well...learning xcode jsut doesn't make sense...I mean then why hire a dev? yeah yeah cause he knows C++ I got that part.
Anyway, sorry for the 'flavor' parts of this message I just want to make a message that will sum up the "world of it all" for any future travelers trying to do the same thing.
Summary - I want to test apps on Ipod Touch (or whatever iOS device) using windows to install them to the device. Able and willing to use Mac to create needed files (certs. keychain files etc.) can use Mac for all building aspects.
Please advise and thank you very much programming gawds in advance.
Use the mac anymore (please tell me this is possible.)
2 .(said in
another way) I would like to Test apps by putting them on my ipod
Touch (using itunes or safari and dev account is ok) BUT I want to be
using windows.
It is possible. However, you may not understand the following steps because those should be done by iOS developer.
Step1. Your developer should archive it (In xcode, press Product, then Archive).
Step2. Open Organizer in xcode (top right corner), click the "Archives" page
Step3. Select the app you just built. Then click "Distribute" button and select "Save for enterprise or Ad-Hoc Deployment"
Step4. You will get xxx.ipa. You can drag this file in WINDOWS iTune and sync to your iPod.
Note: Your iPod should mark for "use for development" with valid provision.

Resources