Titanium - Upload iOS App on Apple App store - ios

I have developed an iOS app in Titanium Studio (SDK 2.1.3.GA). Now, I want to publish on the Apple App store.
I tried, but it gave me the error add armv6. I added it in the file info.plist, but still I am getting that error.
Could any one give me step by step guide to upload an iOS app from Titanium to the Apple App store?
Also, how can I set the app icon for both iPhone and iPad in Titanium?

Yes I had the same problem I did the following step after banging my head for 5 hours.
Start the project in simulator it will create the build folder within your project/
Go to the build folder->iphone, find the xcode project.
Open up this project in xcode. Select the main project and goto info tab.
Set the minimum ios development target to 5.0 (you can also select 4.3 but don't select 4)
Go to the build Settings tab. Remove all the architectures.
Now add two targets one by one. 1. armv6 2. armv7
Repeat this step in Valid architectures in build settings and select appropriate distribution provisioning profile.
Now clean the project. build archive and enjoy :)

Here is the official doc of Titanium, very clear for the distribution steps.
Distribution iOS apps

Related

I have problem to distribute my app to App Store, "Code Signing "Vuforia.framework" failed."

I need help. I make an AR app for iOS using Unity 2019.2.0f1 and Vuforia 8.3.9. I don't have a problem when build or archive it. But when I want to distribute it failed with error "code signing "Vuforia.framework" failed.".
For a few days I try to google this issue and try few workarounds like try to edit build version Vuforia.framework info.plist and move the Vuforia.framework from the 'Link Binary With Libraries into 'Copy Bundle Resources' and nothing work.
It works fine with Xcode 9 when I change the Vuforia.framework info.plist build version but not working with the Xcode 10.2.1. I can use xcode 9 but we cannot publish the app anymore with Xcode below 10.1 anymore. Thanks in advance.

Archive distribution problem for watch extension app

We've been developing and testing a Watchkit Extension app (iOS 12.1 and WatchOS 5.1) for the past few months and successfully testing it on a simulator and local, connected devices (iPhoneX + Watch 4) using xCode 10.1.
This past week we built an archive for posting to App Store Connect. We got stuck in the Archive Organizer after archiving for release. The "Validate Content" button was disabled, the Version is blank, the Identifier is blank, and the Type is "Generic Xcode Archive". Unfortunately, all we can do is export the .app files from the Archive Organizer; we can't push the archive to App Store Connect.
We made sure the build scheme was set to Release and we archived to a Generic iOS and WatchOS device. We also set Skip Install for the three targets (iOS app, Watch app, Watch extension) to No as we assumed none of those are static libraries. We even tried every permutation of Skip Install settings. We looked at the issue in the following link and we have no Header steps in the Build Phases of any targets:
https://developer.apple.com/library/archive/technotes/tn2215/_index.html#//apple_ref/doc/uid/DTS40011221-CH1-PROJ
We have two frameworks we included in the project using carthage. We thought maybe these were causing issues, but we rolled back to a branch before we added them and still have the same problem.
We made sure the build in the Scheme is set to a single target and cleared out the Derived Data folder. Still no dice.
I’m not 100% sure from your question, but are you trying to push an archive of the watch app to the App Store?
If so, that’s not how you submit the app. The Watch app is embedded in the “regular” iOS app, and to distribute it you need to archive and submit that app as usual.
If I’ve misunderstood, feel free to ignore this!
I had the exact same problem. When I changed Skip install on the watch app and watch app extension to YES, it suddenly worked. No idea why.

Build Cordova project for iOS

I am trying to build my Cordova project for an iOS. I have borrowed a mac and an iphone in order to do this; meaning I am very new to everything apple-related.
From what I understand: in order to build anything for iOS, I need some sort of apple developer-account. (I believe the mac I am using has one, not quite sure.)
When I try to run the command: cordova run ios I get the following error:
Check dependencies
Code Signing Error: No profiles for 'io.cordova.hellocordova' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'io.cordova.hellocordova'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'
I don't know what any of the above means, or how to solve it. I believe I have to use xcode to somehow automatically created a build.json file (not sure), but I don't know how to open my cordova project in xcode.
I have been using Sublime to edit my cordova project files, and the terminal to use the cordova cli. I am running xcode 9.2
From what I understand: in order to build anything for iOS, I need some sort of apple developer-account. (I believe the mac I am using has one, not quite sure.)
If that is true, then you can try the following:
cordova build ios
open platforms/ios/<my-app-name>.xcworkspace
This will open the app in Xcode. Click on the icon (left hand side, above the directory structure view) "General" and check "Automatically manage signing". Try to run the app in Xcode.
Check this website for reference (and a picture of where to click in Xcode): http://cordova.apache.org/docs/en/7.x/guide/platforms/ios/index.html
As mentioned by #Dev_Tandel, you need to have a apple dev acct to run your app in a device. Refer link to get more info: https://developer.apple.com/support/certificates/

Unable to archive updated iOS PhoneGap app

I recently upgraded my PhoneGap app from 2.4.0 to 3.4.0. To do this I had to create a new project using NodeJS, then copy all the www files and resources into the new project. I added a new ios platform. It compiles and runs in xcode 5.1. The simulator works too.
Now I want to submit this to the app store as an update to my previous version. The problem is the "Product > Archive" menu in xcode is disabled.
Has anybody who can give me some direction been through this process? Or direct me to where I can get some help?
======
UPDATE: I found that I the target device must be set to iOS Device in order to archive a project. Now Archive is enabled. I run archive, but no archive is listed in the Organizer.
Still looking for help.
Make sure you connect your device first. You cannot archive your project without a device.
This turns out to be a simple oddity with Xcode. If you have a simulator selected you cannot archive. Choose iOS Device and then you can archive, with or without an actual physical device connected.

Old iOS app doesn't work on xcode 5

I have an xcode project created on February 2012.
I am trying to run it in emulator on Xcode 5 but I got this error: "Choose a destination with a supported architecture in order to run on this device".
I also tried to change the development release but it doesn't work. Anyway if I click on Product -> Build it says: build Succeeded.
In the emulator I need a code signing ? Because in the project there is a folder cert with various certificate.
Thanks.
Go to the project in the Navigator on the left.
Then choose Build Settings and use the search box to search for Architectures.
This'll show you the build architectures setup for the app.
See if you have references to armv6 in there. I'm pretty sure they removed support for below armv7 in Xcode 5.x.

Resources