Xcode Application Loader - xcode4

I am a novice when it comes to apps but i have managed to write one, test it, debug it, install it onto my Iphone. I'm now on the final step upload it through application loader...
my problem is i can't get application loader to install. i have downloaded it, run the .dmg, this creates a new device on my system with the file applicationloader.pkg. I run this and it runs me through the installation, i have entered my admin authority, it says installation complete.
But it doesn't have the program anywhere. i have looked in Applications, searched in the finder and i can not locate where the application loader is.
1 - is there a reason why it wouldn't be installing properly?
2 - is there a way to download a previous version (current is 2.7) to try that
3 - is there a way of uploading without the application loader?

If you have the latest Xcode installed on your machine, go to the Xcode menu item/Developer Tools and open the Application Loader. If you are working with Xcode there is no need to use the application loader though. Every step you need to bring your app into iTunes connect can be done via Xcode. The steps are Archive (for Release), select the archive - validate it (you mast have prepared your app in iTunes Connect (must be in the status ready for upload) and the submit it to the store.

Related

Install claimed to have succeeded, but application could not be found on device Xcode 11

Just after switching from Xcode 10 to 11, I am unable to install my app on any device
The error at launch time after installation succeeded says :
Install claimed to have succeeded, but application could not be found on device.
Details says :
Could not locate installed application
Domain: com.apple.platform.iphoneos
Code: -1
Recovery Suggestion: Install claimed to have succeeded, but application could not be found on device. bundleId = myBundleId
--
Installed application was not present in database of installed apps after multiple lookup attempts.
Domain: com.apple.platform.iphoneos
Code: -1
However everything works fine on a simulator.
I tried to delete derived data, clean project, delete the app ..
Very strange : After submitting the app to testlfight I can download it and it works.
But when I build a new app to Xcode it launch the app just downloaded from tesflight and not the version pushed via Xcode ..
For me, it's a problem with ipatool.
Here's a way to find out details why it failed to create a proper iPhone App (.ipa) file from the build output/Xcode archive:
Go to Product > Archive, then open Window > Organizer > Distribute App.
It should show you "IPA processing failed" with a big red error symbol.
Now, open the logs and search along these lines:
timestamp Assertion failed: Expected n archs in otool output:
and
timestamp /Path/to/ Xcode-beta.app/Contents/Developer/usr/bin/ipatool exited with 1
While this can't be the final solution, try removing all problematic libraries mentioned in the logs between the two lines until ipatool exists successfully.
I also had this issue/error message. I realized that I had automatic signing deactivated and I had selected a provisioning profil with a distribution certificate.
Solution:
So if you want to run the app on your iphone directly from Xcode (not through testflight) you have to make sure you use a provisioning profil with a developer certificate.
This is probably not the case for most people facing this issue, but I faced it once several days ago and easily dealt with it by cleaning the build folder and switching to a legacy build. The second time I faced it, none of the suggested solutions seemed to be working.
I then noticed that because I'd almost run out of storage on my device, iOS had "offloaded" almost all of my apps. If there is a small cloud under your apps and the app needs to "install" again before launching, then this is the case with your phone too. Trying to launch all of the apps that I don't use regularly (so I never noticed the little clouds) "reinstalled" all of them and solved the issue entirely. Maybe this helps someone facing this for similar reasons.
I have the same problem,I modify the project setting
File --> Workspace Setting --> Build System --> Legacy Build System
it's OK for me
I also got this alert. That's because i run the app in release Build Configuration, but with a appstore Provisioning Profile . It's not allowed. So i change the appstore Provisioning Profile to a dev Profile. Then everything is ok.
Hope this can help you.
I found a way to solve this problem. After I upgraded iOS 13.1, the real machine also ran. Later, I found out that because I had archive operation the day before, the real machine running certificate changed from distribution mode to development mode and everything worked normally.
For my case (xcode 11, ios 12.4), change the Bundle identifier can solve this issue...
Before changing Bundle id, I've tried
using beta xcode
deleting app on iphone
deleting derived data
cleaning project
reopen xcode
Here's another solution. I had previously installed three other apps using XCode and got this error message when I tried to install a fourth.
I simply deleted one of my three existing apps (after hours of hair pulling and SO searching) and tried again. It worked.
Platform: iPad 2018 on v13.1 with XCode v11.1,
I was using different signing team/certificate for ...Tests target.
Setting the same for main target helped.
Update pods if you have.
pod update
just it.

Enterprise build for apple watch

I am trying to create enterprise build for apple watch project by xcode 6.3
I tried to build by archive and by auto-build (shenzhen tool)
When I run it at iPhone, it crashes immediately but with ad-hoc build it's work fine.
I've found that Xcode Automatic selections do not work properly for code signing and provisioning profile when used with Apple Watch; sometimes it makes the wrong choice and you only notice when it has problems installing and launching.
For each of the App, App Extension, and Watch App, select the code signing certificate and provisioning profile explicitly (not automatic) in the pop up list.
For issues upon launch on the device (from spring board) the device console gives good information. Install iOS Console, from lemonjar.com to easily see such information.

jwrapper Install and encryption issues

we just started playing with jwrapper and we have couple of questions .
1)Is it possible to install the application in the same directory where we click on the installer instead of installing in APPData/Roaming folder .
2) Is it possible to delete all the data automatically once the application is closed ?
3) We are also looking for encryption and want to play around . How can we test it out?
1) Its not possible to change the install dir that JWrapper uses. The reason why is explained here under 'Why can't I change the master folder?':
http://www.jwrapper.com/faq.html
2) If you wanted it to be reliable you might need to launch another virtual app which then communicated with your app and launched an uninstall of your app bundle when your original app had completed.
When you launch your child virtual app JWrapper can handle the communications between them for you:
http://www.jwrapper.com/blog/archives/08-2013
Then when the first app goes down you can use the JWrapper APIs to uninstall the entire bundle:
http://simple-help.com/media/static/jwrapper/jwutils/JWUninstallApp.html#doUninstallOfEntireBundle(boolean)
3) You can email us for a trial license for JWCrypt. Using it is very simple, the following guide explains how (bottom of the page):
http://www.jwrapper.com/guide-jwcrypt-code-protection.html

How to implement a "quit to upgrade and restart" installer?

Many applications have this functionality now, but a good example is the Spotify client.
The app discovers there is a new version available, downloads it in the background then prompts the user to restart to get the new version. When the user quits the new version is installed (or the installed version is patched) then the application is restarted, all without further user interaction. In fact, the user really doesn't even have to do anything the app would automatically update on every exit if the user was never notified.
We have a cross-platform Qt 5.3 application and our lean startup business model requires us to push application updates very often so I'd really like to find a method that works cross platform with as little platform specific code as possible.
There are multiple parts to this question.
Noticing the update, and downloading the installer. (Obvious, and not a problem)
Running the installer application. Not an issue except how does one gain privilege? Spotify never asks for privilage to install again after the first install.
Avoiding "This application has been downloaded from the Internet" approval dialogue on every update.
Restarting the application after upgrading, but only when the user responded to the quit and upgrade prompt.
Specifically are there any tools, installers or code examples that do this?
You can follow how Google Chrome and Opera (latest one, not version <= 12) do it, rougly as below:
When installing the application, create a scheduled task that runs an updater as administrator (or a user with permission to write files to your application directory) periodically. For example in Windows, you can find GoogleUpdateTaskMachineCore and GoogleUpdateTaskMachineUA entries in Task Scheduler.
Your application structure looks something like the following (Google Chrome has similar structure in C:\Program Files (x86)\Google\Chrome\Application):
C:\Program Files\AwesomeApp\launcher.exe
C:\Program Files\AwesomeApp\1.0\AwesomeApp.exe ; version 1.0 of application
C:\Program Files\AwesomeApp\1.2\AwesomeApp.exe ; version 1.2 of application
The application shortcut created by installer will run launcher.exe. This launcher.exe will run the latest version of AwesomeApp.exe available in the directory. For example in the above structure, launcher.exe will run AwesomeApp\1.2\AwesomeApp.exe.
When the updater finds an update, it will download it and add the new version to the directory in the background. After that it will tell the running application (if it is running) to notify the user that an update is ready and can be used by restarting the application. And of course your older application needs to close itself and restart by running launcher.exe too. This updater may delete old application versions and keep only the latest two versions.

Disable TideSDK installer dialog when first opening a app?

Is there anyway to disable the TideSDK installer dialog popup when first opening your app. I am submitting an app to a 3rd party distribution site and it was rejected because of this.
Please help?
You could use tidebuilder.py and pass the -n parameter to it. The final command would be:
./tidebuilder.py -n -d {output dir} {source project dir}
If you create the application in bundled mode. There would not be any installer dialog popping up while installing the application. It is likely that you have created a networked installer and while installing and running first time its trying to fetch the modules from internet by popping up the installer dialog.
Can you provide some more details about your application, modules used by the same, are u creating net installer or bundled, which platform you are on ?
Also if possible describe the commands which you are using to create the application. This would be helpful for further investigating the issue.

Resources