Add network profile into the iOS 10 application - swift

I have a network app written on swift for iOS 10.x. The app needs specific network configuration (related to Wi-Fi) and it's working properly in a case when I creating network profile manually using Apple Configurator 2 and then push this profile to iOS 10 device.
Question 1: Is it possible to include network profile into the iOS 10 app and install this profile with the app automatically?
Question 2: Is there some way to install network profile to iOS 10 devices without Apple Configurator?

As stated in https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/Introduction/Introduction.html
There are four ways to deploy configuration profiles:
By physically connecting the device
In an email message
On a webpage
Using over-the air configuration as described in this document
Maybe you can force the user to open a web page using a link which points to the profile. Make sure that if the user clicks on the link that the link gets opened in safari not in you app.

Related

Default screenshots in App Store iPhone/iPad

I've got an app in App Store for a while.
Recently I've noticed that by default iPad preview images are displayed when I visit App Store with browser.
I would like to make the default to be the iPhone look, because first of all my app is an "iPhone app".
Is there a configuration in Xcode project or App Store Connect were I can set/force iPhone to be the default ?
Web link of App Store Connect.
https://apps.apple.com/us/app/zalgo/id1191945249
The screenshot of the problem
P.S. I've been rubbing my butt against this issue already half a day, cannot find any solution.
Has anybody communicated on this with App Store customer support ?
After lengthy discussions with App Store Connect support, finally the problem is resolved
The “Designed for …” badge appears automatically
for iPhone and iPad apps that are made available for Apple silicon Macs.
With that option iPad screenshots will be displayed automatically when navigating to products URL with web-browser.
If you have selected “App Silicon Mac Availability” in the Pricing and Availability section of App Store Connect.
Uncheck it and check the product page URL after 24 hours have passed.

iPhone7 and iOS 11 error for **native** iPhone apps: This app was not installed from the App Store and must be reinstalled manually [duplicate]

My application is signed with Enterprise distribution certificate. When I try to install my app on iPhone X it installs successfully but when I try to open, it gives me an error "This app was not installed from the App Store and must be reinstalled manually"
Please note that app is opening and working on all other devices. This issue occurs only some specific iPhone X, not on every iPhone X.
Can someone please tell me why I am facing this error.
Screenshot is attached
The app may have been offloaded. Offloading is a new iOS 11 feature that allows user or the iOS system to remove an app to free up space without deleting any of its configurations or settings.
To know if an app has been offloaded, it displays a small cloud icon in front of its name.
When opening an offloaded app, Apple tries to download the app back from App Store. Since it's an enterprise app that's not available on App Store, it can't download it and shows up this error.
The solution? Well, just what Apple says: "This app was not installed from the App Store and must be reinstalled manually". Download the enterprise app again from where it's hosted and install it.
In case anyone runs into this post doing a Google search, here was the fix for our scenario:
This issue usually revolves around a desperate Apple ID and Pin. The first step will be to recover your Apple ID device PIN. This is accomplished by following these steps:
Go to Settings
Tap [Your Name] > Password & Security > Change Password
If you are logged in to iCloud and have a passcode enabled, you will be prompted to enter the passcode for your device
Follow the onscreen steps to update your password
This should reassociate the Apple ID with the Pin, and allow the app to install.

App store IPV6 compatibility test

I have submitted a app in app store and my metadata was rejected with the following comment
—————
We discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 10.0.1 on Wi-Fi connected to an IPv6 network.
Specifically, we were unable to register a new account because the Save button was unresponsive. We’ve attached screenshot(s) for your reference.
——————
My app deployment Target IOS 8.0
My test phone is iPhone 6 with IOS 8.2
As per apple documentation
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW1
i have simulated the NAT64 local network on my mac and tested it. The app works ok.
IP address screenshots attached using Nat64 and without using Nat64
I am not using any ip address numbers in my app. I only access the php script like www.kottapa.com/xyz.php
I am testing this app from bangalore india
Please let me know what could be the Problem.
This is due to missing App Transport Security Settings (Allows Arbitrary Loads ) property in info.plist. Without this property IOS10 won't' allow http requests.
But IOS 8 device processes http requests without this property

Automated Installation of Configuration Profile

We would like to allow our iPhone application users to access to our secure and protected Wi-Fi hotspots, without having to manually download a configuration profile themselves. From my experience today, users have to either open an email with a profile attached, click on a link or have the app programmatically open up safari in order to download a configuration profile. We’d like to avoid the users having to do anything at all.
To that end, does anyone know if it is possible to have a configuration profile installed automatically on a user’s iPhone, such as when the mobile application is downloaded from the app store? Or is there another mechanism through which we could allow our iPhone users to gain access to our secure Wi-Fi hotspots.
Also, I am curious does anyone know of any companies that have enabled such a solution?
(note there is an older thread on this topic from 2010, which implies that this is not possible. Given it has now been 3 years and that we're on ios 7, I would like to see if the capabilities of iOS has changed.)
There are four ways to deploy configuration profiles:
By physically connecting the device
In an email message
On a webpage
Using over-the air configuration
More on this Document.

Is there a way to password protect the download of mac app from appstore?

In one of our project we have 2 binaries, one for iPhone and other for mac. These two application communicate each other to achieve the functionality. We want the user to download and install the iOS app first and then let him download the Mac application.
Is there a way to restrict the user, if the user try to download the mac app before downloading the iPhone app?
Short answer: If you're referring to the Mac App Store, then no.
Long answer: Both, the App Store and the Mac App Store give you no way to control who downloads your app and you are not able to get information about what a user already downloaded.
You could of course ask for an e-mail address in your iOS app and make sure your users register to a server before you e-mail them a link to a private download page (not the Mac App Store).
General advice: I think there is something wrong with the design of your app. It's not clear to me what you're trying to achieve and I bet your users won't either. If you want to make sure they pay for the iOS app before using the Mac app then just alert them in case they downloaded the Mac app first. You need to write some custom service to check for this of course. If there is some functional problem that requires the iOS app to be launched first then you should solve this yourself and not put that burden on the shoulders of your users.
You could allow anyone to download, but simply block any operation until the iOS app has sent some kind of approval token to a server or iCloud for example.
You have to download mac application first, and after downloading you can check if user downloaded iOS app or not, but before downloading you can't check the downloading state of iOS app, because application will upload on appStore not on your personal store.
After downloading iOS app set some flag value on server, and check this flag value on mac app downloading, it it is 1 then download else show alert.
After iOS app downloading -> Set flag value (ios Download=1) to your server.(make web service for this).
After downloading mac app -> Call you web service to check that flag value. if it is 0 then show alert to download iOS app first.