Is it possible to create .ipa file local with phonegap? - ios

I am working on a automatic process to build and sign my app local for android and ios. I already created successfully the signed .apk file for android. Now I am trying to create the .ipa file locally, without using Adobe PhoneGap Build.
All the necessary key-files are available. The online build over Adobe PhoneGap Build is working for both plattforms andorid/ios.
Note:- My powershell/cmd script is written and performed on windows.

you need a mac os to deploy the .ipa file locally.
create the phonegap project as you have done in the windows machine and then build the app using
phonegap build ios
Then navigate to the folder platform > ios , you will find the xcodeproj, open it in the xcode and test it in the ios devices if necessary else go to the product tab in the xcode and choose the option archive then follow the steps to generate the .ipa file, provided all the necessary certificates,key-files have been installed and updated.
Its not possible to create .ipa file locally without a mac os.

Related

Flutter build IOS on windows

I'm working on a flutter project and I want to build the IPA of my code using windows. I don't want to test the application in my windows I want just to build the IPA. Is it possible to do it. Any help is highly appreciated.
The only way to generate an IPA from you windows machine is by using a CI/CD service like Codemagic using the steps described in this article:
link your repository (Github, BitBucket , or Gitlab).
from settings > build for platforms > IOS
change the .app file you received to .zip and extract it.
You will find a file called Runner.app, put in a folder and compress it back.
change the extension from .zip to .ipa.
And here's your first IOS build without a Mac device.
You cannot build a flutter iOS app directly from Windows. What you can do is use external tools to do it. One of these tools is Appollo (https://github.com/Appollo-CLI/Appollo). It's a python CLI tool that let you access remote MacOS build machines.
Here is a demo of how to create the IPA on windows : https://www.youtube.com/watch?v=ZX3DAMwlEfM&t=11s
It's pretty easy to use :
First install it
pip install appollo
Then setup your Apple Developer account with Appollo : https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html
Finally you can build the app and retrieve the IPA
appollo build start --build-type ad-hoc
appollo build ipa
And that's it.

How to get the ipa file for Xamarin ios App if your using Windows OS to connect to Mac OS?

Hi how to get the ipa file for Xamarin ios App if your using Windows os to connect to Mac os?
I'm not connecting my Mac to device instead I'm using Iphone simulator to deploy my app But I do have a Apple developer account with certficates of my app.
So what and all is required for getting a ipa file and how to do it?Actually I build the app in Ad-hoc mode and it was successful but there was no ipa file generated in folder.Does the ipa file get generated in .ipa extension or some other extension?
My Main Question is. Is it possible to generate ipa file with ios simulator instead of Ios device connected to MAC?
The main answer is yes. I do it this way:
startup project IOS - connect to Mac host
set Release configuration, Device iPhone (you dont have to connect one to mac)
insure in project configuration in iOS IPA Options you have checked Build iTunes Package Archive (leave Include iTunesArtwork UNchecked)
insure your bundle signing settings are all set ok: https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/#provisioningprovisioningindexmd
Build and grab your IPA file from the hidden generated release folder

How to build .ipa and install it on iphone form xcode?

I have installed MacOS 10.12 Using VMware and successfully implemented Ionic 2 app for IOS. I have also generated an .ipa file using the following method:
Clean your project.
Build your project.
Go to products menu -> select build for -> select Profiling.
In project navigator, find your .app product.
Right click on it and click show in finder.
There you will find folder named "Release-iphoneos", in
this folder you will find your .app extension file.
Create a
folder named "Payload", copy that .app file in this folder.
Archive your folder.
After archive, rename your folder to name of
your app and change its extension from ".zip" to ".ipa"
Your ipa is ready for sharing.
From the above technique I got my .ipa file. Then, to install this app on iPhone i am using www.diawi.com . Now the problem is, when i am installing app from my safari browser on iphone download issue is showing. My internet connection is all good. I can also see the installation process on my iphone but app is not installing.
Note: I don't have Apple developer program. I need to build and install this app for testing in different iPhones.
Please suggest any other way to install my app on iPhone or another technique to build and share the app. My configuration is as follows:
Mac OS - 10.12 Sierra(VM-ware machine), Xcode- 8.3.3.
I tried so many articles but not sure where am i getting wrong. please suggest.
For that you will need to be enrolled with the Apple developer program (99$ a year). There is no other way.
Or you need to install it manually by plugging the iPhone in the computer and running the code in XCode (keep in mind that the default certificate will let your app run for 7 days then it will get expired)
to make .ipa file Archive your project and export your binary as developent or deployment.
You can install your .ipa file manually.Connect your iPhone with your computer and drag .ipa file in your iPhone application folder.

How to get an iOS app build for appium testing?

I wanted to setup iOS testing on simulator on my MacBook-pro. Im using appium 1.6 and Xcode 8 and iOS 10.1 as simulator OS. I ran my appium server and set the desired capabilities and used an .ipa from the app store and it crashes on launch while doing an inspect on appium. Is it happening because i don't have a app signed for development? what are the requirements for the app to be tested for using? Do i need signed apps to be used for testing on simulator too ?
You can create a .app file useing the belowing instruction:
1- Go to:
xcode > File > New Project > (select ios at top bar) select Tabbed Application > click Next > give project name and select swift as language and complete process.
2- Open the project and run it. After running the app in the simulator, you will find the project .app file in the product folder (expand your project in xcode > product.
you can use this .app file for your appium test.
3- You can also get a lot of free .xcode project on the web. download this project, open the .xcodeproj or .xcworkspace file in xcode and run it. you will find the .app file in the product folder
if you want to run your ios app in the simulator, you need a .app file, not .ipa file. The .ipa file runs on the device. Try to generate a .app file for simulator.
Yes, you need apps to be signed with a developer provisiioning profile. You can use the iresign to do it. you should input your ipa file developer provisioning file(contact your dev) and click resign. It will output the resigned app
The same dev provisioning file, dev certificate should be installed in your mac from where you run your scripts.
Note: you cannot run .ipa on simulators. you need .app version of the app , for which you need to contact the developer too

rebuild ipa file using appcelerator

I'm using Titanium Appcelerator to build an iPad app. I have my iPad provisioned and everything, however when I try to run the app on "iOS Device" from the Appcelerator menu it opens up iTunes and tries to install / sync the app on the iPad. The problem with this is that the computer I"m using to develop is not the main computer for the iPad, so I don't want it to sync. I'm using the iphone configuration utility, and just going through the titanium workspace until I find the .app or .ipa. I am using TestFlight to beta test, and import the ipa into that and it sends it off to a few devices. The problem is, I updated the app in appcelerator, but the .ipa (or .app) file never updated. Is there a way to do a fresh build so it will regenerate the .ipa file? Also is there a way to run the app from the computer (while it's plugged in) so you can still use the log and info terminal using titanium?
Thanks!
In version 1.7.x of Titanium, The .ipa of your app will be in the build/iphone/build/Debug-iphoneos directory of your Titanium project - that is what you can (and are) uploading to TestFlight. To force a rebuild, just delete everything in the build/iphone directory (including subdirectories) and do a 'Run on Device' build it again. This will give you a fresh build and fresh ipa.
If you are using the new Titanium Studio and have paid to be a Indie developer, it should have the ability run your application on your device, but I haven't tested it.
Before Titanium Studio, I rolled my own tracer that I can turn on and off. Details are here.

Resources