Questions tagged [xcode10.1]

193 questions
2
votes
2 answers

Unable to open Xcode 10.1. Getting Package Authoring Error

There are two Xcode 10.1 and 11 installed on my Mac wherein 10.1 is default one. I was able to open project using Xcode 10.1 until few hours ago. However, after restarting my mac I'm facing strange issue as described below: Package Authoring Error:…
Jayprakash Dubey
  • 35,723
  • 18
  • 170
  • 177
2
votes
4 answers

Adding Lottie Animation in iOS

I'm new to Lottie library and trying to integrate a simple animation. I have my animated json at folder Resources->Json->LottieAnimations->checkMark.json I have installed Lottie via pod install and its current version is 3.1.0. In my storyboard I…
Francis F
  • 3,157
  • 3
  • 41
  • 79
2
votes
0 answers

React native Ios app crashes on ios 12.1 or below

We have a react native app which is getting crashed on launch in prod live store when installed on ios 12.1 or below. Though it works fine on ios 12.2 I am not sure what could be the problem as it seems impossible. Has anyone faced this issue? I…
Faizal Shap
  • 1,680
  • 1
  • 11
  • 26
2
votes
2 answers

'*** -[__NSSingleObjectArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]'

After upgrade from swift3 to swift4, xcode9 to xcode10.1, App stop working when tapped on one button (it worked fine in swift3 and xcode9) And give warning: reason: '*** -[__NSSingleObjectArrayI objectAtIndex:]: index 1 beyond bounds [0 ..…
darkfruitmilk
  • 79
  • 1
  • 8
2
votes
1 answer

Play click sound whenever I tap on my whole app inside

In my app, for a button click or any tap I need to play one beep sound on user click or tap. I added this code in AppDelegate: var audioPlayer: AVAudioPlayer? func playSound() { let audioFileURL = Bundle.main.url(forResource:…
tivin does
  • 23
  • 5
2
votes
1 answer

Xcode 10.1 "return" statement doesn't stop function execution

The return statement in Xcode 10.1 is not honoured by debugger, For eg., func doSomething() { print("Task A") return print("Task B") } This prints Task A Task B //This is not expected to be printed as we have a…
Saif
  • 2,678
  • 2
  • 22
  • 38
2
votes
1 answer

substring(from:)' is deprecated. Use string slicing subscript with a 'partial range from' operator

I have just coverted an app from swift3 to swift4.2 on Xcode 10.1 I am in the process of fixing some of the many errors that have appeared. Apparently substring(from:)' is deprecated. Use string slicing subscript with a 'partial range from'…
Johny D Good
  • 427
  • 1
  • 8
  • 26
2
votes
0 answers

Xcode 10.1 Debugger not working with introduction of frameworks

Recently I introduced a second app target to my Xcode project and split a great portion of my codebase into frameworks. All was working fine initially, but as I created more frameworks my debugger stopped working. My project is incredibly large with…
2
votes
2 answers

System Alert not appearing in element tree in iOS12

For iOS11, I used the following to access the Face Not Recognized system alert within my UI Test: XCUIApplication(bundleIdentifier: "com.apple.springboard").alerts.firstMatch This is not working for me in iOS12. The alert is not showing up anymore…
reutsey
  • 1,743
  • 1
  • 17
  • 36
2
votes
1 answer

"Has no segue with identifier" error occurs only when performSegue is called on `tableView (_: didSelectRowAt:)`

I'm struggling the whole day to fix "has no segue with identifier" error and got stuck. Error message: SegueTest[41862:1585831] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver…
2
votes
0 answers

iOS app crashes upon clicking local notification generated by background task in app delegate

I am running network task in background mode. when app is in foreground on physical phone. when click on simulate background fetch from debug menu ion Xcode, app disappears and network task (configured in application…
eureka
  • 67
  • 9
2
votes
0 answers

Error: Error code 70 for command: xcodebuild with args: EXPORT FAILED

My CLI info: Cordova CLI: 6.5.0 Ionic Framework Version: 1.3.4 Ionic CLI Version: 1.7.16 Ionic App Lib Version: 0.7.3 ios-deploy version: 2.0.0 ios-sim version: 7.0.0 OS: Mac OS X El Capitan Node Version: v6.10.2 Xcode version: Xcode 10.1 Build…
Riddhi Mistry
  • 31
  • 1
  • 9
2
votes
1 answer

Updating to latest master directly in Xcode's github integration

Consider the following common scenario Two developers created two branches from the same revision of the master One branch then was merged into master Second developer wants to keep working on his second branch, but second branch needs to be…
timbre timbre
  • 12,648
  • 10
  • 46
  • 77
2
votes
1 answer

How to view NSLog output of XCUITest and my app at the same time?

I can perfectly view NSLog lines in my Xcode 10.1 output window of my XCUItest, but I'm not able to see NSLog lines of my actual app/code in the output window. How can I see NSLog output of my app and my testing at the same time in one window? And…
Lateralus
  • 21
  • 2
2
votes
3 answers

Missing architecture. Apps built with Watch OS 5.0 and later SDKs must contain additional architectures

ERROR ITMS-90733 The WatchApp target is using “armv7k” under valid architectures; and the WatchApp Extension is using both “armv7k” and “i386” under valid architectures. When I build and try to deploy and build to the AppStoreConnect, I get the…
mhamdouchi
  • 21
  • 6