|
Re: folder entitlements EPERM
Isn't that just the normal behavior of the app sandbox? Sandboxed apps aren't allowed to access arbitrary areas of the filesystem, unless the user has implicitly given permission by navigating to a
Isn't that just the normal behavior of the app sandbox? Sandboxed apps aren't allowed to access arbitrary areas of the filesystem, unless the user has implicitly given permission by navigating to a
|
By
Jens Alfke
·
#1327
·
|
|
folder entitlements EPERM
macOS 11.1
There are quite a few folders, which behave absolutely normal using the Finder, but when my App tries to do:
open(folderPath, O_RDONLY)
it gets an EPERM error: "Operation not
macOS 11.1
There are quite a few folders, which behave absolutely normal using the Finder, but when my App tries to do:
open(folderPath, O_RDONLY)
it gets an EPERM error: "Operation not
|
By
Gerriet M. Denkmann
·
#1326
·
|
|
Re: item based NSBrowser
I found the SimpleCocoaBrowser (thanks very much for your hint) and it works just fine.
The BrowserDelegate (called AppController in the sample code) implements 4 required + 1 optional methods:
-
I found the SimpleCocoaBrowser (thanks very much for your hint) and it works just fine.
The BrowserDelegate (called AppController in the sample code) implements 4 required + 1 optional methods:
-
|
By
Gerriet M. Denkmann
·
#1325
·
|
|
Re: item based NSBrowser
Back when I was first starting to develop my UI Browser product, https://pfiddlesoft.com/uibrowser, there were three helpful Objective-C Cocoa code examples for NSBrowser from Apple:
Back when I was first starting to develop my UI Browser product, https://pfiddlesoft.com/uibrowser, there were three helpful Objective-C Cocoa code examples for NSBrowser from Apple:
|
By
Bill Cheeseman
·
#1324
·
|
|
item based NSBrowser
Xcode tells me that:
'matrix(inColumn:)' was deprecated in macOS 10.10: Use the item based NSBrowser instead
And when I use parentForItemsInColumn it crashes with:
parentForItemsInColumn: is not
Xcode tells me that:
'matrix(inColumn:)' was deprecated in macOS 10.10: Use the item based NSBrowser instead
And when I use parentForItemsInColumn it crashes with:
parentForItemsInColumn: is not
|
By
Gerriet M. Denkmann
·
#1323
·
|
|
Re: Core Graphics: creating an image mask from a PDF?
I’ve used CoreImage (CIBlendWithMask filter) to use a
I’ve used CoreImage (CIBlendWithMask filter) to use a
|
By
Jim
·
#1322
·
|
|
Core Graphics: creating an image mask from a PDF?
Hi all,
I am using Core Graphics. I have an image as a PDF resource that I want to use as a mask - specifically, the PDF only contains black and white graphics as vectors. I have code that can turn
Hi all,
I am using Core Graphics. I have an image as a PDF resource that I want to use as a mask - specifically, the PDF only contains black and white graphics as vectors. I have code that can turn
|
By
Graham Cox
·
#1321
·
|
|
Re: Ensure Framework Links to static lib not dylib
Thanks Jack, yes, your point is well taken… but, these are in house production apps/frameworks and we have a long running well establish deployment design that works well…
The structure is as
Thanks Jack, yes, your point is well taken… but, these are in house production apps/frameworks and we have a long running well establish deployment design that works well…
The structure is as
|
By
Sandor Szatmari
·
#1320
·
|
|
Re: Ensure Framework Links to static lib not dylib
I wonder if you might want to embed the library in your application. That might make it more future-proof.
Jack
I wonder if you might want to embed the library in your application. That might make it more future-proof.
Jack
|
By
Jack Brindle
·
#1319
·
|
|
Re: Ensure Framework Links to static lib not dylib
Thanks for everyone’s thoughts… I really appreciate it.
I would think, that’s where I went wrong apparently :D, that Xcode should respect explicit configurations, which is what I thought I had
Thanks for everyone’s thoughts… I really appreciate it.
I would think, that’s where I went wrong apparently :D, that Xcode should respect explicit configurations, which is what I thought I had
|
By
Sandor Szatmari
·
#1318
·
|
|
Ensure Framework Links to static lib not dylib
Begin forwarded message:
From: Jonathan Prescott <jprescott12@...>
Subject: Re: [cocoa-dev] Ensure Framework Links to static lib not dylib
Date: December 10, 2020 at 1:50:14 PM EST
To:
Begin forwarded message:
From: Jonathan Prescott <jprescott12@...>
Subject: Re: [cocoa-dev] Ensure Framework Links to static lib not dylib
Date: December 10, 2020 at 1:50:14 PM EST
To:
|
By
Jonathan Prescott
·
#1317
·
|
|
Re: Ensure Framework Links to static lib not dylib
If we have more than one of us manually adding .a, there probably must be a process that does this automatically that we don’t know about.
Any ideas?
If we have more than one of us manually adding .a, there probably must be a process that does this automatically that we don’t know about.
Any ideas?
|
By
Alex Zavatone
·
#1316
·
|
|
Re: Ensure Framework Links to static lib not dylib
In the Other Linker Flags build setting, you can add the full path to a library instead of something like -lFoo, ensuring that you get the right one.
In the Other Linker Flags build setting, you can add the full path to a library instead of something like -lFoo, ensuring that you get the right one.
|
By
James Walker
·
#1315
·
|
|
Re: Ensure Framework Links to static lib not dylib
I fell over this the other day. If you have both the .a and .dylib in the same directory, Xcode will link in the .dylib even if you've explicitly added the .a to your "Link with ..." in the build
I fell over this the other day. If you have both the .a and .dylib in the same directory, Xcode will link in the .dylib even if you've explicitly added the .a to your "Link with ..." in the build
|
By
Sak Wathanasin
·
#1314
·
|
|
Ensure Framework Links to static lib not dylib
I have a Framework and am adding support to it from code located in an external library.
I have added the ‘.a’ version of the lib to the project (build phase link to…) I dragged it to the
I have a Framework and am adding support to it from code located in an external library.
I have added the ‘.a’ version of the lib to the project (build phase link to…) I dragged it to the
|
By
Sandor Szatmari
·
#1313
·
|
|
Re: Many new warnings after Xcode upgrade
That makes perfect sense. Is the header the umbrella header for the framework? Is so, then the < > brackets would make more sense since they would restrict searching for headers inside the framework
That makes perfect sense. Is the header the umbrella header for the framework? Is so, then the < > brackets would make more sense since they would restrict searching for headers inside the framework
|
By
Alex Zavatone
·
#1312
·
|
|
Re: Many new warnings after Xcode upgrade
I don’t have any special insights, but I think the warning is correct in that there has for some time been an (unwritten?) rule that the #imports *inside* a framework header should use angle
I don’t have any special insights, but I think the warning is correct in that there has for some time been an (unwritten?) rule that the #imports *inside* a framework header should use angle
|
By
Quincey Morris
·
#1311
·
|
|
Re: Many new warnings after Xcode upgrade
I was wondering about that myself. I have header files that are internal to the framework so shouldn’t be public.
From: <cocoa@apple-dev.groups.io> on behalf of "Graham Cox via groups.io"
I was wondering about that myself. I have header files that are internal to the framework so shouldn’t be public.
From: <cocoa@apple-dev.groups.io> on behalf of "Graham Cox via groups.io"
|
By
Jim Adams
·
#1310
·
|
|
Re: Many new warnings after Xcode upgrade
I’d check to see why it expects < > angle brackets but it seems as if you’ve done all the research.
This seems to point in the right
I’d check to see why it expects < > angle brackets but it seems as if you’ve done all the research.
This seems to point in the right
|
By
Alex Zavatone
·
#1309
·
|
|
Many new warnings after Xcode upgrade
I just updated to XCode 12.1, and my project is throwing a lot of new warnings about “double-quoted include in framework header”. This appears to be because of the build setting “Quoted include
I just updated to XCode 12.1, and my project is throwing a lot of new warnings about “double-quoted include in framework header”. This appears to be because of the build setting “Quoted include
|
By
Graham Cox
·
#1308
·
|