|
Weird crash with Mojave, no crash on High Sierra
Way back when I dabbled around with ObjC (that was in 2002!) I created a small app that shows images from disk. About a year ago I upgraded this app to 64bit and ARC. This went well after a bit of
Way back when I dabbled around with ObjC (that was in 2002!) I created a small app that shows images from disk. About a year ago I upgraded this app to 64bit and ARC. This went well after a bit of
|
By
Markus Ruggiero
·
#1087
·
|
|
Re: Mysterious build warning with .xib file
I played with this a bit more. It turns out that the bug is “transient”, in the sense that if you quit Xcode and relaunch, it picks up the correct deployment target.
I played with this a bit more. It turns out that the bug is “transient”, in the sense that if you quit Xcode and relaunch, it picks up the correct deployment target.
|
By
Quincey Morris
·
#1086
·
|
|
Re: NSDraggingSession distorts the images I give it
I'm glad I could help. It's just one of those things I've run into myself a million times - I _think_ I've checked all my assumptions when I'm debugging something, and end up off in the weeds (for
I'm glad I could help. It's just one of those things I've run into myself a million times - I _think_ I've checked all my assumptions when I'm debugging something, and end up off in the weeds (for
|
By
Jon Gotow
·
#1085
·
|
|
Re: NSDraggingSession distorts the images I give it
Hi Jon,
Turns out you’re right - the images were NOT square - they vary. It just so happened that the first image in my selection was square, and that’s what I observed in the debugger. Since it
Hi Jon,
Turns out you’re right - the images were NOT square - they vary. It just so happened that the first image in my selection was square, and that’s what I observed in the debugger. Since it
|
By
Graham Cox
·
#1084
·
|
|
Re: NSDraggingSession distorts the images I give it
I’m just relating what I’m observing in the video. Each icon is getting stretched vertically not by a uniform factor, but so that the drawn elements exactly fit the given bounds. Honestly, it
I’m just relating what I’m observing in the video. Each icon is getting stretched vertically not by a uniform factor, but so that the drawn elements exactly fit the given bounds. Honestly, it
|
By
Jon Gotow
·
#1083
·
|
|
Re: NSDraggingSession distorts the images I give it
Hi Jon,
The images are square - the rect returned by -imageRectForItemAtIndex is used to render them in the view as well as supplying the frame to the NSDraggingItem. That’s why it seems odd to me
Hi Jon,
The images are square - the rect returned by -imageRectForItemAtIndex is used to render them in the view as well as supplying the frame to the NSDraggingItem. That’s why it seems odd to me
|
By
Graham Cox
·
#1082
·
|
|
Re: NSDraggingSession distorts the images I give it
Oh, my bad. I mean the drawing code within libItem.previewImage.
- Jon
Oh, my bad. I mean the drawing code within libItem.previewImage.
- Jon
|
By
Jon Gotow
·
#1081
·
|
|
Re: NSDraggingSession distorts the images I give it
Judging from the video, your images are not square. It looks like they're only as large as they need to be to contain the drawn item, and are getting stretched to fit your square NSDraggingItem
Judging from the video, your images are not square. It looks like they're only as large as they need to be to contain the drawn item, and are getting stretched to fit your square NSDraggingItem
|
By
Jon Gotow
·
#1080
·
|
|
NSDraggingSession distorts the images I give it
I’m modernising some old code that does drag and drop the old, simple and perfectly functional (but deprecated) way.
The new way seems twice as complicated to me, but hey-ho.
Anyway, I’m creating
I’m modernising some old code that does drag and drop the old, simple and perfectly functional (but deprecated) way.
The new way seems twice as complicated to me, but hey-ho.
Anyway, I’m creating
|
By
Graham Cox
·
#1079
·
|
|
Re: Mysterious build warning with .xib file
Hmmm, oh well, I guess I’ll just live with it. Bigger fish to fry and all that.
Thanks!
—Graham
Hmmm, oh well, I guess I’ll just live with it. Bigger fish to fry and all that.
Thanks!
—Graham
|
By
Graham Cox
·
#1078
·
|
|
Re: Mysterious build warning with .xib file
I see similar results. It looks like a bug.
If I set “Builds for” to “Deployment Target”, it shows the wrong deployment target (10.13 instead of 10.11), or if I choose a popup setting later
I see similar results. It looks like a bug.
If I set “Builds for” to “Deployment Target”, it shows the wrong deployment target (10.13 instead of 10.11), or if I choose a popup setting later
|
By
Quincey Morris
·
#1077
·
|
|
Re: Mysterious build warning with .xib file
That has happened to me when I've forgotten to change the OS targets for (1) all the xibs and (2) the project itself. But it sounds like you've got all that covered...
-Carl
That has happened to me when I've forgotten to change the OS targets for (1) all the xibs and (2) the project itself. But it sounds like you've got all that covered...
-Carl
|
By
Carl Hoefs
·
#1076
·
|
|
Mysterious build warning with .xib file
Can anyone explain this? I’m getting the following warning in my build:
But when I look at the file info for that .xib file:
And the deployment target in the target as a whole:
Am I missing
Can anyone explain this? I’m getting the following warning in my build:
But when I look at the file info for that .xib file:
And the deployment target in the target as a whole:
Am I missing
|
By
Graham Cox
·
#1075
·
|
|
BGTaskScheduler blocks when build with Xcode 11.2
I have an iOS app (iOS 12.4+) which did work on iOS 12.4 … iOS 13.2 when build with Xcode 11.1.
Now I have upgraded to Xcode 11.2 and the app no longer works on iOS 13.2 devices.
When I
I have an iOS app (iOS 12.4+) which did work on iOS 12.4 … iOS 13.2 when build with Xcode 11.1.
Now I have upgraded to Xcode 11.2 and the app no longer works on iOS 13.2 devices.
When I
|
By
Gerriet M. Denkmann
·
#1074
·
|
|
Re: Puzzle with Hardened Runtime entitlement
On Mon, Nov 4, 2019 at 03:52 AM, Sak Wathanasin wrote:
That and the dozen or so pop-ups asking for permission that appear as soon as our app launches - all it does is condition the user to press
On Mon, Nov 4, 2019 at 03:52 AM, Sak Wathanasin wrote:
That and the dozen or so pop-ups asking for permission that appear as soon as our app launches - all it does is condition the user to press
|
By
Leo
·
#1073
·
|
|
Re: Puzzle with Hardened Runtime entitlement
Yup; in our manually-signed app, we just set it to "none" from the pop-up
Completely agree - we use a python script, but whatever works for you
I've spent days, if not weeks to get our CI build to
Yup; in our manually-signed app, we just set it to "none" from the pop-up
Completely agree - we use a python script, but whatever works for you
I've spent days, if not weeks to get our CI build to
|
By
Sak Wathanasin
·
#1072
·
|
|
Entitlement that allows app to run scripts that target any app
I have an app that can launch apps and scripts. A script might target any app, so I can't use com.apple.security.temporary-exception.apple-events and add an app identifier for every possible app in
I have an app that can launch apps and scripts. A script might target any app, so I can't use com.apple.security.temporary-exception.apple-events and add an app identifier for every possible app in
|
By
Steve Mills
·
#1071
·
|
|
Re: Puzzle with Hardened Runtime entitlement
I don't have an answer to your particular situation, sadly, but man do I understand your pain!
I can only mention two things:
-As far as I understand, provisional profiles are not required for Mac
I don't have an answer to your particular situation, sadly, but man do I understand your pain!
I can only mention two things:
-As far as I understand, provisional profiles are not required for Mac
|
By
Leo
·
#1070
·
|
|
Re: Puzzle with Hardened Runtime entitlement
This isn’t, by any chance, one of those “ancient” apps that use an app ID whose prefix ISN’T your developer team ID? If so, that might have something to do with why it doesn’t work.
This isn’t, by any chance, one of those “ancient” apps that use an app ID whose prefix ISN’T your developer team ID? If so, that might have something to do with why it doesn’t work.
|
By
Quincey Morris
·
#1069
·
|
|
Re: Puzzle with Hardened Runtime entitlement
I checked that, and it’s turned on in the build settings.
There’s another oddity, which is probably the real cause.
In “signing and capabilities”, I have it set for Xcode to manage
I checked that, and it’s turned on in the build settings.
There’s another oddity, which is probably the real cause.
In “signing and capabilities”, I have it set for Xcode to manage
|
By
Graham Cox
·
#1068
·
|