简体   繁体   中英

Is it possible to add MacOS app from a Xcode project to Launchpad?

Made a simple macOS app for personal use and was wondering if there's a way to add the project app to the Launchpad instead of having having to run the app through Xcode simulator.

Since we're able to install apps from Xcode to our iOS units I was hoping there was a way to do the same for a Mac.

Yes. Open the Xcode project for the app that you want. Make sure that the target for your build is "My Mac". Then click ProductArchive . Once a new window opens with your archive, click Distribute App , then Copy App . Click Next then choose a location for the app to be put.

Note: you can skip this if you pay for a developer's account (I think). Next, right-click the app file and click Open . It will say it's from an untrusted developer (you) because you don't pay for the developer's program.

Now move the app into the Applications folder.

Yes, GO to ProductArchiveDistribute AppCopy App and move to application folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM