Distributing with Titanum and xCode - this kind of archive cannot be signed - ios

I have made an app with Titanium Studio, and now it's time for distributing with PlayStore and AppStore. It's already out on PlayStore, which was the easy part - but apple is very tricky to get through for me.
I've created an iTunes connect app for the archive.
I've archived the app using Distribute -> IOS Appstore.
Now, when I press the validate button in xCode, logging using my apple ID, selecting the 'app' I created on iTunes Connect, it says next to Identity:
"This kind of archive cannot be signed"
And when I click NEXT, I get this error:
"The archive is invalid. You must specify a path to the archive"

Go the the iphone native project inside your project directory, open it with XCode and try publishing from there.

Related

Xcode couldn't find any iOS App Store Provisioning Profiles

I'm using a beta of Xcode 9. I've archived my iOS Project and whenever I try to validate it, I get this error for every one of the targets in my app:
And I'm getting this error for every target like I said. The provisioning profile for each of the targets is an Xcode Managed Profile. What am I doing wrong?
You should try two options:
1) In Developer.Apple.com create a distribution provisioning profile, download it, and select it. Then re-archive your project and validate. This should dismiss the error.
2) If option 1 doesn't work for you, click the Export button beside archive and save your .app file to your Desktop. Then open Application Loader (In Xcode, click Xcode > Open Developer Tool > Application Loader). Enter your credentials, then upload the app using the .app file you generated and saved to your Desktop.
Note: Sometimes Xcode shows fake errors when validating and Application Loader will ignore those and allow you to upload a build successfully.
When Application Loader is finished, you should then be able to see your build in iTunesConnect after about 15-30 minutes.
It happened to me when I wanted to make an enterprise build but I accidentally selected to upload build to App Store.
Mine worked on a simple second attempt with no changes or rebuild.

Not showing any compilation in iTunes Connect for TestFlight

I'm trying to use TestFligiht, to distribute my iOS app on beta testers.
I've created the app, I've choosing the correct bundleID, etc on main configuration in iTunes Connect. But no compilation is showing in "TestFlight" section.
In Xcode I have configured the correct certificate, and I've did Product -> Archive.
But still doesn't appearing any compilation. :(
Any idea for this?
Once you archived your source code.After you have to upload your .IPA file to iTunes. probably you can do via 2 ways.
1.You can use Xcode after completion archive.You can able to see the option called Upload to App store. By doing this you can able to submit your app to iTunes connect.
2.Application Loader - Go to Xcode -> Open Developer tool -> Click Application Loader.
Finally submitted your app, You can check processing of submission your app to Tunes in your Build section.
Note: You will receive mail for each & every actions in Itunes.
You can use fastlane to automatic deploy in iTC.
Easy to setup and it can do many things automatically and faster.
https://fastlane.tools - main page
https://github.com/fastlane/fastlane/tree/master/deliver - thing that u need

My app isn't recognized anymore as the app (Xcode)

I'm building an iPhone app in Xcode. I used to archive the app to submit it to iTunesConnect so I was able to use TestFlight. But now when I archive the app (is does so successfully), the Archive Organizer puts my app at the 'Other Versions' tab instead of the tab of the app itself.
I've checked the Bundle ID, and it's still the same as it says on iTunesConnect. I also use 'Automatically manage signing', which are the correct settings as well.
Where should I check next for what might've gone wrong?

Cannot upload new build file XCode 6.3.2

I have XCode 6.3.2. I have build\t a swift project, compiled it and archived it. I cannot seem to validate it because when I run validate it just hangs/spins forever. When I try to upload app to the app store, it crashes. I thought it might have something to do with the fact that I have a new iPhone 6, so I regenerated all my provisioning profiles. I then manually selected these profiles in my XCode profject and tried again. This time it didn't crash but gave me an error that the upload failed because I am not authorized to perform that operation. I believe this is because my apple ID on itunes connect (where I am authorized) is different from my apple ID I use for the IOS developer program. So I tried exporting the build to an IPA file. Howevere, if I use Application Loader, this IPA file is grayed out regardless of which apple ID I choose.
How do I fix this?
i have this issue too. And this is how I solved it.
Xcode -> Window -> Organizer -> Select Archive -> Export -> Save for iOS App Store Deployment
To Upload:
Open 'Application Loader' and follow the steps
Notes:
-Apple Developer Program ID must be the same as the iTunes Connect account ID
-In Xcode, use the iTunes connect ID to login and upload app

How do you beta test an iphone app?

How can you beta test an iPhone app? I can get it on my own device, and anyone that gives me a device, I can run it on theirs, but is there a way to do a limited release via the app store for beta testing?
Related: Also, see this question on getting your app onto phones without using the App Store.
Creating ad-hoc distribution profiles
The instructions that Apple provides are here, but here is how I created a general provisioning profile that will work with multiple apps, and added a beta tester.
My setup:
Xcode 3.2.1
iPhone SDK 3.1.3
Before you get started, make sure that..
You can run the app on your own iPhone through Xcode.
Step A: Add devices to the Provisioning Portal
Send an email to each beta tester with the following message:
To get my app on onto your iPhone I need some information about your phone. Guess what, there is an app for that!
Click on the below link and install and then run the app.
http://itunes.apple.com/app/ad-hoc-helper/id285691333?mt=8
This app will create an email. Please send it to me.
Collect all the UDIDs from your testers.
Go to the Provisioning Portal.
Go to the section Devices.
Click on the button Add Devices and add the devices previously collected.
Step B: Create a new provisioning profile
Start the Mac OS utility program Keychain Access.
In its main menu, select Keychain Access / Certificate Assistant / Request a Certificate From a Certificate Authority...
The dialog that pops up should aready have your email and name it it.
Select the radio button Saved to disk and Continue.
Save the file to disk.
Go back to the Provisioning Portal.
Go to the section Certificates.
Go to the tab Distribution.
Click the button Request Certificate.
Upload the file you created with Keychain Access: CertificateSigningRequest.certSigningRequest.
Click the button Aprove.
Refresh your browser until the status reads Issued.
Click the Download button and save the file distribution_identify.cer.
Doubleclick the file to add it to the Keychain.
Backup the certificate by selecting its private key and the File / Export Items....
Go back to the Provisioning Portal again.
Go to the section Provisioning.
Go to the tab Distribution.
Click the button New Profile.
Select the radio button Ad hoc.
Enter a profile name, I named mine Evertsson Common Ad Hoc.
Select the app id. I have a common app id to use for multiple apps: Evertsson Common.
Select the devices, in my case my own and my tester's.
Submit.
Refresh the browser until the status field reads Active.
Click the button Download and save the file to disk.
Doubleclick the file to add it to Xcode.
Step C: Build the app for distribution
Open your project in Xcode.
Open the Project Info pane: In Groups & Files select the topmost item and press Cmd+I.
Go to the tab Configuration.
Select the configuration Release.
Click the button Duplicate and name it Distribution.
Close the Project Info pane.
Open the Target Info pane: In Groups & Files expand Targets, select your target and press Cmd+I.
Go to the tab Build.
Select the Configuration named Distribution.
Find the section Code Signing.
Set the value of Code Signing Identity / Any iPhone OS Device to iPhone Distribution.
Close the Target Info pane.
In the main window select the Active Configuration to Distribution.
Create a new file from the file template Code Signing / Entitlements.
Name it Entitlements.plist.
In this file, uncheck the checkbox get-task-allow.
Bring up the Target Info pane, and find the section Code Signing again.
After Code Signing Entitlements enter the file name Entitlements.plist.
Save, clean, and build the project.
In Groups & Files find the folder MyApp / Products and expand it.
Right click the app and select Reveal in Finder.
Zip the .app file and the .mobileprovision file and send the archive to your tester.
Here is my app. To install it onto your phone:
Unzip the archive file.
Open iTunes.
Drag both files into iTunes and drop them on the Library group.
Sync your phone to install the app.
Done! Phew. This worked for me. So far I've only added one tester.
In year 2011, there's a new service out called "Test Flight", and it addresses this issue directly.
Apple has since bought TestFlight in 2014 and has integrated it into iTunes Connect and App Store Connect.
Note that there is a distinction between traditional "beta testing" which is done by professional QA engineers, and "public beta testing" which is releasing your product to the public before it's ready : )
You can do "beta testing" -- loading to specific iPhones/iPods your testers will be using. You can't do "public beta testing" -- pre-releasing to the public.
In 2014 along with iOS 8 and XCode 6 apple introduced Beta Testing of iOS App using iTunes Connect.
You can upload your build to iTunes connect and invite testers using their mail id's. You can invite up to 2000 external testers using just their email address. And they can install the beta app through TestFlight
Diawi Alternatives
Since diawi.com have added some limitations for free accounds.
Next best available and easy to use alternative is
Microsoft
https://appcenter.ms
Google
https://firebase.google.com/docs/app-distribution/ios/distribute-console
Others
https://hockeyapp.net/
http://buildtry.com
Happy build sharing!
There's a relatively new service called HockeyApp, which seems to rival TestFlight, however they claim to give you access to unlimited users, but it does cost some $$ unlike TestFlight which has now been integrated directly into iTunes Connect.
Using testflight :
1) create the ipa file by development certificate
2) upload the ipa file on testflight
3) Now, to identify the device to be tested on , add the device id on apple account and refresh your development certificate. Download the updated certificate and upload it on testflight website. Check the device id you are getting.
4) Now email the ipa file to the testers.
5) While downloading the ipa file, if the testers are not getting any warnings, this means the device token + provisioning profile has been verified. So, the testers can now download the ipa file on device and do the testing job...
With iOS 8, Xcode 6, iTunes Connect and TestFlight you don't need UDIDs and Ad Hocs anymore. You will just need an Apple ID from your beta tester. Right now you can only beta test your app with 25 internal testers, but soon 1000 external testers will be available too. This blog post shows you how to setup a beta test with internal testers.
(As the official guide is still missing in this thread..)
TestFlight, acquired by Apple and now (iOS8+) available for beta testing makes it easy to hand your app to beta testers without the need to collect device UUIDs beforehand (you only need email addresses of your testers). An extensive guide explaining all necessary steps may be found in the iTunes Connect Developer Guide.

Resources