Post

Replies

Boosts

Views

Activity

App Store app not available in your country or region when accessed from Swift
I have a Swift 5.0 iOS app in Xcode 13 targeting iOS 14 where I try to access the Google Photoscan app programmatically using the following code running on an iPhone 8 with iOS 16 let photoScanURLString1 = "https://apps.apple.com/au/app/photoscan-by-google-photos/id116552994"             UIApplication.shared.open(NSURL(string:photoScanURLString1)! as URL) This takes me to the App Store and shows the message "This app is currently not available in your region or country", which is en-AU, but does not go to the App page and let me download. The same behaviour is observed if I enter the URL photoScanURLString1 into Safari on the iPhone. However, if I click the URL in a mail message I can download the app, and if I search for Google Photoscan in the App Store app I can download it OK. How can I download the app from the App Store programmatically without changing my region in the iPhone settings?
1
0
1.1k
Sep ’22
Main storyboard not visible in XCode
The Main storyboard in an Xcode 14.01 Swift project workspace shows all panels as blank, Opening the Main.storyboard file (in Base.lproj folder) with Xcode shows it as expected but it appears blank when loaded into the project. Removing and adding the file does not show its content in Xcode.
1
0
2.1k
Oct ’22
Time Machine Disk does not Mount on 2019 MacBook Pro
I have been using an "Elements SE" 1 Tb USB hard drive for Time Machine backup on a 2012 MacBook Pro running Catalina, where it worked OK. When I plug the drive into a 2019 MacBook Pro running Monterey, Time Machine cannot write to it as it appears as read-only. Whe I try and inspect the disk using Disk Utility it appears as unmounted, and greyed out, and the Mount button is greyed out. First Aid on the disk fails. What do I have to do to make it useable by Time Machine on the 2019 MacBook Pro?
1
0
1k
Oct ’22
Regular Panel will not close
I have an Objective-C app running on MacOS using XCode 14.1, in which there are 3 levels of form. The Level 2 form is opened from an action with a makeKeyAndFront action from a button. The Level 3 form is a regular panel opened from the level 2 form in a similar way. The level 3 form can be closed normally if no action changes the level 2 form. However, if an image is loaded into an NSImageView control on the level 2 form, the level 3 form can be displayed but cannot be closed by clicking on the red x button which normally performs this function. The level 3 form can be minimised. What do I have to do to allow the level 3 form to be closed in this situation?
1
0
811
Nov ’22
iOS App does not appear in App Store search results
I have an new iOS app called CaptionEdit. I have set a number of different keywords for it in App Store Connect including 'caption photos' and 'add text to photos'. However, if I type either of these these phrases into the iOS App Store search box, my app does not appear in the 150+ results at all, even though the bottom-ranking apps (like mine) have no ratings or reviews. App Store connect indicates that my app has had 29 downloads over the past month and 5 over the past 7 days. Is the absence of my app in search results from a keyword due to apps requiring a minimum number of downloads over an averaging period to even appear in keyword search results? (The app does appear if use the app name as a search term).
1
1
1.1k
Nov ’22
NSSplitView divider not visible
I have an Xcode 12.3 XIB project using Objective C running on Catalina with a panel to which I have added a vertical split view of type NSSplitview using default attributes. The split view divider is not visible when I run the application, but objects placed in each pane of the NSSplitview are. The invisible divider (there is no change in the cursor when moving over where the divider should be) means that NSSplitview does not work. If a create a new XIB project, an NSSplitview control added to a panel is visible OK, so I think there is something about the parent project which is upsetting NSSplitview.
0
0
454
Jul ’21
Cannot show class-level rectangle properties
In an Objective C project for MacOS using XCode 12.3 I define variables of various types including NSRect and CGFloat at the start of a class implementation region so that they are accessible from all methods. When I add a breakpoint in a method, some of the variables can be displayed by hovering the cursor over the variable in the code window or examining the variables window. However, some class-level variables are not shown in the variables window or by hovering over them. Attempting to examine then using po in the debugger console shows an undeclared variable error. Class-level variables of type CGFloat which are assigned are visible but not variables that do not have values assigned. None of the objects class NSRect appearing on the RHS of assignments are visible when hovering over the or by using po in the debugger console.
0
0
571
Aug ’21
Cannot copy image and save with modified metadata
I would like to be able to select a photo in iOS using Swift from the Photos library using UIImagePicker and copy all the image (with modified Exif metadata) to a new photo which I save in Photos. If I use UIActivityViewController to choose the save option (from copy/save/assign to contact/print/add to shared album/save to file), the input image Exif metadata is not transferred when I create a new UIimage from the loaded image data with the modified metadata. How can get the image with modified Exif metadata attached to the saved photo?
0
0
697
Apr ’22
Has application toolbar height changed since Catalina?
I have developed a MacOS app with a toolbar in Catalina running on a 2013 Macbook Pro and the toolbar height is sufficient to show all icons in half the screen as shown below: However a user has reported that their toolbar appears as shown below, where the toolbar is reduced in height and the icons so widely spaced that some are not shown and appear as pop-up menu items which are disabled. Is this a consequence of using a newer OS than Catalina? Is there a way of increasing the toolbar height so that all icons are shown in newer versions of MacOS?
0
0
518
May ’22
Problems running Xcode 13.4 on Monterey
I have an Objective-C app which ran OK on Catalina in Xcode 12.3 on a 2012 Macbook Pro. Since App Store will now only accept apps developed on Xcode 13, which does not run on Catalina (the newest OS that the 2012 Macbook will support) I purchased a 2019 Macbook running Monterey, in which I have Xcode 13.4.1 installed. When I run Xcode in Monterey it is much faster ( despite the slower clock rate of the 2019 machine) but a number of bugs have appeared. The major one is that a toolbar created in Interface Builder on Xcode 12.3 is not correctly formatted in an application built from Xcode 13.4.1, even though it appears OK in design mode. This bug was fixed by re-creating the toolbar in Xcode 13.4.1. When running in Xcode 13.4.1, Menu options sometimes do not appear at all and if they do appear, they only show when the touchpad is pressed and held down - they disappear if it stops being pressed. This applies to the Apple menu items as well. If the app is closed in Xcode, the Apple menu items appear normally. Other apps have their menus appearing and responding normally. If a toolbar item is clicked to show an NSPanel (via [ setIsVisible:true]; in this state, the NSPanel may not be shown and cannot be closed by clicking the red dot at the top LH corner. If the app is in the state where menus are not shown when the touchpad is clicked, adding a breakpoint in an action and resuming execution with ctrl-cmd-Y sometimes changes the app state so that menu items are shown as expected. Restarting Xcode does not change the app state, and nor does restarting the Mac or cleaning the build folder.
0
0
461
Aug ’22
Menu sometimes not functional when running app in Xcode
When running an Objective C app in Xcode 13.4 on Monterey on a 2019 MacBook Pro , app menu options sometimes only appear for as long the touchpad is pressed and the app is not responsive to menu selections. The Apple menu behaves similarly. The app can only be closed by stopping the run in Xcode. This behaviour is not reproducible - sometimes the menu appears normally.
0
0
503
Aug ’22
App Store app not available in your country or region when accessed from Swift
I have a Swift 5.0 iOS app in Xcode 13 targeting iOS 14 where I try to access the Google Photoscan app programmatically using the following code running on an iPhone 8 with iOS 16 let photoScanURLString1 = "https://apps.apple.com/au/app/photoscan-by-google-photos/id116552994"             UIApplication.shared.open(NSURL(string:photoScanURLString1)! as URL) This takes me to the App Store and shows the message "This app is currently not available in your region or country", which is en-AU, but does not go to the App page and let me download. The same behaviour is observed if I enter the URL photoScanURLString1 into Safari on the iPhone. However, if I click the URL in a mail message I can download the app, and if I search for Google Photoscan in the App Store app I can download it OK. How can I download the app from the App Store programmatically without changing my region in the iPhone settings?
Replies
1
Boosts
0
Views
1.1k
Activity
Sep ’22
Main storyboard not visible in XCode
The Main storyboard in an Xcode 14.01 Swift project workspace shows all panels as blank, Opening the Main.storyboard file (in Base.lproj folder) with Xcode shows it as expected but it appears blank when loaded into the project. Removing and adding the file does not show its content in Xcode.
Replies
1
Boosts
0
Views
2.1k
Activity
Oct ’22
Time Machine Disk does not Mount on 2019 MacBook Pro
I have been using an "Elements SE" 1 Tb USB hard drive for Time Machine backup on a 2012 MacBook Pro running Catalina, where it worked OK. When I plug the drive into a 2019 MacBook Pro running Monterey, Time Machine cannot write to it as it appears as read-only. Whe I try and inspect the disk using Disk Utility it appears as unmounted, and greyed out, and the Mount button is greyed out. First Aid on the disk fails. What do I have to do to make it useable by Time Machine on the 2019 MacBook Pro?
Replies
1
Boosts
0
Views
1k
Activity
Oct ’22
Regular Panel will not close
I have an Objective-C app running on MacOS using XCode 14.1, in which there are 3 levels of form. The Level 2 form is opened from an action with a makeKeyAndFront action from a button. The Level 3 form is a regular panel opened from the level 2 form in a similar way. The level 3 form can be closed normally if no action changes the level 2 form. However, if an image is loaded into an NSImageView control on the level 2 form, the level 3 form can be displayed but cannot be closed by clicking on the red x button which normally performs this function. The level 3 form can be minimised. What do I have to do to allow the level 3 form to be closed in this situation?
Replies
1
Boosts
0
Views
811
Activity
Nov ’22
iOS App does not appear in App Store search results
I have an new iOS app called CaptionEdit. I have set a number of different keywords for it in App Store Connect including 'caption photos' and 'add text to photos'. However, if I type either of these these phrases into the iOS App Store search box, my app does not appear in the 150+ results at all, even though the bottom-ranking apps (like mine) have no ratings or reviews. App Store connect indicates that my app has had 29 downloads over the past month and 5 over the past 7 days. Is the absence of my app in search results from a keyword due to apps requiring a minimum number of downloads over an averaging period to even appear in keyword search results? (The app does appear if use the app name as a search term).
Replies
1
Boosts
1
Views
1.1k
Activity
Nov ’22
How can I pad an NSImage with white pixels in Objective-C?
I have an NSImage that I would like to pad out with white pixels. How can I do this?
Replies
1
Boosts
0
Views
997
Activity
Nov ’22
UIBarButtonItems in navigation bar do not respond after navigation bar origin changed
The UIbarButtonItems in an iOS/ Swift app navigation bar in a view controller do not respond to clicks after navigation bar origin changed in the viewWillTransition event.
Replies
1
Boosts
0
Views
600
Activity
Nov ’22
NSSplitView divider not visible
I have an Xcode 12.3 XIB project using Objective C running on Catalina with a panel to which I have added a vertical split view of type NSSplitview using default attributes. The split view divider is not visible when I run the application, but objects placed in each pane of the NSSplitview are. The invisible divider (there is no change in the cursor when moving over where the divider should be) means that NSSplitview does not work. If a create a new XIB project, an NSSplitview control added to a panel is visible OK, so I think there is something about the parent project which is upsetting NSSplitview.
Replies
0
Boosts
0
Views
454
Activity
Jul ’21
Cannot show class-level rectangle properties
In an Objective C project for MacOS using XCode 12.3 I define variables of various types including NSRect and CGFloat at the start of a class implementation region so that they are accessible from all methods. When I add a breakpoint in a method, some of the variables can be displayed by hovering the cursor over the variable in the code window or examining the variables window. However, some class-level variables are not shown in the variables window or by hovering over them. Attempting to examine then using po in the debugger console shows an undeclared variable error. Class-level variables of type CGFloat which are assigned are visible but not variables that do not have values assigned. None of the objects class NSRect appearing on the RHS of assignments are visible when hovering over the or by using po in the debugger console.
Replies
0
Boosts
0
Views
571
Activity
Aug ’21
Cannot copy image and save with modified metadata
I would like to be able to select a photo in iOS using Swift from the Photos library using UIImagePicker and copy all the image (with modified Exif metadata) to a new photo which I save in Photos. If I use UIActivityViewController to choose the save option (from copy/save/assign to contact/print/add to shared album/save to file), the input image Exif metadata is not transferred when I create a new UIimage from the loaded image data with the modified metadata. How can get the image with modified Exif metadata attached to the saved photo?
Replies
0
Boosts
0
Views
697
Activity
Apr ’22
Has application toolbar height changed since Catalina?
I have developed a MacOS app with a toolbar in Catalina running on a 2013 Macbook Pro and the toolbar height is sufficient to show all icons in half the screen as shown below: However a user has reported that their toolbar appears as shown below, where the toolbar is reduced in height and the icons so widely spaced that some are not shown and appear as pop-up menu items which are disabled. Is this a consequence of using a newer OS than Catalina? Is there a way of increasing the toolbar height so that all icons are shown in newer versions of MacOS?
Replies
0
Boosts
0
Views
518
Activity
May ’22
No AppName.dSym file generated in App Archive by Xcode 13
No AppName.dSym file is generated in App Archive by Xcode 13 using the default settings ported from Xcode 12. Has a setting been lost which enables symbol creation?
Replies
0
Boosts
0
Views
389
Activity
Aug ’22
Problems running Xcode 13.4 on Monterey
I have an Objective-C app which ran OK on Catalina in Xcode 12.3 on a 2012 Macbook Pro. Since App Store will now only accept apps developed on Xcode 13, which does not run on Catalina (the newest OS that the 2012 Macbook will support) I purchased a 2019 Macbook running Monterey, in which I have Xcode 13.4.1 installed. When I run Xcode in Monterey it is much faster ( despite the slower clock rate of the 2019 machine) but a number of bugs have appeared. The major one is that a toolbar created in Interface Builder on Xcode 12.3 is not correctly formatted in an application built from Xcode 13.4.1, even though it appears OK in design mode. This bug was fixed by re-creating the toolbar in Xcode 13.4.1. When running in Xcode 13.4.1, Menu options sometimes do not appear at all and if they do appear, they only show when the touchpad is pressed and held down - they disappear if it stops being pressed. This applies to the Apple menu items as well. If the app is closed in Xcode, the Apple menu items appear normally. Other apps have their menus appearing and responding normally. If a toolbar item is clicked to show an NSPanel (via [ setIsVisible:true]; in this state, the NSPanel may not be shown and cannot be closed by clicking the red dot at the top LH corner. If the app is in the state where menus are not shown when the touchpad is clicked, adding a breakpoint in an action and resuming execution with ctrl-cmd-Y sometimes changes the app state so that menu items are shown as expected. Restarting Xcode does not change the app state, and nor does restarting the Mac or cleaning the build folder.
Replies
0
Boosts
0
Views
461
Activity
Aug ’22
Menu sometimes not functional when running app in Xcode
When running an Objective C app in Xcode 13.4 on Monterey on a 2019 MacBook Pro , app menu options sometimes only appear for as long the touchpad is pressed and the app is not responsive to menu selections. The Apple menu behaves similarly. The app can only be closed by stopping the run in Xcode. This behaviour is not reproducible - sometimes the menu appears normally.
Replies
0
Boosts
0
Views
503
Activity
Aug ’22
How can Iaunch an image processing app with a selected photo from Photos?
I have an image processing app for iOS that I would like to able to launch from Photos with a selected photo via the Share icon, in the same way that Messages, Mail and Notes (and a number of other apps) can be launched. How can I do this?
Replies
0
Boosts
0
Views
695
Activity
Dec ’22