Is there a way to programmatically create App ids? - ios

I'd like to programmatically create App ids in the iOS provisioning portal. I can't use wildcards because I need the push notification system.
Is there way to do it in commandline ?

Yes, it is possible. You can use fastlane/produce.
It's open source.
https://github.com/fastlane/produce

Related

Swift - how to access all pdf files on device

I am trying to build an app that will allow users to see all pdf files that are on the device (in some kind of a list with a preview) [Regardless of which app it belongs to on the device, all should be shown]. Is there anyway to achieve this?
Sorry but this is not possible on an iOS device because of a feature called sandboxing. Apple does not allow an app to access the sandbox of another app. Each app sits inside a sandbox of its own. This is iOS's security feature. There is no way to go around this feature.
Reference - About App Sandbox

Can I set same Apple ID for iOS & Mac app?

I have the same app for iOS and Mac. To making things more easy I want to point the iOS & Mac app with same link etc.
Is there any way to do that? I couldn't even set same Bundle ID. Is there any way around that?
No, you can't. Bundle ID and App ID are identifiers. Different Bundles/Apps have different IDs. Otherwise they aren't identifiers anymore.
If you want have one url for both, you could write a script (e.g. php), wich checks the OS running on the device and redirects to the corresponding iTunes link.

Bundled iOS app using two IPAs

I am exploring into the possibility of creating a bundled app out of TWO of my apps (app1.ipa & app2.ipa). Is it possible to create a shell app (bundle.ipa) which would load app1 or app2 using their respective ipa’s (app1.ipa or app2.ipa) based on user selection? Or Do I have to merge the source codes and assets on both apps to create a bundled app? Basically, is it possible to load an ipa with-in an ipa?
No. It's not possible to create apps with more then one binary.
Instead of trying to have more than one .ipa - which I'm pretty sure isn't possible - creating a class by which the app can introspect whether or not the person has paid for the app. So if they have, the feature is available, and if not... its not available.
Use Facebook's SDK integration as a reference of how this works: before an app can retrieve items from the user's Facebook, the app must make sure that the user has signed in with Facebook.
I wish I knew of a more precise example, but honestly, this should give you the gist of it all.

Using newsstand in regular application

Can I use NewsStandKit in regular application ?
I need to use NKLibrary, NKIssue and NKAssetDownload classes in my regular application, do you think apple will pass that?
thanks
You won't be able to use them unless you have your app be a Newsstand app. Apple will reject it.

Access iPhone's built-in ringtones

I have a task to access the system ringtones in my iPhone application. I want to know if it is possible to access them? If not, please explain the reason.
No it's not possible via the official SDK.
No, it is not Possible in iPhone, If you want to submit your app in app store.

Resources