Questions tagged [swift4.1.5]

Use this tag only for questions directly related to changes in version 4.1.5 of Apple's Swift programming language. Use the tag [swift] for more general language questions, or the tags [ios], [cocoa], [apple-watch] etc. for questions about developing on Apple platforms.

8 questions
28
votes
4 answers

Cannot invoke initializer for type 'Range' with an argument list of type '(Range)'

After updating to Xcode 10 beta, which apparently comes with Swift 4.1.50, I'm seeing the following error which I'm not sure how to fix: Cannot invoke initializer for type 'Range< String.Index>' with an argument list of type '(Range<…
LinusGeffarth
  • 27,197
  • 29
  • 120
  • 174
17
votes
5 answers

Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50: Xcode 10 Error

Swift 4.2 came out and I'm receiving this error message in my project when using ObjectMapper and some other pods too: Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50 So how do I tell Xcode to start updating my project and…
Sahil Kapoor
  • 11,183
  • 13
  • 64
  • 87
2
votes
0 answers

command Phase swift execution error while i try to run my project in my device

Hai When i tried to run my code in my device i got the below error./usr/bin/codesign --force --sign 13A01D0D81E2B38716BB9676A4AC64A9D4D91318 --preserve-metadata=identifier,entitlements…
2
votes
2 answers

Module compiled with Swift 4.1 cannot be imported in Swift 4.1.50

I'm using AudioKit 4.3 in XCode 10 but I'm running into this problem while building
Shawn Ma
  • 41
  • 1
  • 5
1
vote
1 answer

Subviews size issue - UIView related sizing in xib

For a layout made of some views stacked in each other, which are all subviews of the UIView and I wanted to know how to automatically size the main UIView which may be multiline once the app is live and updates come in. UIView width is fixed.
Nazo A
  • 25
  • 4
0
votes
0 answers

How to make horizontal and vertical complex view with UIScrollView swift 4

I need to design a view which fast have a horizontal UIScrollview and bottom of fast view has some collection view and horizontal list view. check the image.
Md Tariqul Islam
  • 2,736
  • 1
  • 20
  • 35
0
votes
1 answer

NSSelectorFromString and Selector Struct

I have a Question what is the different between NSSelectorFromString and Selector if i create the selector Using Selector let bSelector = Selector("registerRemoteNotificationWithApplication:") let cSelector = Selector(stringLiteral:…
Bassem Tourky
  • 482
  • 5
  • 12
-1
votes
1 answer

How to open automatically ( without click the notification ) view controller when local notification received

I want when local notification received, automatically view controller / (Ios App) is open whithout click on notification,, is possible or not..? func applicationDidEnterBackground(_ application: UIApplication) { print("EnterBackground.") …