Questions tagged [xcode11.4]

109 questions
3
votes
2 answers

Swift: Stack View not showing complete subviews

I have a subview: Here is the sub class of that view: class MyView: UIView { public init(){ super.init(frame: .zero) } required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } } On my main view…
user2924482
  • 8,380
  • 23
  • 89
  • 173
3
votes
0 answers

Do I need to "Embed" Standard Frameworks such as AdSupport.framework?

I have added the AdSupport.framework to my XCode project with "Do Not Embed" to use with Firebase Analytics. This was done under the prior knowledge that standard iOS frameworks are already present on iOS devices, thus I would not have to set it to…
cauende
  • 135
  • 1
  • 11
3
votes
1 answer

How to change simulator device in xcode 11.4?

xcode 11.4 has removed the standard "hardware" and device options from Simulator. How to open an existing device or create a new device? Here is the new simulator menu: In xcode 11.4, Windows > Devices and Simulators, there is no option to launch…
jerrymouse
  • 16,964
  • 16
  • 76
  • 97
3
votes
1 answer

Editable Swift package in Xcode project?

I'm working on a few different apps in Xcode, and I use a Swift package for my "common" library. In each project, I add the common Swift package by going to the project's "Swift Packages" (next to "Info" and "Build Settings") and entering a local…
Rob N
  • 15,024
  • 17
  • 92
  • 165
3
votes
0 answers

Xcode 11.4 font smoothing on non-retina displays

I found that Xcode 11.4 not smooth fonts as Xcode 11.3. Please see attached screenshot. I tried any kind of AppleFontSmoothing values, but it does not effect on Xcode 11.4 Does anybody know how to smooth fonts in Xcode 11.4?
2
votes
1 answer

My App doesn't work on the release mode after upgraded to the Xcode 11.4 or later

I've faced an issue when I've updated the Xcode version to 11.4 or later. The project works fine in the debug mode. A key pair was created then data signed through the private key and send it to the server. Finally, the server can verify sign data…
Reza Dehnavi
  • 2,256
  • 3
  • 16
  • 30
2
votes
2 answers

Infinite Loop and Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffeedaec488)

I'm getting a Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffeedaec488) at the array for tabBar.viewControllers = [cameraVC, galleryVC] and in my console I'm getting my username endlessly printed out, which comes from a different class. The first…
Gryffin
  • 99
  • 1
  • 8
2
votes
0 answers

storyboard is displayed differently on simulator ipad in swift

I have an app that was previously made for iPhone before, so i recently added an iPad storyboard, i followed some of the answers to related questions guidelines e.g targetRuntime="iOS.CocoaTouch"and change it to…
2
votes
0 answers

AppIcon and name not getting reflected in Apps using Apple signin page under iPhone settings - iOS

I'm using apple sign-in feature in my app. When check the details of my app in "apps using your Apple Id" page in iPhone settings my app name and Icon is not getting updated there. Please refer the below image. I'm using Xcode 11.4.1 and add all the…
2
votes
0 answers

SwiftUI Image not shown in xcode preview canvas

I have added custom target as a framework to use in my codebase. I can't see image in preview canvas. When I run in simulator, image is there. VStack(alignment: .leading) { Text("Hello World") Image("icon_star") …
selcuk
  • 73
  • 1
  • 10
2
votes
1 answer

How to create Generic if @EnvironmentObject?

I've recently come across the need to write a Mock of a Class, as it causes the SwiftUI preview from working. Unfortunately, I get the error: Property type 'T' does not match that of the 'wrappedValue' property of its wrapper type…
punkbit
  • 7,347
  • 10
  • 55
  • 89
2
votes
1 answer

EXC_BAD_ACCESS error while running merge sort recursion algorithm

I tried to run my merge sort algorithm using recursion program on Xcode11 for MacOSx but I'm getting the following error - Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffeef3ffff8) I'm not able to find the solution for this. Please find below the…
2
votes
1 answer

Xcode 11.4 - Why my application size is increased from 8 MB to 80 MB with just iOS 12.0 support

I just add changed the target from 13.4 - 12.0 and my app size is size from 8 MB to 80 MB. Can I reduce the size again with iOS 12 support?
junaidsidhu
  • 3,539
  • 1
  • 27
  • 49
2
votes
0 answers

No such module 'React' - Integrating React Native into existing apps

I'm trying to add React Native into an existing iOS app developed in Swift. I created a new Swift project and followed the instructions at the official documentation: At the "Code Integration" step of this documentation, when I try to "import…
0xmtn
  • 2,625
  • 5
  • 27
  • 53
2
votes
1 answer

Xcode 11.4.1 - Loading a LaunchScreen Image from Assets Folder

I just would like to set a LaunchScreen image using an image from the Assets.xcassets file. In Assets.xcassets, I'm adding a "New iOS Launch Image", and provide the image in PNG. In Project > General > App Icons and Launch Images, I have the…
itsafox
  • 71
  • 2
  • 5