.app

Py2app app not launching just asks if I want to terminate the app or open console

…衆ロ難τιáo~ 提交于 2021-02-08 11:38:41
问题 So I am working on a little project of mine that I want to distribute easily so naturally, I use py2app to make a single .app file that will execute on any Mac computer. I tried this tutorial: https://www.metachris.com/2015/11/create-standalone-mac-os-x-applications-with-python-and-py2app/. The problem is that even if I try the example that he gives in the tutorial it crashes and shows this window: Crash image if I look in the console log of the event I see these tow errors. error 17:12:44

iPhone: Compressing .app files in command line (Mac OS X) removes CodeSigning

不问归期 提交于 2020-02-01 02:03:06
问题 I am trying to do a simple build automation of my iPhone apps with TeamCity, but having this nagging issue.. When I manually pickup and install .app file from the build folder it works great (syncs smoothly with iTunes and I can see the app on my phone) But when I try to zip this with /bin/zip or ditto...then the zipped contents loose the CodeSigning (iTunes says that it cannot install this app because its not signed) I have tried different combinations of these.. ditto -ck --rsrc -

iPhone: Compressing .app files in command line (Mac OS X) removes CodeSigning

强颜欢笑 提交于 2020-02-01 02:03:01
问题 I am trying to do a simple build automation of my iPhone apps with TeamCity, but having this nagging issue.. When I manually pickup and install .app file from the build folder it works great (syncs smoothly with iTunes and I can see the app on my phone) But when I try to zip this with /bin/zip or ditto...then the zipped contents loose the CodeSigning (iTunes says that it cannot install this app because its not signed) I have tried different combinations of these.. ditto -ck --rsrc -

OS X Java .app bundle cannot open other apps?

南楼画角 提交于 2020-01-11 13:40:06
问题 I've written a Java SWT application for OS X, exported it as a .jar and bundled it into .app. Everything works just as expected except for a critical part within my app; it requires to open other apps. I've tried Runtime.exec(); as well as ProcessBuilder to do this, calling the open command on the other apps that I require to launch. This works perfectly fine from Eclipse or if I launch my exported .jar through Terminal. It does, however, not work when started by double-clicking the .app. I'm

How to find out if an instance of my .app is already running or not?

微笑、不失礼 提交于 2020-01-05 03:50:46
问题 My app is getting installed in the Application folder. But I can copy this .app file and paste it on my desktop. When I try to run this .app file on my desktop, two instances are running on my system. How do I prevent this? 回答1: There could by many ways, The first way that hit my mind is to look at runningApplications in NSWorkspace . This returns an NSArray containing a dictionary for each launched application. You can loop through the array to see if the app you are looking for is already

How can I get list of installed applications on mac os x programmatically [duplicate]

烂漫一生 提交于 2020-01-03 04:49:11
问题 This question already has answers here : Enumerate All Installed Applications on OS X (3 answers) Closed 5 years ago . How can I get installed apps in mac os x programmatically either through C code or Objective-C code? 回答1: It is possible to get all the app files using the spotlight API. Specifically, NSMetadataQuery class.. -(void)doAQuery { query = [[NSMetadataQuery alloc] init]; // [query setSearchScopes: @[@"/Applications"]]; // If you want to find applications only in /Applications

How to test app on device by installing .app (binary) file? (without using Xcode for testing)

最后都变了- 提交于 2019-12-24 07:38:36
问题 I have created an app and I want to send that to another person for testing it. ) He got an iPhone and a mac, but doesn't have xcode on his mac. (he is not an iphone programmer) So, If I send the .app file, can he test that on his iPhone? If not, how else I can do this? This is my first app :) and I have no idea about testing on real devices. So please help me. Thanks in advance. :) 回答1: You need to do what's called "ad-hoc distribution", which requires creating a special ad-hoc provisioning

Python app which reads and writes into its current working directory as a .app/exe

我们两清 提交于 2019-12-22 16:29:13
问题 I have a python script which reads a text file in it's current working directory called "data.txt" then converts the data inside of it into a json format for another separate program to handle. The problem i'm having is that i'm not sure how to read the .txt file (and write a new one) which is in the same directory as the .app when the python script is all bundled up. The current method i'm using doesn't work because of something to do with it using the fact that it's ran from the terminal

How can i create executable apple .app file from my java .jar file?

余生长醉 提交于 2019-12-21 23:49:31
问题 I have created an executable java Swing .jar application. It works fine on Windows. The application hierarchy is : application.jar images(Folder) .......... Contains all images the application uses. libraries(Folder) ....... Contains all external jar libraries the application uses. bundles(Folder) ......... Contains all bundle files the application uses. database(Folder) ........ Contains the database files the application uses. All the above folders exist outside the jar file. Now i am

iOS: Failed to launch .app file

喜欢而已 提交于 2019-12-21 06:58:25
问题 I don't know why it is looking for directory inside my .app file. Every time I run application it installs the App on iPhone but doesn't run and gives below error. Could anyone please tell me where's this settings stored? Thanks. error: failed to launch '/Users/xxx/Library/Developer/Xcode/DerivedData/MyApp- ccbvvzjjzvwuerchrpulknxtenoq/Build/Products/Debug-iphoneos/MyApp.app/MyApp' -- No such file or directory (/Users/xxx/Library/Developer/Xcode/DerivedData/MyApp-ccbvvzjjzvwuerchrpulknxtenoq