Click Once Deployment for Mac - macos

As the title states, is there an equivalent to Click Once application deployment for the Mac?
I ask this because the version of Safari that ships with Lion has removed DMG (disk image) files as a "safe file type" that is opened after downloading. The company I work for has a rather special-purpose application that should launch as soon as it is downloaded.

Related

xcode install cocoa project at launchpad

When I run my Mac OS X Cocoa project, Xcode says build succeeded and the application opens, but never appears as installed. When I go to launchpad I can't find the application. Seems it is only emulated. I need to watch how is shown in the launchpad with the icon and the title. How can I install the application from the xcode?
I have xcode 6.1.
Need help please.
Thanks in advance.
Only Apps inside of /Applications and ~/Applications are displayed in Launchpad. When you launch from Xcode the apps are copied to a temporary build directory. So you have to copy your app to the correct location.
If you only want the Debug version, because you want to test your app, you can simply locate the app bundle in Finder:
Open the Products group in Xcode, right click the .app file and select "Show in Finder". In Finder simply drag & drop the app into the Applications folder.
If you need the Release version you can archive the app. Select Product/Archive in the Xcode menu.
In the Organizer you choose Export, in the Export wizard you select "Export as Mac Application". You can directly save it into the Applications directory, or save it somewhere else and copy or move it into the Applications directory

Install IPA with iTunes 12

I have an IPA signed for ad-hoc distribution. I can install it fine with Flash Builder. I'd like to install a release version via iTunes 12, though. Dragging it onto:
The device name
The app section
The app list
The Home Screens section
...does not work? Does anyone have any idea how to do this with the new iTunes 12?
Note : If you are using iTunes 12.7.0 or above then use Solution 2 else use Solution 1. Solution 1 cannot be used with iTunes 12.7.0 or above since Apps section has been removed from iTunes by Apple
Solution 1 : Using iTunes 12.7 below
Tested on iTunes 12 with Mac OS X (Yosemite) 10.10.3
Also, tested on iTunes 12.3.2.35 with Mac OX X (El Capitan) 10.11.3
This process also applicable for iTunes 12.5.5 with Mac OS X (macOS Sierra) 10.12.3.
You can install IPA file using iTunes 12.x onto device using below steps :
Drag-and-drop IPA file into 'Apps' tab of iTunes BEFORE you connect the device.
Connect your device
Select your device on iTunes
Select 'Apps' tab
Search app that you want to install
Click on 'Install' button. This will change to 'Will Install'
Click on 'Apply' button on right corner. This will initiate process of app installation. You can see status on top of iTunes as well as app on device.
You can allow new apps to install automatically by enabling checkmark present at bottom.
Solution 2 : Using iTunes 12.7 and above
You can use diawi for this purpose.
Open https://www.diawi.com/ in desktop/system browser
Drag-and-drop IPA file in empty window. Make sure that last check mark are unselected (recommended due to security concern)
Once the upload is completed then press Send button
This will generate a link and QR code as well. (You can share this link and QR code with Client)
Now open Safari browser in iPhone device and enter this link (Note that link is case-sensitive) OR You can scan the QR using Bakodo iOS app
Once link is loaded you can see app details
Now select ‘Install application’
This will prompt an alert asking permission for installation. Press on Install.
Now you can see the app installation begins on screen.
iTunes 12.7 ( Xcode needed )
You cannot install a release ipa directly on your device. Ipa generated withAppStore Distribution Profile requires to be distributed from App Store or TestFlight. However, I found that app panel was removed even for installing ad hoc ipa from iTunes 12.7. I found a workaround to install ad-hoc apps which might help to them who cannot install even ad hoc ipa. Please follow the instructions below,
Connect your device
Open Xcode and go to Window -> Devices
Select the connected device from left panel
Brows the IPA from Installed Apps -> + button
Wait few seconds and its done!
From iTunes 12.7 apple removes App Store, So we unable to for find App option
We have another way to install iOS app using iTunes 12.7 as below
1)drag and drop your .app file to iTunes.
2)It will create .ipa file, you can find that at ~/Music/iTunes/iTunes Media/Mobile Applications/
3)connect the device you want to install that app.
4)drag .ipa file from finder to iTunes on my Device section as shown in below section.
I don't remember this being very difficult with iTunes 12, but at least for iTunes 12.8 (and likely for the previous couple of minor versions also) it's pretty straightforward even though the Apps button is not there, as demonstrated in the below two steps:
While your device is connected to your laptop/desktop click the device icon on iTunes 12.8:
Drag your .ipa file from Finder or Desktop and drop it into the "On My Device" area.
Wait for the sync to finish and the app is on your device!
For newest iTunes 12.7 and above can easily install IPA by copy and paste
Select and copy your .ipa (cmd+c or ctrl+c)
Connect phone to laptop
Open iTunes and select your device tab on top left of iTunes
Select the music tab
Paste the ipa (cmd+v or ctrl+v) not drag
In my case Drag & Drop didn't work.
I had to first Sync iTunes with the iOS device (Sync button on the bottom right)
I had to add the IPA file through iTunes menu bar: File -> Add to Library...
I had to press the "Install" button for my app in the "Apps" screen
I had to press the "Apply" button on the bottom right
Edit: See Jayprakash Dubey's answer for iTunes 12.7
From the menu shown in the following screenshot, choose Apps. You can drag and drop you IPA file in the next view.
After that, go to your device's page, you'll see the list of apps, install your app and press Apply from the bottom bar.
Tested on iTunes 12.5.3.17
1.Open the iTunes select the “Apps” section with in that select the “Library”
2.Now drag and drop the file AppName.ipa in this Library section (Before connecting your iOS device to your computer machine)
3.Now connect your iOS device to your computer machine, we are able to see our device in iTunes…
4.Select your device go to “Apps” section of your device and search your App in the list of apps with "Install" button infront of it.
5.Now hit the “Install” button and then press the “Done” button in bottom right corner, The “Install” button will turn in to “Will Install” one alert will be shown to you with two options “Don’t Apply”, “Apply”, hit on option “Apply”.
6.The “App installation” will start on your device with progress….
7.Finally the app will be installed on your iOS device and you will be able to use it…
IPA file are generally executable file for iOS app.
Approach used to install IPA in iTunes 12 is different as compared to lower versions.
Simply, add IPA file into iTunes library and search for IPA in apps section of connected device.
Click on install and Apply.
I found a solution for Windows users. All the other solutions i tried didn't work for Windows.
I have been searching about the same problem for a few days. iTunes make obligation to update itself to iTunes newer version for ios 11 phones and iTunes 12.7 version doesn't have apps section so i couldn't download anymore my ad hoc app ipa file and provision files to iPhone.
I just found out that there is an iTunes version (12.6.3) Apple published which won’t be prompted to download new versions of iTunes and you can use this version to download your app. You can dowload it from this link: https://support.apple.com/en-us/HT208079
Apple say if you have a newer version of iTunes you can just download this one over it but I couldn't do it like this. First, I removed iTunes from my computer, then I removed the iTunes folder from my musics folder (you probably don't need to do that) and I downloaded iTunes for 64 bit PC from the link I wrote above. And with this iTunes i can use Apps section again and it doesn't force me to update it. So it works like the good old times.
For iTunes 12.9.5.5 and above you can install the apps by Copying the IPA file and Paste it (Cmd+V or Edit -> Paste in iTunes) in any categories as Music/Films/TV Programmes etc. The app will be installed automatically on your iPhone screen.
Tested on 29 Nov 2019.
Demo:
Since iTunes 12.7 doesn't have "Application" section so it can't be done.
As a workaround I've found this answer.
I simply installed "Apple Configurator 2". Than:
Run application
Connect device
Unlock device
Drag IPA file to visualisation of device in "Apple Configurator 2"
Confirm action
I didn't had to "sign in" as described in on linked question answers
For iTunes 12.7.0 and above, you just need to Cmd+c your app and Cmd+v into your device on iTunes. Any tab works, including Summary, Music, Movies.
For the macOS Catalina 10.15.3 and onwards iTunes is no longer present in the system. all iTunes contents are added in Finder itself. So instead, open the Music app and drag-drop IPA as mentioned below.
installation itunes music ipa
Do not use any service similar to https://www.diawi.com/ as it can potentially have huge security implications. Using this kind of process and with some clever coding skills, a third party can inject extra stuff in you application. And they are basically charging you for something that you can do yourself.
In iTunes 12.7.x, it is still possible to install an ipa directly on a device with a simple drag-n-drop. Look at #ganesh ubale' solution here or the other answers at https://stackoverflow.com/a/46520816/609862 or https://stackoverflow.com/a/46229114/609862.
The Apple developer web site also have detailed information about how to configure a web site for installing an IPA wirelessly (by simply sharing the download link).
I just reset the device (erase all settings) and sync up with iTunes and now I can drag the app over to the phone library on iTunes (even though there is no apps tab). Once you sync. the app is then on the phone.

XCode 6.0 does not open on OS X 10.9.4

I just downloaded XCode_6_beta_6.dmg from the official apple website. However, when prompted to drag the installation to the application folder, it just unarchived the installation but does not install XCode_6_beta_6. When i try to open xcode_6_beta_6 from the applications folder, the new xcode6 beta icon just keeps popping in the application dock and does nothing. How do i overcome this situation so that the new xcode6 beta is installed on my machine?
For some weird reason, apple does not trust this installation and hence does not continue.
Please follow the below instructions to continue with the installation.
Open System Preferences
Open Security and Privacy
Unlock the settings screen if it is not already unlocked.
select "Anywhere" from the "Allow apps downloaded from:" section.
lock and close the preferences screen.
Your installation shall start in a moment!!
Also happened to me. Used Deepak's fix but had an additional strange problem where the Icon would still stay bouncing in the dock. Be patient & wait (for me it took a good 10 minutes!) for a dialogue box to eventually appear saying 'This is an application downloaded from the internet, do you want to open?' Obviously click 'Open'. Odd, considering it's Apple's own app.

xcode organizer download button di

I am trying to copy data files of an ios (5.1) app from an iphone, with Ad Hoc Provisioning Profile, to a MacBook. XCode 4.4.1 is used on the MacBook. With the iphone connected, under Organizer, Devices, the connected iPhone and the app are detected. However, when the app is selected, no files are displayed in the 'Data Files in Sandbox' section and the Download button is disabled.
What would be the possible causes? The MacBook used is not the developer's machine. Can this method used to copy app data files to any MacBook with XCode installed (but no source code)?
Thanks.
You cannot use Xcode Organizer to copy files from an iPhone to a non-developer machine. The Organizer shows only apps for which a valid provisioning profile is available in Xcode.
But you can do it with iTunes if you connect the device, select it and go to the bottom of the "Apps" tab. There you see all Apps that support file sharing. If you select one of the apps, you can see and download the contents of the Documents directory.
To enable file sharing for your app, you have to add the key
UIFileSharingEnabled (Application supports iTunes file sharing)
to the Info.plist and set the Boolean value to YES.

Sharing iPhone Apps for the Simulator

iPhone Apps built for the simulator are stored here:
/Users/<username>/Library/Application Support/iPhone Simulator/User/Applications
Is it possible to copy the <GUID>.sb and <GUID> directory and install them on a different computer (with Development tools installed)?
This would be very useful for testing/demoing with out having to buy iPhones for all the managers and external clients.
I found a way that requires just a little more setup, but is much easier for non-developers:
Instructions for your users/testers:
Install Xcode following Apple's instructions
Double-click the attached application - the iPhone simulator will launch, install the app and start it automatically.
How to set it up:
Download and unzip (to a folder on your desktop or wherever) 'Simulator Bundler' from: http://github.com/landonf/simlaunch/downloads
Set your XCode build target to the required Simulator configuration (iPad/iPhone/which iOS version)
Do a 'Build and archive'
Find it: select 'Archived applications' in the Organizer, right click the relevant build, select "Reveal archived application in Finder"
Drag the application (yourAppName, no extension) onto the Simulator Bundler app
Done. This will create a self-contained Mac OS X yourAppDisplayName.app file in the same folder (with your app's icon as the icon) that you can stick up on an FTP server or email to your users/testers.
--
I think it's much neater/slicker than having to explain where to copy files, how to launch the simulator and so on.. And if anything gets messed up they can just uninstall via the familiar tap-and-hold + (x) gesture in the simulator UI, then double-click the app you sent them again.
You can also produce several of these packages changing the bundle identifier between builds, allowing them to be installed side by side in your testers' simulators; say for getting some user feedback on different UI designs, or configure one for Production and one for Staging/QA servers, so your content editors can check their changes before they go live or whatever..
The ability to reinstall the app from a desktop icon is also very convenient for localisation testing: launch the simulator, uninstall the app if present, set the required region format and language, double click the icon on your desktop, test; repeat for each required locale. (guarantees a fresh install each time, I've found that switching language with the app installed can result in all sorts of strange behaviour)
Yes, if you send those files to another person, and they put them into that directory, they can test the applications in the iPhone Simulator as well :)

Resources