Posts

Post marked as solved
5 Replies
WidgetKit is SwiftUI only. Since the view gets archived it uses one of the many advantages the declarative API gives.
Post not yet marked as solved
2 Replies
You define a separate deployment target for your Mac Catalyst app in Xcode. It can be anything after (including) macOS 10.15 where Catalyst was introduced for 3rd party developers.
Post marked as solved
2 Replies
It is not permitted to submit apps to the App Store using beta versions of Xcode. You need to wait for the GM version of Xcode. I think the same applies to the version of macOS, so you need to wait until both are released. You can use macOS Catalina and the most recent version of Xcode from the App Store to release your apps.
Post marked as solved
7 Replies
Hi, you can't submit any apps with beta versions of our developer tools but you can test that your app is ready for iOS 14 when it ships. So I think the answers to your specific questions are: For the release process stay with Xcode 11 and do all your development and release from there. For testing with Xcode 12, you need to download it from developer.apple.com/download. Be sure to not override your existing Xcode 11 installation, I recommend renaming it to Xcode_beta.app. When building with Xcode 12, you also use the iOS 13 SDK for your iOS app but you still deploy to iOS 13 if that's your deployment target. You want to make sure that everything still works when building with Xcode 12, on your iOS 13 devices/simulators and the iOS 14 devices/simulators. Xcode does not change the deployment target automatically. For the upgrade strategy you can prepare all changes in a branch but you need to keep it updated until the GM ships. You can also use 'if #available' in your code to make sure new code only runs on iOS 14.
Post marked as solved
4 Replies
Hi anza, that sounds great! There are many great resources for beginning to develop for Apple platforms. Please take a look at the e-book 'The Swift Programming Language' as well as 'Intro to App Development in Swift' which you can find in the Books.app. Also check out Swift Playgrounds which is available for iPad and macOS. There you can download and go through pre-created playgrounds which teach the basics of the Swift programming language as well as more advanced topics of App Development. There are also many videos from this WWDC and previous years which give great introductions to our developer tools and SDKs.
Post not yet marked as solved
2 Replies
Hi, can you find the device in the 'Devices and Simulators' window that you can open via the menu bar? If yes, does Xcode report any errors that might show the cause why the app can't be launched on the device? Did you try to reconnect the device to your Mac and selected 'Trust' in the dialog that comes up and asks for permission to connect to the Mac?