yojohanshinwataikei / Arcade-plus

A better utility used to edit and preview aff files
MIT License
137 stars 19 forks source link

StandaloneFileBrowserassembly:<unknown assembly> type:<unknown type> member: (null) #13

Open Sevenyine opened 1 year ago

Sevenyine commented 1 year ago

这个问题在3.11 Build Time 20211230233554上是正常的,但后续的版本(测试版本:0.4.0,0.4.8,0.5.0)均报错。 系统版本:MacBook Air M2 报错内容:StandaloneFileBrowserassembly:<unknown assembly> type:<unknown type> member: (null) 日志文件(报错版本0.4.0):

Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/StandaloneFileBrowser
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.dylib
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.dylib
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.so
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.bundle
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/StandaloneFileBrowser
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.dylib
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.dylib
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.so
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.bundle
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/StandaloneFileBrowser
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.dylib
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.dylib
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.so
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.bundle
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/StandaloneFileBrowser
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.dylib
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.dylib
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.so
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser.bundle
Fallback handler could not load library /Users/我的用户名/Downloads/mac/Arcade-plus.app/Contents/Frameworks/MonoEmbedRuntime/osx/libStandaloneFileBrowser
System.DllNotFoundException: StandaloneFileBrowser assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) SFB.StandaloneFileBrowserMac.DialogOpenFolderPanel(string,string,bool)
  at SFB.StandaloneFileBrowserMac.OpenFolderPanel (System.String title, System.String directory, System.Boolean multiselect) [0x00000] in <6193a3d346f04832b7204937cc4e15d2>:0 
  at SFB.StandaloneFileBrowser.OpenFolderPanel (System.String title, System.String directory, System.Boolean multiselect) [0x00000] in <6193a3d346f04832b7204937cc4e15d2>:0 
  at Arcade.Util.Shell.FileBrowser.OpenFolderDialog (System.String Title, System.String InitPath) [0x00000] in <6893cbf86b52464fb1b494202ca9c95b>:0 
  at Arcade.Compose.AdeProjectManager.OpenProject () [0x0000a] in <6893cbf86b52464fb1b494202ca9c95b>:0 

在后续版本中,plugins文件夹中的SFB.bundle里的macOS下的文件chmod +x也无用

LittleSwift commented 3 days ago

看起来是因为这个应用中打包的SFB只兼容x86_64(即intel芯片)而不兼容Apple Silicon(arm64)导致的

LittleSwift commented 3 days ago

经过测试,使用Rosetta打开可解决这个问题