Questions tagged [xcode9]

This tag should only be used for questions specific to the usage and features of Xcode 9. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific xcode tag. Use tags appropriate for the OS such as ios or macos.

Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. The Xcode development environment bundles the Instruments analysis tool, Simulator, and the OS frameworks in the form of tvOS SDKs, watchOS SDKs, iOS SDKs, and macOS SDKs.

1766 questions
0
votes
1 answer

How is UnrecognizedSelector even possible in Xcode9/Swift4?

The code completion fills in the name of the method inside the #selector( then proceeds to crash at runtime with an error that the selector is unrecognized, (IllegalArgumentException). What was the point of redoing the selector syntax as no longer…
Rob
  • 11,446
  • 7
  • 39
  • 57
0
votes
1 answer

iOS:Debuging universal links

I'm trying to implement universal links but for some reason when I load link from the domain I'm trying to redirect to my app is not working. Here is my apple-app-site-association file: { "applinks": { "apps":…
user2924482
  • 8,380
  • 23
  • 89
  • 173
0
votes
0 answers

iOS 11 Tab Bar items are offset

After upgrading to Xcode 9 and building my app for iOS 11, I have had a problem with the positioning of items in the UITabBar. They are offset to the left (shown in red outline). I am using just a regular UITabBarController and have not done any…
ryanwiesjahn
  • 273
  • 1
  • 12
0
votes
0 answers

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Sigh. Contentview size is zero. error getting xcode 9

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Sigh. Contentview size is zero.' *** First throw call stack: ( 0 CoreFoundation 0x000000010bddc1ab __exceptionPreprocess + 171 …
Nijil Jose
  • 41
  • 5
0
votes
1 answer

How to save an Array in UserDefault

I'm using a UITabBarController to create a contact list, but when I'm trying to save the array to load the data when I restart the app is giving me problems where the data isn't displayed. I'm using UserDefaults to save the data and the restore when…
0
votes
1 answer

Simple IsEqualTo Password, need advice

So Im very new to coding, but I'm trying to make a simple text field where you can enter password, and if that password/string is equal to the password I have set, it will do a action.. here is what I have so far, but it dose not work @IBOutlet…
BlondePK
  • 7
  • 1
  • 6
0
votes
0 answers

Final build macOs, iOS, CoreData and iCloud without AppStore

I was searching but didn’t found the right answer here. How can I make a final build to distribute of a macOS and an iOS App including CoreData and iCloud without using the AppStore? An installation bundle that cotains everything. thanks for your…
donpasquale
  • 115
  • 1
  • 11
0
votes
0 answers

Could not load the "" image referenced from a nib - can it be due to image="imageView:"

I've tried various tips for identifying the source of this error in my code. But so far unsuccessful. It happens when i load a new ViewController, so I assume it has something to do with the assets that I use. I can't find any errors with any of the…
0
votes
1 answer

ios swift models structure with realm database

I am developing my iOs App and I am using Realm database. As I am totally new to ios developing (also swift and xcode) I have question about structuring data (I've already read some general project structure guidelines but couldn't find the answer).…
M. Wojcik
  • 2,301
  • 3
  • 23
  • 31
0
votes
0 answers

Cannot assign value of type '[NORScannedPeripheral]' to type '[third]'

I have downloaded a source code from https://github.com/NordicSemiconductor/IOS-nRF-Toolbox and I have added this to my project. Then I have created another class named "scanclassone" in my project and copied the codes in NORScannedPeripheral to…
0
votes
0 answers

reload view of invisible controller through notification center broadcasting objective c ios

I have two controller in my screen and want to reload one method when push notification receive. Now question is that listener successfully call when visible specific controller via NSNotificationCenter. But when i am on another controller then…
Shahbaz Akram
  • 1,598
  • 3
  • 28
  • 45
0
votes
1 answer

I can't use mouse move to select my code in XCode

Developer environment: Xcode 9.0 problem: When I release the left mouse button, the selected state of the code will be canceled. I upgraded my Xcode to version 9.1, not solve.
CaiJingLong
  • 129
  • 3
  • 9
0
votes
1 answer

swift: index out of range

I want to play some songs from a folder that I have added to xcode. I use tabbed application and the code is like this: func playThis(thisOne:String) { do { let audioPath = Bundle.main.path(forResource: thisOne, ofType: ".mp3") …
Fzee
  • 33
  • 6
0
votes
1 answer

IOS Apstore Error with RazorPay Framework

I'm trying to submit my app to the app store but i am getting following error. i know this error coming from RazorPay framework but i have no idea why i am getting this kind of error. My Xcode version is Version 9.1 (9B55) and my razor-pay pod file…
siddu
  • 11
  • 3
0
votes
1 answer

Swift Compiler Error : Command /Applications/Xcode9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 6

I am working with a swift project in Xcode 9. It was working fine and suddenly got some error while running. Command/Applications/Xcode9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 6 I have…
user6788419
  • 7,196
  • 1
  • 16
  • 28