Cloud Build IOS in linux NativeScript - ios

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.

Related

Running flutter app in real iOS device [Windows]

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.

Can I make an app on just 2 IOS devices with flutter on windows?

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.

How to publish app to app store flutter on windows 10

I made an application using flutter, I own a windows 10 pc. I can't get a mac ( or a mac in cloud ), so is there a way to just build it and publish without having a mac?
To build app for iOS you need Mac. Build tools for iOS apps exists only for macOS. You can try to use Codemagic (it has a free plan) or a similar Cloud CI/CD service for build and publish your app to App Store.

iOS: Mac Catalyst, Testing iOS app on Other Macs

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.

Ionic pro - Build AND Publish to Apple Store

I have a Apple Developer account, BUT I don't have a Mac, and I need to do the following with my Ionic project:
Package a native Ionic iOS app AND Publish it to the Apple Store.
I've read about the limitations to compiling and publishing an iOS app in the Apple Store without a Mac, but I am in doubt about the Ionic pro.
There says that Ionic pro can 'Package native app builds in the cloud', but does this mean that I can publish the generated cloud Package from Ionic Pro directly to the Apple Store?
Or will I still need a Mac, or macincloud.com service to publish to Apple Store?
UPDATE (March 31, 2020): Ionic Appflow (previously Ionic Pro) announced 1-click publish to App Stores feature: https://ionicframework.com/blog/announcing-1-click-publish-to-app-stores-from-ionic-appflow/
My experience is that Ionic Pro can do the most of the job but you still need Mac or Mac in cloud at these steps:
create .p12 Certification file
upload the .ipa file to the App Store
After you created your Certification file, You can upload it to Ionic Pro -> Settings -> Certificates. You can build .ipa files with proper credentials in cloud. But unfortunately I didn't found another way to upload the .ipa file to App Store, only with Application Loader from Mac.
So I decided to use a pay-as-you-go Mac in cloud account (you pay only for minutes you are logged in) since the time I spend on Mac is very limited (few minutes per App publication).
Anyway, this is a workaround, and I hope that some day there will be an Application Loader service inside the Ionic Pro account.

Resources