Questions tagged [xcode11.2.1]

20 questions
2
votes
0 answers

Add New Constraints boxes showing standard and can't enter values in them

It's weird, all of sudden Add To Constraints shows Standard and entering any value inside them isn't accepted. I can change these values from Size inspector. This weird problem happens when I try to pin the subviews to superview. If I position…
Raymond
  • 1,108
  • 13
  • 32
2
votes
1 answer

App crash while app launch in Xcode 11.2.1

Getting me error and crash while app launch. I'm using Websocket.swift ('Starscream') and connection establish in app-delegate. Is there issue due to socket connection? Error:- [DYGLInitPlatform] connection to host has failed: Error…
Shiva_iOS
  • 47
  • 1
  • 6
1
vote
0 answers

how to create glass of transform UIView with horizontal swiping cells in swift?

I tried with iCrousel library but not able to do glass form UIView in swift . I want to create horizontal swiping of cells in list with horizontal scrolling in swift . I wan to create UIView with collection views should swipe left right like…
harsh vyas
  • 41
  • 4
1
vote
1 answer

Xcode: Objective-C build and run from command line

I have the following file: doSomething.m with the following implementation: #import int main(int argc, char * argv[]) { NSString * appDelegateClassName; @autoreleasepool { NSLog(@"main"); } return…
user2924482
  • 8,380
  • 23
  • 89
  • 173
1
vote
0 answers

Xcode: command line error error: no such module 'XCTest'

I'm trying implement unit test in some of my Swift Scripts but I'm getting this error: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XCTest.swiftmodule/x86_64.swiftinterface:6:19:…
user2924482
  • 8,380
  • 23
  • 89
  • 173
1
vote
1 answer

How make UIVIEW corner radius in specific side and different?

I have attached the image. I want create corner radius of UIView. Please look image https://i.stack.imgur.com/AkUuO.png
Shiva_iOS
  • 47
  • 1
  • 6
1
vote
0 answers

Unable to install Enterprise app on iPhone 11 pro max

We are able to install Enterprise app on iPhone 8, iPhone 7, iPhone XR with iOS 13.3 OS version. But the same app unable to install on iPhone 11 pro max. Getting 'Unable to install app' error message. Any idea why this has happened? Any apple…
Kirti Nikam
  • 2,166
  • 2
  • 22
  • 43
1
vote
1 answer

Memory issue while downloading images Swift5 iOS13

Overall memory growth Whenever i get memory warning i'm clearing caches func applicationDidReceiveMemoryWarning(_ application: UIApplication) { print("Memory warning...") imageCache.countLimit = 0 imageCache.totalCostLimit…
Neelam Pursnani
  • 246
  • 3
  • 17
1
vote
0 answers

Xcode 11.2.1 - Table view is not working after update

I am developing a little app where you can add notes to a list using core data. It used to work perfectly fine until the last update to Xcode 11.2.1. Usually, every note appeared in the tableview right after adding it. After the update it did not…
Jakob Wiemer
  • 33
  • 1
  • 7
0
votes
1 answer

Xcode: XCTest cannot no compare two NSArray of numbers

I'm trying to implement a unit test(XCTest) to compare two NSArray objects: Here is my implementation: - (void)testTwoNumsArrays { NSArray *result = @[@20,@20]; NSArray *expecteResult = @[@20,@20]; XCTAssertEqual(result,…
user2924482
  • 8,380
  • 23
  • 89
  • 173
0
votes
0 answers

Xcode 11.2.1 through an error (Cannot find protocol declaration for) on app-Swift.h

I recently migrating Xcode 10.3 - 11.2.1, the project combination of Objective-C and Swift, I fixed most of the issue and finally I stuck in app-Swift.h file. It shows error "Cannot find protocol declaration for". Its working good in Xcode 10.2 not…
Anand3777
  • 448
  • 2
  • 5
  • 16
0
votes
2 answers

Swift: UIButton.currentImage is not working comparing image name

I'm trying to check the image name in the UIButton like this: @IBAction func buttonTapped(_ sender: Any) { if xcodeButton.currentImage == UIImage(named: "xcode") { print("xcode image") } } But I have a break point in the if…
user2924482
  • 8,380
  • 23
  • 89
  • 173
0
votes
1 answer

Couldn't disable dark mode in ios 13 - device specific permission alert based on plist permission text

I have added in plist to disable dark mode for ios 13. UserInterfaceStyle = .light But still am getting dark mode is appearing for plist based on permission alert like , camera and touchid. Please find the attachment of issue How to disable dark…
0
votes
1 answer

xcode Version 11.2.1 storyboard converts 0 constraint to standard

I am facing a problem in xcode Version 11.2.1 for setting constraints of anything inside of storyboard. When I try to put constraint 0, it automatically converts it to the standard. I've attached the screenshot. is there any proper solution to…
Aqeel Ahmad
  • 709
  • 7
  • 20
0
votes
1 answer

There is a class object in the code, but its type is undeclared and cannot be used

Sorry for the title, it may sound confusing, but actually here is the problem. I am using an imported module 'DJISDK' and I have an object in use from that library. When I'm trying to get the type of that object, it gives me the type. …
1
2