publish an app to cydia from appcelarator? - iphone

i'm trying to find a way to publish an app to cydia other than app store from titanium appcelarator so i can test the app before registration for the developer program.
are there any clear steps to build and publish the app to cydia and to the app store?

If you go into the build/iphone folder within your project you'll find the XCode project for the app generated by Appcelerator. You can open this into XCode and build the app in the same way you would any app for distribution to cydia.
If you are just after beta testing however, check out http://www.testflightapp.com/ it allows you to distribute and manage beta testing over the air and is all legit.

Related

flutter 2 ,can build an iPhone app (ios) without an Apple device?

I heard that (flutter 2) after the new update, you can build an iPhone app (ios) without an Apple device. Is this correct? If this is true, how can I do that?
You can write an iPhone-compatible app without Apple device but you will need a Mac to test, build and push it to the App Store. Nothing changed about that with Flutter 2
No, you can't build without a MacOS.
However, you can use an external tool like Appollo (https://github.com/Appollo-CLI/Appollo), a Python CLI that lets you connect to a MacOS machine to test your app and configure Xcode.
You can install Appollo like this:
pip install appollo
Follow the doc here (https://appollo.readthedocs.io/en/master/tutorial/index.html) to link your Apple developper account with Appollo and more.

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.

iTunes sync apps failed to install using Phonegap

I have created an .ipa file using Phonegap. For testing I uploaded the developer certificates and device UDID. Its working fine. Now, I want to distribute this apps using Application Loader. For this I uploaded the apple distributor certificate and distribute mobile provision file on the phonegap cloud and generated the .ipa file. When I tried this apps with iPhone 6.3.1, its giving me error: iTunes sync apps failed to install
Please help me to get out of this problem..
Are you trying to submit the app (you mentioned Application Loader which is used for submitting apps) or install it on devices for testing? I am assuming you are trying to install it on devices for testing.
If the app fails to install, check for one of these
The mobileprovision you are using has your device's UDID. Test apps can only be installed on devices whose UDID is included in the mobileprovision (unless you are distributing for enterprises)
The mobileprovision is installed on your device (try using a service like Testflight - you'll know whether your device has the necessary setup)

Installing a TestFlight app on iOS iPhone Simulator - Registration Failed

I'm attempting to install a TestFlight app on XCode's iOS simulator using the iPhone simulator. The link to the TestFlight app takes me to a page that says "This device will need to be registered before it can install betas."
There is a friendly Register button. When I click the register button, it says "Registering Device" and then it takes me to the iPhone's General settings page. If I navigate back to the TestFlight page, it says "Registration Failed."
Does anyone know of a way to install a TestFlight app on the iPhone Simulator? Thanks.
The app you are trying to install is an app compiled for arm architecture, which is different from the simulator (the simulator is not an emulator). The simulator only runs x86 apps compiled for it. You will need to contact the developer of the application to send you the x86 binaries, and add them directly to the application directory of the iOS simulator. The directory (on Xcode 4.5 beta 4) is /Applications/Xcode45-DP4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/Applications. Note that the simulator's sdk version has to match the version of iOS you are trying to use the simulator with.
If you need test your Release application
you can run your on a release build go to
->Product->Scheme -> Edit scheme-> in Run change debug to Release
in this you can check your release build in simulator
If I had to guess, I would presume that since the Simulator is not a valid device, it is not able to install the TestFlight Profiles onto the device, and therefore failing registration process (when you are directed to the iPhone's Settings, it tries to install a profile on your device).
May I ask why you are trying to install the app via the iPhone Simulator? If the app's code exists on GitHub, you can use the GitHub for Mac app to checkout the code, and XCode to compile the project and build it to the iOS Simulator. There should not really be any reason to have to install TestFlight on the iOS Simulator.

How can I create a Installer package for iPhone?

How can I create a Installer package for iPhone ?
You should expose your question in a detailed and better way. Are you using xcode? It has everything you need to build your app for the iPhone.
You just code the app, and hit the button "build" or "build and run" and the .app file is automatically generated.
There is no such thing as an "installer package" for iPhone. As a developer, you create an app bundle, containing the executable and all resources, and just zip that and upload it to the App Store via iTunes Connect.
Detailed instructions for uploading an app to the App Store are available in the iPhone program portal.
Installation of an app on the device is handled by the iPhone OS and the App Store or iTunes (or by Xcode during development).