I am creating an app for iPad on React Native. I am working on a macbook.
I want to test the app on a physical iPad with a deployed production build of the app.
I don't seem to understand how am I supossed to do that. I'm finding a lot of info on how to deploy to the App Store, but that's not what I need.
I used to use expo for Android and build an APK and just install it on a physical device, now I want to do something similar.
This time I'm not using Expo, just react-native-cli and XCode. I tried the app on a simulator and it works, but now I want to send it to a different person so he can test it on a physical device and not on debug mode, but on an actual production build of the app.
How can I achieve that?
You can use www.diawi.com for that.
First, you'll want add any device's UDID that you want the app installed on to your provisioning profile in your app.
Try this out to add a UDID
Then to create an .ipa of your app, follow along in this link up until "Installing Your App on Test Devices Using Xcode".
Once you have your .ipa, upload that to https://www.diawi.com/
Diawi will return to you a link that you can send out to user's who's UDID you've added to the provisioning profile.
Related
I am currently working on a private iOS app, and was asked to distribute it to only a handful of people without publishing to app store. I know about ad hoc and already created provisioning profile and all the requirement, archived and sent to the iOS device. My first try using ad hoc, sent to iPhone using airdrop, the app automatically installed on the device, all worked great, but all of that while plugging the iPhone in to mac computer that I used for developing the app.
My question is can we do that without plugging it in? I recreates the step with the same phone and on another phone without plugging it in and the apps can't be installed. Or is there difference in steps when plugged in or not.
In order to install an ad-hoc package to a remote device, you will need to put the IPA file on a web server and also upload the Manifest file.
However, If you don't have a handy server, there are many free services that you can use for that. To mention a few: TestFairy, Diawi.
Good Morning Dear . I'm a young developer of react native .
In my Company has a new one app but I need the build it for ios device .but I'm not yet have the developer account of apple. I just want to the app can be run on real device of ios no need to upload to the app store . How to I can build it ?
Thank you so much.
for export your app in xcode you can get .ipa format as adhoc, for run this format don't need add app in app store but you need developer account for create certification and provitionProfile for your app. for more info see that: link
some way exist for get build without developer account , but that's maybe cause some problem like , increase application size!
Yes, the app can run on a ios device without a developer accounts. You will need a Mac with Xcode installed. You can follow Expo to start things started.
I am pretty new to IOS development and I am trying to just use the app personally first on my own. I found this site:
https://www.diawi.com/
Which let you use your app on your phone without all the hassle. The only thing is that I am getting this error when trying to upload my .ipa file.
Missing embedded mobileprovision
I am using https://www.codemagic.io/ to build the .ipa file from my project, because I have no Mac on hand. This is the command it is executing:
flutter build ios --release --no-codesign --split-debug-info=/
As you can see I am using --no-codesign in the flutter build, because you need to have an certificate from apple to use codesign. However, I am not interested, at least for now, to use my app commercially. I just want to use it for myself on my iphone.
Is this possible? If so, how?
Btw, I only use windows.
You can install only signed apps on a physical device. Doesn't matter if it's yours or someone else app.
This makes possible for Apple to cancel your certificate and delete the app from any device in a case the app is breaking a rules of Apple.
Apple has a free option for developers with Apple ID. Just go to Xcode -> Preferences -> Accounts -> Left pane, bottom menu tools bar and click "+" button.
More details from Apple website source
You can learn how to develop apps for Apple platforms for free without
enrolling. With just an Apple ID, you can access Xcode, software
downloads, documentation, sample code, forums, and Feedback Assistant,
as well as test your apps on devices. If you don’t already have an
Apple ID, you can create one here. To distribute apps, join the Apple
Developer Program.
You have to have a signed IPA to install it on your device. For that you need to have an Apple Developer Account.
In my case I do not use Codemagic but Appollo a similar tool. To be able to test the app on my device I do the following (after setting Appollo up) :
appollo build start --build-type ad-hoc
appollo build ipa
and then you just have to send the link you get to your iPhone to install the app on your device.
Or if you want to test in TestFlight run
appollo build start --build-type publication
and then in App Store Connect publish your test flight app.
I suppose there is such a functionality in codemagic too.
Developing an Android/iOS app with Flutter, i'm trying to let my iOS users donwload my app by uploading it on Firebase App Distribution.
But when i try to build release iOS app, it asks a provisioning profiles. I've done a App ID, the certificated developer, but it seems to need a device ID too. I don't have an iOS device but i only want a release .ipa.
I understand that i have to sign the app, but i don't have or want to run it now on a iOS device as I just want to upload it on Firebase App Distribution. I test my app on a iPhone simulator and it works very well.
Is there a solution to just build and push the app ?
(I also tried the tricks by zipping it and change extension... and it doesn't work too)
edit:
Create provisioning profile without physical device (archiving for TestFlight testing)
I found someone else who had quite the same issue, but 4 years ago, hope somethings changed
No it's not possible, when creating a provisioning profile you need to select which devices to include in the provisioning profile. Therefore you need to get the udid of each device so they can open the application in that device.
I'm building my app for iOS using ionic package.
https://docs.ionic.io/services/package/
I created certificates for both development and production, including push.
https://docs.ionic.io/services/profiles/
development - built successfully using ionic package, installed on iOS with no problem.
production - built successfully using ionic package, when I try installing it on iOS it starts installing the app normally, then when almost finished the app disappears and it ends up not being installed, no errors appear.
Why does it happen?
In order to test the production .ipa on my device, I'm installing it via the iTunes software. (I'm not publishing it in the App Store yet)
The same goes for the development .ipa, though for this one it's a given.
I found this old issue which suggests it might be due to bundles ids that don't match:
In-House App Disappears After Install
The widget id in my app's config.xml is identical to the App ID on Apple Developer.
Are there more places that are supposed to be identical which I'm not aware of? Perhaps info I'm inputting when creating the certificates?
My final goal is to publish this app in the App Store, it's not an In-House app - I'm stating this to avoid confusions.
I have faced the same issue when i was building my iOS apps , after a couple of research i came with this fact :
When you prepared the Production build (Store App ) it will not be able to install in the development devices . if you need to test that production app in your development device you need to build the app with ADHoc Provisioning Profile . then only it is able to allow you to install in the Development devices.
AdHOC provision profile is a distribution provisioning profile that allows your app to be installed on designated devices and to use app services without the assistance of Xcode. It’s one of the two types of distribution provisioning profiles that you can create for apps. (You use the other type of distribution provisioning profile later to submit your app to the store.) An ad hoc provisioning profile ensures that test versions of your app aren’t copied and distributed without your knowledge.
When you’re ready to distribute your app to testers, you create an ad hoc provisioning profile specifying an App ID that matches one or more of your apps, a set of test devices, and a single distribution certificate.
The App Store version app is, as its name implies, for use only when distributing via the App Store. It exists for signing your app for distribution via the App Store and can't be used for any other purpose. Unless you install an app that has been signed by it via the App Store it will obviously fail.
If you want to distribute an app for internal use to a few devices and for a relatively short period, you should use an Ad Hoc profile (which i explained in above ); if to a lot if users for an extended period, you need to register as a corporate developer and follow a different process.
For More Details regarding Adhoc refer the following link:
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/TestingYouriOSApp/TestingYouriOSApp.html
You can't just directly install production build onto your test device, its against apple's policy.
So in order to do that you can export an Ad-hoc build and then you can install in your device, provided that device is already included inside your provisioning profile.
Ad-hoc builds works same as production builds, only difference is you can only install on those devices which are included in your provisioning profile for that app.
It is not possible to directly install Production iOS App on the mobile device. This can only be done via TestFlight. Step by step tutorial below.
Prerequisites
You have your Mobile App Prod build ready and signed
You have iOS mobile test device with TestFligh app on it
Step by step
On MAC open XCode -> Open DEveloper Tool -> Application Loader
Click 'Choose' file to pick up your build file from local machine and continue to upload
Once app is uploaded it will be visible from iTunes Connect console (wait until Processing is finished before submitting to TestFlight)
Once that's done, open TestFlight App on the iOS mobile device and download your new app.