Questions tagged xcode12

Explore the latest questions and answers asked by our top developers.

XCODE Simulator Error After Update to 12.2

I update my system to Xcode 12.2, and sense doing so, I got an error on launching the simulator: If I use my iPhone with the same project, it works fine. Only the simulator crashes. If I make a new project, the simulators work in the new projects. Not sure what to do as I’m […]

By Justin Sinnard
Published
Categorised as swift, xcode, xcode12 Tagged , ,

XCODE Simulator Error After Update to 12.2 Exc_Bad_Access(code=50, address=0x11b40e1ad)

I update my system to Xcode 12.2, and sense doing so, I got an error on launching the simulator: If I use my iPhone with the same project, it works fine. Only the simulator crashes. If I make a new project, the simulators work in the new projects. Not sure what to do as I’m […]

By Justin Sinnard
Published
Categorised as swift, xcode, xcode12 Tagged , ,

Why can I install my app on ios 14.1 but not 14.2?

Ever since installing XCode 12.2, I can’t install our app on simulators running ios 14.2. I downloaded 14.1 and simulators running 14.1 install the app just fine. Tellingly, my coworker does not have this problem even though he’s running the same version of xcode, so a problem with my setup seems likely. I’ve tried uninstalling […]

By dacoinminster
Published
Categorised as ios, ios14, xcode, xcode12 Tagged , , ,

Xcode: "<unknown>:0: error: cannot load module ‘main’ as ‘Swift’" upon trying to compile

Just started using Swift on Xcode. For some reason, anytime I want to compile, it shows the error: <unknown>:0: error: cannot load module ‘main’ as ‘Swift’ The only way I could find to fix it is to either clean build folder or delete build folder myself, then compile. The code I have is just changing […]

By Ranoiaetep
Published
Categorised as swift, xcode, xcode12 Tagged , ,

How can install pod file in aggregate framework in Xcode 12

I am working on custom framework so I create aggregate framework and also I wan to install cocoapods in project so I can able to install cocoapods but when I archive the project at that time "no module found CocoaMQTT"> I am using below script to archive the project . Script #################### Optional Value #################### […]

By Rushabh
Published
Categorised as ios, iphone, swift, xcode12 Tagged , , ,

Trying to access the environment object created inside scene delegate by another scenedelegate function

I have created an environment object in my scendelegate and want to also use it in another function that resides inside my scenedelegate. The code looks as follows: SceneDelegate.swift class SceneDelegate: UIResponder, UIWindowSceneDelegate { var window: UIWindow? //@EnvironmentObject var data: DataFetcher var data = DataFetcher() func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) […]

By TJ D Alessandro
Published
Categorised as environmentobject, ios, swiftui, xcode12 Tagged , , ,

SwiftUI | Customize animation for scrollTo() using ScrollViewReader?

Is there a way to change the default scrolling animation of the ScrollView by using ScrollViewReader? Problem I have tried different things but the animation remained as the default one. withAnimation(.easeInOut(duration: 60)) { // <– Not working (changes nothing) proxy.scrollTo(50, anchor: .center) } As you can see here: (Obviously this is faster than a 1 […]

By Mofawaw
Published
Categorised as ios, swift, swiftui, xcode12 Tagged , , ,

Xcode12 – building for iOS Simulator, but linking in object file built for macOS, file ‘dir/SomeFile.a’ for architecture x86_64

Getting linker error in Xcode 12 when I am trying to build my large iOS app (hybrid, swift+objc). The application is building fine for real device, but It gives linker error when I am trying to run in Simulator directly with Debug configuration. I have tried all possible solutions in other post here, but unfortunately […]

since IOS 14 my app is not displaying images only when with the debugger or a device with iOS 13 also the keyboard won’t show all keys

So I have an app works great in iOS 13 since the release I have this issue with the app in IOS 14 that it shows the keyboard when using an inputs but some or most of the keys are not displayed you can still write with it but you don’t actually know which letter […]

By joel alcantara
Published
Categorised as ios13, ios14, keyboard, swift, xcode12 Tagged , , , ,

Since iOS 14, my app does not display images only when with the debugger or a device with iOS 13. Also, the keyboard won’t show all keys

So I have an app works great in iOS 13, but since the release of iOS 14 I have this issue with the app. It shows the keyboard when using an inputs but some or most of the keys are not displayed — you can still write with it, but you don’t actually know which […]

By joel alcantara
Published
Categorised as ios13, ios14, keyboard, swift, xcode12 Tagged , , , ,
1 2

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq