I Have Created a sample.app file which is running on Mac , this .app file is created with the
references from URL
- This .app file contains
----> Content (Folder)
----> info.plist
----> MacOS(subfolder)
---->ButtonDemo.jar (runnable jar)
---->launch (unix executable script)
----> Resources(subfolder)
----->application.icns(icon images)
- Same above procedure I followed for my runnable (iwb.jar) file which are placed accordingly with its dependencies ,
- This iwb.app file contains
----> Content (Folder)
----> info.plist
----> MacOS(subfolder)
---->iwb.jar (runnable jar)
---->DerbyDatabase (dependent database)
---->jre (dependant jre)
---->props (property configuration)
---->server (jetty server)
---->launch (unix executable script)
----> Resources(subfolder)
----->application.icns(icon images)
This following iwb.jar (runnable jar). IF once executed it starts the jetty server application and opens the browser with the JettyServer Home Page.
but I'm getting this following Exception: " LSOpenURLsWithRole() failed with error - 10810 " on Mac OS X version 10.8.4
Related
when I debug the flutter app from xcode 13 by open Runner.xcworkspace file, shows error like this:
dyld[39201]: Library not loaded: #rpath/device_info_plus.framework/device_info_plus
Referenced from: /Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Runner
Reason: tried: '/Users/xiaoqiangjiang/Library/Developer/Xcode/DerivedData/Runner-adtpuxbuupwwgxamxwiaqkpdrece/Build/Products/Debug-iphonesimulator/device_info_plus.framework/device_info_plus' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/device_info_plus.framework/device_info_plus' (no such file)
Library not loaded: #rpath/device_info_plus.framework/device_info_plus
Referenced from: /Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Runner
Reason: tried: '/Users/xiaoqiangjiang/Library/Developer/Xcode/DerivedData/Runner-adtpuxbuupwwgxamxwiaqkpdrece/Build/Products/Debug-iphonesimulator/device_info_plus.framework/device_info_plus' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.fra
I found the app search from system path but did not search for current app folder(the device_info_plus.framework come from app folder). when I try to search where is device_info_plus.framework locate:
➜ cruise-open git:(main) ✗ find ~ -name "device_info_plus.framework"
/Users/xiaoqiangjiang/source/reddwarf/frontend/cruise-open/build/ios/Debug-iphonesimulator/device_info_plus/device_info_plus.framework
this is the rpath config in xcode:
why the app did not search current app folder? what should I do to make the debug process could found the framework? BTW, I did not change the default configuration of xcode, this is the default configuration.
I have an electron application.It is an updater with download another application and toolchain.I can't open it with open Updater.app.However, I can use Updater.app/contents/MacOS/Electron to open it.
Here is the log:
Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260 "未能打开文件“PlugIns”,因为它不存在。"
UserInfo={
NSURL=PlugIns/ -- file:///private/var/folders/xn/08sc_nts0n11yyw_3ddlngdh0000gn/T/AppTranslocation/A0F3B185-B4AB-4CC8-A3C5-86DAA22043D5/d/Updater.app/Contents/,
NSFilePath=/private/var/folders/xn/08sc_nts0n11yyw_3ddlngdh0000gn/T/AppTranslocation/A0F3B185-B4AB-4CC8-A3C5-86DAA22043D5/d/Updater.app/Contents/PlugIns,
NSUnderlyingError=0x7fd1d2d13fe0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}
}
I would like to know the difference between Updater.app and Updater.app/contents/MacOS/Electron.
Updater.app is a macOS App Bundle. App Bundles are Apple's way of packaging a program - each one is basically just a folder containing an executable program and all the configuration files, helper executables, images, shipped libraries, and other resources the program needs to run.
In your case, Updater.app/Contents/MacOS/Electron is probably the main executable of the app - <App>/Contents/MacOS/ is usually the location of an App Bundle's main executable.
For further reading, look over this answer which further explains the general concept of a macOS App Bundle.
I'm trying to deploy my game made with Unity on Mac Store, but got this error during the validation process. I don't know how to correct. Do you have any ideas please ?
Invalid Signature - The main app bundle Kissoro at path Kissoro.app
has following signing error(s):
--prepared:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/libcrypto.dylib
--validated:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/libcrypto.dylib
--prepared:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/libssl.dylib
--validated:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/libssl.dylib
--prepared:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/Mono/MonoEmbedRuntime/osx/libmono.0.dylib
--validated:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/Mono/MonoEmbedRuntime/osx/libmono.0.dylib
--prepared:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/Mono/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib
--validated:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/Mono/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib
/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app:
a sealed resource is missing or invalid . Refer to the Code Signing
and Application Sandboxing Guide at
http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html
and Technical Note 2206 at
https://developer.apple.com/library/mac/technotes/tn2206/_index.html
for more information.
All you have to do is to manually codesign every file in Contents/Frameworks and Contents/Plugins directories inside .app file and to delete all .meta files inside your plugin. After U do these steps, You codesigned once more the whole .app file and create a package which You can uploaded on iTunes Connect without warning mentioned above.
More info: https://forum.unity.com/threads/signing-mac-app-on-os-x-mavericks.206762/
I can't open the JDeveloper.jar on Mac(10.11.4 JDK 1.8.0_73)
double-click the file , it show can't open ( check the console ).
//The only info I can find (I'm not sure it's the right one , because when I open the console and click again , nothing changed on consolo.
16/3/30 20:54:38.180 lsd[233]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
Then I install use java -jar to open .. It give me the message:
1.lack needed jar file
2.can't extract /private/var/folders/3w/ly610lmd5nbcqjs6bk57pq1r0000gn/T/orcl1921397507371152795.tmp
BTW:I can use java -jar to open the JDeveloper 1213.
THX
You need to download the two files that make up the install.
Then in the directory where they both are issue a :
java -jar thefirstfile.jar
https://developers.google.com/appengine/docs/python/python27/using27
The link above requires that the python file be named something like "main.app", but Mac OSX Lion treats such files as "Classic" Mac applications. I have also tried to name the python file "main.application" but still get the same error message in the googleapps log as follows and tells me that their is no module "main".
ERROR 2012-05-29 17:10:35,136 wsgi.py:189]
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 187, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 225, in _LoadHandler
handler = __import__(path[0])
ImportError: No module named main
INFO 2012-05-29 17:10:35,143 dev_appserver.py:2904] "GET / HTTP/1.1" 500 -
My app.yaml file is as follows.
application: shoppinglist
version: 1
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /.*
script: main.application
libraries:
- name: webapp2
version: "2.5.1"
- name: django
version: "1.3"
- name: PIL
version: latest
What am I doing wrong?
Brian in Atlanta
You don't name the file "main.app"; that's the name of the WSGI application, which is app (or, in your case, application, with nothing at all named app) defined in the file "main.py".