With NSOpenPanel opendir() work correctly but the user don't want to select files and folders each time the application is launched.
So I save the files and folders URLs for the next time. But then opendir(the_saved_URL) fail.
What is the way to make opendir(the_saved_URL) work correctly ?
Post
Replies
Boosts
Views
Activity
Thank a lot for all precious reply.
No one except the:
"No error handler for XPC error: Connection invalid"
that happen when the application quit.
If you disable Visible At Launch, you get this log message.
Yes
This log message is bad.
Surely
Thus you need a different way to make your window not visible at launch.
Yes
Thank you for the link. With
os_log_error(OS_LOG_DEFAULT, "");
I was able to see that disable "Visible At Launch" in MainMenu.nib cause the "CGSWindowShmemCreateWithPort failed on port 0" log error.
What can I do to make the window not visible at launch (other than close the window in awakeFromNib)?
How to fix the second issue: "No error handler for XPC error: Connection invalid" The code don't use any communications (etnernet, wifi or bluetooth) call.
How to use:
b libsystem_trace.dylib``_os_log_error_impl
?
[quote='818679022, endecotp, /thread/770989?answerId=818679022#818679022, /profile/endecotp']
(At least, that is the intention.)
[/quote]
Not sure is the best way...
I think most user want a regular immediate...
I really appreciate you help.
Thank you very much.
Yes!
The correct syntax is:
and v8.8b, v8.8b, v10.8b
On other hand do you know (I am just curious) why ARM does "and immediate" so restricted ?
By example the assembler accept
add x2,x1,#32
but reject
and x2,x1,#22
Thank you very much.
"Compile qs_arm.s (arm64)328"CompileC /Users/alain/Library/Developer/Xcode/DerivedData/QS-cibiavwrwfecqvgtkmfwdqiatgoh/Build/Intermediates.noindex/QS.build/Debug/QS.build/Objects-normal/arm64/qs_arm.o /Users/alain/Desktop/QS_univ/sources/qs_arm.s normal arm64 assembler-with-cpp com.apple.compilers.llvm.clang.1_0.compiler (in target 'QS' from project 'QS')c45c92378389c641^755897378389c641^-190"/Users/alain/Desktop/QS_univ/sources/qs_arm.s:159:2:
error: unrecognized instruction mnemonic, did you mean: and, ands?
vand q8, q8, q10
^
Command CompileC failed with a nonzero exit code
1(21%IDEActivityLogMessage5@48"Command CompileC failed with a nonzero exit code-
..../sources/qs_arm.s Command CompileC failed with a nonzero exit code
Other way to get more explicit detail ?
..../sources/qs_arm.s Command CompileC failed with a nonzero exit code
So things have changed from previously?
No except now I distribute within Xcode (I no longer use Transporter):
To create a distribution-signed app using the Xcode app:
[from "Export an app from Xcode" in your link "Creating distribution-signed code for macOS" ]
1- Select your app’s scheme.
2- Choose Product > Archive.
3- In the Archives organizer, select the archive created in step 2.
4- Click Distribute App.
5- Choose the appropriate distribution method. For example, to create a notarized app that you send directly to your customers, choose Direct Distribution.
6- Click Distribute.
No issues no errors.
Because earlier you were reporting an “App sandbox not enabled” error?
No longer see this error.
Is "App Store Version Release" must be set "Automatically release this version" ?
What is the next step ?
Thank you.
I am sorry, I am late to reply.
Are you building this product with Xcode?
Yes.
I follow the instructions from "Export an app from Xcode" in your link "Creating distribution-signed code for macOS"
"Validate App" and "distribute App" report no issues no errors.
But "Apple Store Connect -> macOS App" still show "Prepare for Submission" message.
In "App Store Version Release" which one must be selected:
"Manually release this version"
or
"Automatically release this version"
lsbom ./com.abirtz.lnc.pkg/Bom
...
./lnc.app/Contents/Resources/lnc.entitlements 100644 0/0 311 30787299
...
codesign -d --entitlements - /Applications/lnc.app
Executable=/Applications/lnc.app/Contents/MacOS/lnc
[Dict]
[Key] com.apple.security.app-sandbox
[Value]
[Bool] true
[Key] com.apple.security.files.user-selected.read-write
[Value]
[Bool] true
[Key] com.apple.security.get-task-allow
[Value]
[Bool] true
You mentioned Transporter, which suggests that you’re building your app outside of Xcode. Is that correct?
No. Is there an other way to submit an Apple application ?
you must sign your code with an Apple-issued code-signing identity
A certificate ?
I really appreciate your help.
Thank you.