We have created an app project with Expo.io where we need to build the IPA as an ad-hoc build since its going to be resigned and added to both an enterprise self-owned store as well as the Apple App Store.
I do not have access to the Apple Developer account which has the certificates for signing it correctly, so I need to create an IPA file - from my own account - with an ad-hoc mobile provisioning
At the time of writing it is not possible to add an ad-hoc mobileprovision file for Expo to be used for building.
I need to figure out a workaround to make a build of our app as an ad-hoc IPA and sent it to the person who has access to the correct Apple Developer account.
I can see there is a detach possibility in Expo, but I'm unsure if this will make me able to make a correct ad-hoc build. My initial attempt could not be installed on my own phone, even though my UDID is within the ad-hoc mobile provisioning file.
My intention is to be able to test the IPA first through systems like Diawi.
Related
It is possible to update the current app from Appstore and GooglePlay from a new freshly expo project?
I lost all the code of the project from where app was build(the build was classic one)
Now I want to start a new / fresh expo project(EAS one) and:
Code the app again
Update the stores with new app
What's your thoughts about this?
What about the implications of the parts like: Storages, Tokens..?
Thank you
As long as you have access to the same AppStore and Google Play accounts yes, you could. Without referencing legacy code and configuration, however, it might not be possible to migrate user data persisted in storage etc. (unless you know the exact config used).
The differences between classic expo builds and EAS should not have any impact here. What matters is that the apps have the same bundle id / package name and are correctly signed (you must have access to the previous signing key or publish key for google play, for instance), and that all other native config items match (if the previous app supported iPads, for example, the new one must as well).
Due to some unique quality and regulatory requirements in our organisation, we need to be able to download a .ipa build from App Store Connect, in order to be able to compare it against a locally built binary. I appreciate this is an unusual requirement, but it is non-negotiable.
Clearly there is no way to do this via the App Store Connect web interface, so I've been looking at the App Store Connect API. However it is ambiguous from the documentation, whether it is possible to use this to download an .ipa build.
Does anyone know if this is possible, and how one might go about doing it if so please?
Apple does not provide any way of retrieving an upload app/IPA. It's neither possible through App Store Connect nor the App Store Connect API.
You can only check entitlements and additional build information in the App Store Connect interface. For that go to App Store Connect > My Apps > Activity > All Builds > Click on the build
(Fastlane does also not provide any way, because Apple does not expose the data. It uses the "web API", i.e. has access to more information than the "standard" App Store Connect API)
We can download IPA file with the help of Apple Configurator. Follow below steps to download IPA file.
Download Apple Configurator 2 app on your MAC.
Connect your iPhone with MAC and Apple ID should be same in apple Configurator and iPhone.
New window will display with app count badge in All Devices Tab.
Right click on your connected device in Apple Configurator and select Add and then Apps.
Process will complete and Popup will show with options, no need to click any option and go to this path
~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets/TemporaryItems/MobileApps/
Save IPA file in your directory
-Now stop Apple Configurator
EDIT: I know this question is aimed at Downloading Appstore/Testflight builds, specifically, but wanted to provide this answer for others who find your question while looking for it from anywhere.
You can download iOS .ipa from Firebase distribution, as well as for Android .apks. But you do need to have the right permissions.
I just did it 5 minutes ago. See ☝️?
Go into App Distribution > find your app scheme/variant > expand build number > see if you have a Download button. If you don't, your company needs to bump your permissions up a bit higher.
Keep in mind that firebase apps can experience limitations when interacting with Apple SDK features, though, like SIWA. You'd need to use Testflight to test things like that if they don't work for you (we have decent devs and never could get it working on Firebase builds).
If the file gets deleted before you can copy it, you can use this command:
watch -n 0.1 find "~/Library/Group\ Containers/K36BKF7T3D.group.com.apple.configurator" -iname "*.ipa" -exec 'cp -r {} ~/Downloads \;'
When it's downloaded it will copy it to the Downloads folder. You're welcome.
Part of the credits to my colleague Daniël.
I am trying to upload a build on TestFlight and trying to pass by the step where I have to add developer account to the Xcode preferences. It's partly a good step but I don't like the mess, it creates with certificates and provisioning profiles. Any chance I can either bypass the developer account setup or the provisioning profiles.
Unfortunately there is no way to deploy your app to actual devices without creating certificates and provisioning profiles. This applies to both Development and Ad Hoc/Testflight distribution.
It's one of the necessary evils of iOS development.
I've created an iOS7 project in Xcode 5. It's a very simple app. I zipped it and sent it to another developer. When they open it, they get these messages:
No matching code signing identity found
No code signing identities (i.e.certificate and private key pairs)
matching "iPhone Developer" were found. Xcode can resolve this issue
by downloading a new provisioning profile from the Member Center.
How do they get around this? The app isn't going to be submitted to the app store.
Is this happening because they have not linked Xcode to their online developer account? Isn't an online developer account free?
The other developer can ignore that message if the intention is to run the app on the Simulator. But you must use code signing in order to run an app from Xcode on a device, even for testing purposes, even if the app is never going to be submitted to the App Store. And that costs $99/year. End of story.
You could turn your account into a Company account and put this developer on your company; that way the developer is covered under your $99.
Or, if you just want to send the app to someone for testing and you don't need them to run the app directly from Xcode on a device, you can create an Ad Hoc build targeted to their device.
And of course the developer can look at your code, test on the simulator, and run your previously built Ad Hoc build on the device - but not run from Xcode on the device, i.e. the developer can not build for a device without someone paying that $99/year fee.
I'm in the process of learning iOS development and app submission process. Before trying to archive my application I only tested and debug it on iOS 6 simulator and now I want to deploy this application on real device. And during this I encountered with some problems.So, what steps I must implement in order to successfully archive my application and get an .app and then an .ipa file of it. How to setup provisioning profiles and solve code signing error?
You need to go to the provisioning portal at http://developer.apple.com and generate provisioning profiles for your applications there.
If you have not paid your developer license fee you will not be able to install your apps on real devices.
You will need to get a Developer and or Distribution certificate including their respective Private keys. You will also need a Team Provisioning Profile, or a Provisioning Profile specifically made for the app. You can either make all these yourself through the provisioning portal at http://developer.apple.com Or if you are working for someone else who has a developer program license, they could possibly provide you with all these.
The provisioning profile describes all the steps you need to take to implement the certificates and provisioning profiles so you can build and deploy / distribute your app.