I'm building an iOS app, and the client wants to enable the run on Mac feature. I enabled it and all run as expected on my Mac. How can I let them test it on their Macs? since TestFlight only runs on iOS devices.
Here are the steps I followed to create a Mac app of the iOS app for my client to test:
1- Enable Mac from the app target
2- Select My Mac as build device and then Archive:
3- Select your Mac app in the organizer -> Distribute App -> Copy App
How can I let them test it on their Macs?
TestFlight is not available for macOS apps. You can simply build a .app bundle for macOS and share it with directly with your client, and they can run it on their Mac.
A distribution service such as TestFlight is not needed for macOS apps, as unlike iOS/iPadOS, one can easily create and distribute apps for macOS.
To learn more about distributing testing build for macOS apps, you can refer to the following Apple Developer documents:
Distributing Your App for Beta Testing and Releases.
Distribute to registered computers (macOS)
Distribution to registered computers didn't work for us either.
We need the app to run on
MacOS 10.15 Catalina
MacOS 11.X Big Sur
What worked for us is to distribute via Developer ID distribution.
Then you may notarize it or
xattr -r -d com.apple.quarantine ~/Downloads/Your.app
Mac TestFlight Update from WWDC 2021
From WWDC 2021 , there actually is brand new TestFlight for macOS apple WWDC video . The uppload process of macOS app is basically the same as for iOS. Only limitation is that you can download TestFlight on mac only if you are using Mac running macOS 12.0 or later, so If you want to test on devices with older OS version I recommend using distribution techniques listed in other answers.
Related
I've been searching similar questions but ended up with concerns regarding the actual deployment. I have no problems deploying ios version because I'm using codemagic.
My question here is if it is possible to perform flutter run if I connected an iphone? Like how I use my android device and have USB Debugging enabled.
There are cases that some functions work in android but doesn't in iphone. So if it possible to run my app in an iphone and debug it, I'll just buy an iphone instead of mac since my windows machine is very capable.
Technically you have to own a Mac to build iOS apps. You can use external service to do something similar to what you want though. You will never be able to plug your iPhone to your computer and update your app but you can build an app and install it on your iphone.
For example with Appollo. In this case you have to install Appollo from your CLI
pip install appollo
Then configure Appollo to work with your developer account.
Finally, you can build an IPA file
appollo build start --build-type ad-hoc
appollo build ipa
and you can then install this IPA on your physical device.
No, unfortunately you cannot do this because the one who builds the application for iOS is the Mac machine, not the Windows device. So, the problem here is not in connecting the mobile to Windows, but rather in the reliability of building iOS on Mac devices only.
I am new to Flutter. I have developed a project using flutter for both ios and android using android studio on my macOS. I don't have a real time ios device with me but I want to share this app with my colleagues. How can I generate a .ipa for my project similar to a .apk?
Just run flutter build ipa
It builds an iOS archive bundle (Mac OS X host only).
You can get more info running flutter build ipa -h
Sorry you can't create .ipa file with out a Mac ,there are some online Mac server u can use it by paying for 1 hr like that ,but believe me that would not work
I suggest you to buy a used phone on Amazon / Ebay / BackMarket etc.
I did it, some apps required physical device for test because some features are not avalable on emulator and differ from Android.
I need to make an app only for 2 people on their iPhones. Is it possible to build an app with flutter on a windows OS and just install it on those 2 IOS devices? Because I saw that you need a Mac for publishing the app, but what about just installing it for separate devices?
No, it is not possible. For build app for iOS and other Apple's platforms you need to have build tools that available only for macOS.
No you need a MacOS to build app for iOS.
But you can use a tool called Appollo (https://github.com/Appollo-CLI/Appollo) for that.
It's a Python CLI that gives you access to MacOS build machines.
You can do everything from configuring Xcode, generating your IPA file and publishing your flutter app.
I have a problem i cannot find a answer for.
I want to deploy an ad-hoc certificated ipadOS app on my MacOS M1 machine.
Even better if its possible to debug the ipadOS app directly on my MacOS M1 machine.
The distributed app in app-store is easy to install on MacOS M1.
It does not seems possible to add MacOS M1 machine in App Provisioning Profile either, it only list ipad and phones. The "Include Mac Devices" under profiles in "Developer.apple.com -> Certificates, identifiers & Profiles" does not show previous added MAC UDID.
https://developer.apple.com/macos/iphone-and-ipad-apps/
I am using free apple developer account.
I am using Nativescript Sidekick in Ubuntu 16.04.
IOS device cannot be detected ( OS has limitation maybe ).
I want to run my app in my iPhone.
How to create a certificate for cloud build for IOS with Ubuntu and iPhone with free developer account
You cannot build IOS apps in Ubuntu because you need a certificate to develop which can be created from
Either a Xcode
NativeScript Sidekick with a iPhone connected ( Ubuntu OS has this limitation cannot connect iPhones to it )
You can use the link to create app certificates but you need a paid deveoper lisence for it. Click Here to go to page.