Open Ionic ios app and validate - ionic-framework

I'm new to ionic and in a couple of weeks I finish my test project. I can test in the emulator but I would like to run it on a physical computer. I could open the way find within xcode. I would also like to know how to validate the application to upload and pass the review process. I am new ionic.
Thanks!

you have to do to open your application in Xcode is go to your root project folder for example:
your_proyect/platform/ios
And there find the file with the name of your application .xcodeproj.
Remember that every change you make you run in your console ionic build ios to update the project. To validate your application you must go to the Product tab, then and there loaded Archive your application for errors and you can, validate, generate IPA or upload your iTunes connect.
Check this ionic forum

Related

How to build an iOS AdHoc app with flutter

I have an flutter app for ios and can build it for the app store using:
flutter build ios --release
But how can I build an Ad-Hoc app for ios?
Pre-requisite
Apple Developer Program membership ($99/year)
Distribution certificate added to your machine
In the Xcode project (Signing & Capabilities tab), select your team/ developer account which has the Apple Developer program membership.
1. Create an Archive (.xcarchive)
Technically you do not build an Ad Hoc app, you build a debug/release/profile app, which you then distribute via a distribution method, one option is Ad Hoc.
Using command line: You can run flutter build ipa to build the xcarchive. Then it should show a URL for your Runner.xcarchive at the output (double click that link), or
Using Xcode: Open the Xcode project, and in the menu bar, click Product > Archive. The organizer window will open once the archive is complete.
2. Create an .ipa
Now the Organizer window should be open. Press the Distribute App button: you should see multiple options. You can share the .ipa file with users, and they can install it onto their iPhone:
It's worth noting you can also create an .ipa using xcodebuild, but when you're first learning, it's nicer to use Xcode.
3. Install the .ipa on a device.
I wrote an answer about that: https://stackoverflow.com/a/68968301/7365866
Reminder
Just remember to do this:
Action Required: You must set a build name and number in the pubspec.yaml file
version field before submitting to the App Store.
You can use Code Magic's CLI tool to achieve that.
On their CLI (locally installed or on your CI server), there is an option to add
--type IOS_APP_ADHOC
See at the end of their signing documentation section for Specifying code signing configuration
You can use --export-method in the flutter build command, example:
flutter build ipa --release --export-method=ad-hoc
For Someone out there, who have trouble building ios application since they don't have an apple developer account, here's a method that i do and i use.
1st if you are an ios user you can connect your ios device into your mac and do a flutter run --release. you can also do it with just the simulator too and it does works the same.
Now, the ios app is created, using your 7 days free trial developers provisioning profile, what we need is to use some programs likie imazing,apple configurator or itunes, to get the ipa from inside the app.
Now you have build the ios app with a release version, and you can redistribute it with just a 7 days free trial version of yours.

Nativescript - Publish to IOS

So as everyone knows, publish to the appstore is a nightmare, at this precise moment i´m trying to publish my app but i keep getting erros regardless of using nativescript sidekick or using aplication loader, also i have done EVERY step that is said here... so:
When using nativescript sidekick:
I hit the publish button, select my certificate and provisioning
profile.
Insert my appstore credentials
The error is: Errors is: The request can't receive any response
i Went here but the problem persists!.
When uploading the ipa file in application loader:
The error simply says(always!!!) that my provisioning profile is not for that bundle etc etc.
What can i do here? what is the problem?
Thanks for your time, regards
As mentioned on the official {NS} website to create your ipa file try running:
tns build ios --release --forDevice
This will create an ipa file in this directory: /platforms/ios/build/device
Then try running this command to publish the App:
tns publish ios your-apple-id your-password --ipa path/to/ipa

Ionic 3 compile IPA without mac

How do I generate IPA file for my ionic app without using Mac? Is it even possible?
Currently, I just need the generated IPA file; I don't need to deploy the app to the App Store.
I've looked around and these are what I got:
Use Ionic package - unfortunately, all links to Ionic package that I got are all dead. So can I assume this service is dead?
Use https://build.phonegap.com/ . I know Ionic is based on Phonegap, but does this service actually supports compiling Ionic codes without needing me to modify anything? And even if it can, I read that it needs some sort of certificates to compile to IPA. Is there any way I can get the certificate without a Mac?
Use MacInCloud.com. If the options above aren't available, I plan to purchase the pay-as-you-go plan. My question is, do this thing allows me to compile to IPA without me needing any other stuff? Like certificates or whatsoever.
I’m using Ionic Pro (https://ionicframework.com/appflow) to build an IPA and diawi.com to send the app to my clients for testing. To publish app in Apple App Store, I’m using MacInCloud.

Can I download my app code from Ionic Platform?

I publish my app to ionic platform. Then I removed code by accident on my mac. Can I download my code from platform?
Yes you can.
If you need to recover your app files, enter your App ID below and
click recover. It will download a ZIP containing your latest app
upload.
Login to Ionic Platform.
Then go to Your Ionic Data (Recover your App), enter your app ID and download your latest app upload.

Error when trying to launchIOSDevice using NetBeans Gluon Plugin / Apple Free Provisioning

I've successfully run a simple Gluon application using NetBeans 8.1, Gluon plugin, javafxports 1.0.7, Mac OS X 10.11.1, Xcode 7 using Gluon Mobile - Single View Project. When I try to run on my connected iPhone 6 using launch | launchIOSDevice, however, I'm having errors with the provisioning. Error message is Execution failed for task ':createIpa'.
No signing identity found matching '/(?i)iPhone Developer|iOS Development/'
I setup an identically named project on Xcode and ran it on my connected device. I verified that I have Provisioning Profiles and Signing Identities defined for my project (Xcode | Preferences | Accounts). I verified that the Xcode project Bundle identifier is the same as the ios CFBundleIdentifier as defined in the Default-info.pllist file. I tried defining ios properties iosProvisioninProfile and iosSignIdentity in the build.gradle file. This gave different error messages, but the build still failed.
Has anyone successfully run a NetBeans/Gluon-Mobile app using Apple's Free Provisioning on a connected IOS device? I'm sure I'm doing something wrong, but need help figuring it out!
Thanks in advance!
I didn't try it with a free provisioning profile. I did it with an apple developer account, but here are the steps I've taken maybe it can help you:
Get accepted as an apple developer (not your case)
Go to XCode, click code->preferences
Go to the accounts tab
click the plus button to add an account. Add your account.
Click file->new project->single view application
Put whatever product name and organization identifier (it doesn't matter)
Choose whatever place you want to store the project
For any issue that arises like "no non-expired provisioning profiles were found", click fix issue.
Connect ios device and run app.
start gluon ios gradle task (for instance 'launchIOSDevice')
It will take a lot of time the first time. In the end it may give you a java.lang.OutOfMemoryError. Put in your gradle JVM settings: '-Xmx2000M'.
Start ios gradle task again.
You can also check: http://docs.robovm.com/getting-started/provisioning.html#limitations for free provisioning advise, but you probably already have.
You can use a free provisioning account. You just need to add a couple of lines to the build.gradle file in the iOS settings:
iosProvisioningProfile = 'xxxx'
iosSignIdentity = 'yyyy'
The ProvisioningProfile is the file name of the provisioning provisioning profile you created in xCode. Just right click, and choose "Show in Finder". Just copy the file name (you don't need to copy the "mobileprovision" extension.
The SignIdentity (yyyy) you can get with by opening a terminal and entering the following command:
security find-identity -v -p code signing
Look for the line that contains "iPhone Developer: " line and copy everything in the quotes
You need a apple developer account (the free variant works fine). Then you create a xCode project that matches your Gluon project so that:
Product Name in your xCode project is the same as your Gluon project's Project Name
and...
Organization Identifier is the same as as your Gluon project's Package Name
Then it should work fine. I have made this in Eclipse and later in Netbeans - and it have worked in both places.
Edit: By using this way however you have resign your app (around every 24h) - which means opening the project (that you created before that is being similar to your Gluon project) - letting xCode revalidate the project with your developer id. If you do not do this you will experience that your app doesn't open, (but it will be shown/exist among other opened apps - when you double tap the home button on iPhone).