Posts

Post not yet marked as solved
1 Replies
694 Views
I have found a bug in iPadOS 15 in a UIKit app that is a legacy Objective-C app. This app has full screen presentation and uses UINavigationView at the top level, from the UIApplicationDelegate. In the UIApplicationDelegate the UINavigationBar is hidden, and does not become visible again in the app. This app has functioned correctly for years, but recently I decided to try adding a hosted SwiftUI view as a view controller component. The way this works is that I create a Container view controller that hosts the SwiftUI UINavigationController - ParentUIViewController - ContainerUIViewController - HostingViewController - SwiftUI View. The ContainerUIViewController contains logic for instantiating the hosted SwiftUI view and performing correct child view controller insertion and removal from the container. This worked on iPadOS 14, but on iPadOs 15 the presentation of the hosted SwiftUI view causes the NavigationBar to appear. Once presented it cannot be hidden by commands to hide the bar on any of the views in the hierarchy, it is persistent. I've tried hiding on the SwiftUI hosted view, and on the container and everywhere I can see that makes sense. It will take some time to create a sample app so I can send this to Apple as a defect, if anyone in the meantime has come across this or has a solution that would be great as I'll need to switch back to UIKit for all my view controllers if this is not resolvable without an iPadOS upgrade.
Posted
by russet.
Last updated
.
Post not yet marked as solved
1 Replies
9.3k Views
Working with Catalina : 10.15.7 Xcode 12.1 (12A7403) Everything has been working fine, then quite randomly I started getting this error, I have not been changing any script or build settings, just writing Swift code. Then I get this error. With this message /bin/sh -c /Users/paul/Library/Developer/Xcode/DerivedData/MyApp-dvgzffodquwdbzcirkguqcsshyys/Build/Intermediates.noindex/Foliobook.build/Debug-iphoneos/MyApp.build/Script-DA29D50E1BFDDC03008D6B47.sh The file couldn’t be saved. Command PhaseScriptExecution failed with a nonzero exit code The file couldn’t be saved. I've tried the obvious things, removing derived data, checking that the disk has enough space (64Gb) restarting Xcode, restarting the machine. Locking and unlocking the keychain. Sacrificing a small mammal to the swift gods... still no change The message 'the file couldn't be saved' makes me think of permissions or some kind of resource limitation, but I don't know which file is being referred to. I also get after this Generate MyApp.app.dSYM 1.2 seconds Which implies the output was created.
Posted
by russet.
Last updated
.
Post not yet marked as solved
1 Replies
591 Views
I downloaded the code sample titled "Creating a game with scene understanding" related to the WWDC-20 session on advances in RealityKit. I have the latest beta of XCode-12, but the sample code will not compile and I get the error "Cannot find type 'DebugModelComponent' in scope Indeed this is not found in a project wide search, and it is not a part of RealityKit. The only reference to it is in RealityKit+Helpers.
Posted
by russet.
Last updated
.
Post not yet marked as solved
0 Replies
360 Views
I want to add an upsell link to my app for a new application I am releasing shortly. The purpose is for use on the iPad platform, iOS 11 onwards. When I open an app store URL (using openURL and the correct Appstore URL), the AppStore app on iOS 13 is opened to the correct page. Then in a fraction of a second, the Appstore app pops the app page off the navigation stack and displays the "Today" tab.The user can't then navigate to the app I'm trying to promote without making the effort to search manually in the Appstore. As it is unlikely they will easily remember the right search terms as they've arrived by clicking an url, I suspect few will easily find the new app. This does not happen in iOS 11, so I guess it's a bug in the Appstore app on iOS 13. I tried using URL's to apps both currently installed and one that is not installed and although it happens less often with a non-installed app, it does occasionally happen with that as well. Maybe in the real situation this will be less of an issue, but where it does happen its a potential decimator of conversions. Has anyone else experienced this issue?
Posted
by russet.
Last updated
.