Ionic - build iOS package file for testing on device - ios

Currently I am trying to build a new app with Ionic 3. I am looking for steps to build a file for installation, which has the same functionality with APK file for android devices. I don't know whether it should be an IPA file or other file types, as I have never used an iPhone or iPad myself before. Right now, I have a free developer account registered with Apple ID.
What I can find on the web seems only allow developers to build apps for testing on real devices which the developers have access to. To be more specific, I always see people say that users should plug in the device via USB and pick the target device in XCode under the "Scheme" drop down selector. I tried to follow the steps provided by others, but it always ended up with an error in XCode, either it is related to code signing error, or device not registered in my developer account.
What if I do not own any iOS devices? What I have is only a single MacBook for coding. I would like to prepare a file and send it to my friends, and let them install my app with that file on their iOS devices.
I am using XCode 9 and Ionic 3.

In iOS you can no do what that, If you want to send your app to your friends for testing you have to build the app with ionic cordova build ios and then open the project in Xcode and build/upload your project to your Apple developer account.
After that, you have to use Test Flight to share your app for testing.

Related

Building Flutter iOS binary without physical access to a Mac

I have an iPhone
I don't have a physical mac. I'm using the new AWS mac instances to use XCode / build the binaries (Completely kosher and allowed by Apple).
I can't connect the phone and the AWS instance since they're not physically in the same place.
If I can build an IPA of the app, I should be able to use Firebase distribution to distribute the app to my phone (I think). But when I try to build the app using flutter build ios I get errors like: 'There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it'
What should I do? Can I virtually register my device somehow by putting its UUID somewhere? Can I sign up for a developer account and use TestFlight to distribute the app? Will that also require the device to be physically plugged in?
I can answer for the TestFlight part. You can distribute the app via TestFlight, and the device does not have to be plugged in. So that is very doable.
Using TestFlight is simple and pretty straight forward with many guides, official ones and also on youtube. There are several troubleshooting tips here on SO as well. The drawback as I see it is that it takes time before your pushed build is readily available on TestFlight. So it won't be a good way to iterate code changes fast.

Is it possible to deploy xamarin.forms ios to iphone without apple developer accaunt?

I want to test my xamarin.forms application on my Iphone 11 pro
witout Apple developer accaunt
I try this but it nor work
create swift app with xcode and use same bundle identifier from my xamarin.forms.ios app but this no work after swift app deploy ,i cant run my xamarin application
that thrown an erorr he0004 resone image not found
Apple has finally introduced a new feature in Xcode 7 that allows you to deploy and run any number of apps on any of your devices, simply by logging in with your Apple ID. You will no longer need a paid Program membership to deploy apps on your own device.
You could refer to this.
You can do via 'Free provisioning for Xamarin.iOS apps', which will allow single application for single device with some limitations. You can find details here.

Unofficial app store to install ipa with flutter

I am new to flutter and want to know how to implement a little app store for iOS with flutter.
I am working flutter but no idea to install app without app store.
What I think is that you can have initially you can have the debug build for the iOS directly run in the debug mode which will only work on that device. And if you want to have it for the many people then you can use the Visual studio Appcenter where you want to have the apple certificate to be installed and you need to have a udid of all apple device you want the application to run.
Check out this link : https://medium.com/#arup.nayak/hosting-enterprise-ios-apps-with-appcenter-without-mdm-ca2f0b234686

Can I test my Flutter application in a real apple device without apple developer account, and if so how do I do it?

I've read the following SO Question and Article. The first SO Question says I need to have an apple developer account to test my application on a real IOS device, however I do not think the 100$ investment to get an apple developer account is worth it. So the Article states that I can deploy it using xcode but the article is targetted for Ionic users. I however, am not an Ionic developer but I am a Flutter developer.
What I want to know is if the Article is feasible for Flutter, and is the minimum iOS version 9.0. Any help would be appreciated thank you!
You can also test on real device without apple paid developer program(you need to add free iclocud id in xcode).
do 'flutter run' on your mac with iphone connected and app will work on real device (if not working run'flutter doctor' and see is your iphone showing i connected devices)
usually what i do is first run on simulator with flutter run which builds ios files then i goto flutter-project-directory/ios/ open any file by double click it will show open ios module in xcode click it. now you can run or upload app to testflight/appstore like we do with native IOS app.
Flutter is supported down to iOS 8.0. I think you can test on a Simulator without an account at all, and you just need an Apple account and an iOS device to test on a real device and build the app. You pay the 100$/year to upload on the App Store.

How do I install the salesforce1 app on my iPad simulator

I'm trying to automate some functionalities of the salesfocre1 app, using Appium.
I have the application on my iPad (real device), but don't know how to connect it with my appium code.
I have the iPad simulator on my Mac but I'm not able to find any installer package files of the Salesforce1 app, to install it on the simulator.
I am not the developer of the above application, so I do not have access to the source code and bundle id, to run it on my XCODE and get it on the simulator.
I've previously done automation on Android using real devices/emulators but it was an easy case where we downloaded the app from play store and were able to test it on the emulator/real device, just wondering how to do the same on iOS. Please help, Thanks in advance.
It simply does not work that easy for iOS.
Since you want to run your Appium tests on real device, you need to build application (.IPA file) from source code or resign the one you have with your Apple developer account.
Then you need to build WebDriverAgent with same provision profile - so that Appium can interact with your application. Only with steps I described it will work.
So in your case:
1. No way to get source code - ask smb to provide developer build, release one in any case may not work with Appium.
2. No need to search - you won't find any installer.
3. No way to get Apple developer account - you have to use 3rd party cloud like saucelabs or browserstack, they will resign IPA file with theirs profiles and you will be able to run tests in cloud

Resources