Questions tagged [xcode8]
Xcode 8 is an IDE created by Apple for the development of macOS, iOS, watchOS, and tvOS applications. The first release of Xcode 8 was on June 13th, 2016 with Xcode 8 beta build 8S128d. *Do not use this tag unless your question specifically involves the Xcode IDE!*
4,209
questions
0
votes
0
answers
13
views
Xcode projemi çalıştırırken hata alıyorum.Could file not module 'Firebase' hatası alıyorum [closed]
enter image description here
Xcode projeme Firebase paketleri eklememe rağmen bu tarz hatalar alıyorum ve düzeltemiyorum ne yapabilirim?Firebase paketlerinin bulunamadığını söylüyor
Firabase ...
0
votes
0
answers
22
views
SwiftUI - How to add a screen to a section of segmental control
I have coded a currency converter page, however I want to add this converter to a section on a segmented control. How can I add this page to one section in a segmented control so one section of the ...
0
votes
0
answers
76
views
how to add file under /tmp into Xcode project
I have one file under /tmp/testFile.txt that I need to read the content in the project. After going to File -> Add files to . i cannot find the directory for /tmp how can I add the file under /tmp ...
0
votes
2
answers
278
views
Failed to create provisioning profile for IOS simulator
Failed to create provisioning profile. There are no devices registered in your account on the developer website. Select a device run destination to have Xcode register it.
0
votes
1
answer
59
views
how to auto focus editor on Xcode
I am new on Xcode and crazy using vim mode for everything. On Xcode, whenever I switch to different tab on editor view I have to use keyboard shortcut command + J to show move focus to editor and ...
1
vote
1
answer
350
views
Different State Variables for New Textfields in SwiftUI
I am new to SwiftUI and there is a scenario in which I can add more than one person's data and every time I tap on the button, it will collect new person's data.
The scenario is like this:
I add data ...
0
votes
0
answers
429
views
Getting Errors Installing Pods
I am having an issue with my xcode project that it is not installing any new pods. I installed the same library on another project and it is working there. the terminal give me the following error ...
0
votes
1
answer
137
views
How to save selected option in UIPickerView
I have a PickerView which should save the selected pickerView but it is selecting only the default option.I have tried using user default but it didn't work.
I am using Xcode 8.
func ...
0
votes
0
answers
101
views
UITableView cell deletion not working even after deleting a particular cell
I have a table view cell which should delete the particular table view cell if I swipe but the image is not deleted but the contents in the row except image are deleting.
func tableView(_ tableView: ...
-1
votes
1
answer
247
views
How do I pass data after reloading the cell to another view controller
I have a view controller which reorders the cell in first view controller but the reorder is not reflected in second view controller.I tried using structures to pass data but it was not possible.Using ...
0
votes
1
answer
225
views
Swift: "Expected expression after operator" error in NSManaged while trying to push a record to entity
I've an entity where there are 4 string attributes. I'm trying to push a record into the entity but I'm facing 'Expected Expression after operator' error in record line.
guard
let ...
0
votes
1
answer
363
views
Ionic Capacitor in Xcode Error - [warn] Native: tried calling StatusBar.overlaysWebView, but the StatusBar plugin is not installed
Am using ionic angular application. I created mobile app using ionic with capacitor.
I added status bar in my application using below steps.
Install Statusbar
npm install cordova-plugin-statusbar
npm ...
0
votes
1
answer
351
views
How to connect a fully functioning iOS app to a new Firebase project
I have an existing fully functioning app that connects to a Firebase project named "AppNameV1". I now want to set up separate Dev, Test, and Prod environments, so I created a new Firebase ...
1
vote
1
answer
3k
views
unable to install hyper kit on mac as it is showing an error during a brew intall
I am unable to install hyper kit on my mac. I am issueing the command brew install hyperkit from the terminal . the following is the logs result
Kjango-MacBook-Air:~ kanan$ brew install hyperkit
...
0
votes
1
answer
27
views
Wait for Asynchronous request before execution of other code
I'am using [NSURLSession sharedSession] dataTaskWithRequest to get data from webserver and display it in a label & set button images according to it
But my problem is first label code is executed ...
-1
votes
1
answer
466
views
How to click on a button in a custom table header and have a row added under the section the button was clicked in? [closed]
Basically I have a tableview with a custom header for different sections. In the custom cell what I use for the headers I have a button. When that button is clicked I want to add a row under the ...
-1
votes
1
answer
36
views
(xCode) Finding nil when unwrapping an optional even though its being checked for
Very basic code
I am doing coding at school and have to create an app. Part of the app is a water usage calculator. Even though I am checking for nil values from the optional, it gets the error: "...
1
vote
1
answer
99
views
3D object is hovering while moving camera
3D object place perfectly in ARSCNView but problem is that when object placed in AR and move camera right, left, top and bottom too fast then 3D object started hovering and dancing anywhere with the ...
-3
votes
1
answer
59
views
<Calculator.ViewController 0x7fe00b406090> setValue:forUndefinedKey ERROR [duplicate]
Anytime I try to run my project, the simulator only shows a white screen and then this appears on xcode:
screenshotOfTheError
0
votes
0
answers
472
views
Run script in Xcode build phase
In my package.json file I have a script that I'm running
node src/validateRun
i tried
/usr/local/bin/node "$SRC_DIR/src/validateRun.js"
but i got this error in xcode:
Command /bin/sg failed ...
0
votes
1
answer
90
views
I am Getting warning 'setLineBreakMode: is deprecated: first deprecated in iOS 3.0' any alternate for this?
I am using react native when i run the project from xCode i see the warning message setLineBreakMode: is Deprecated first deprecated in iOS 3.0.
here is the line i used the setLineBreakMode in my code
...
0
votes
1
answer
104
views
Dark Aqua appearance/custom appearance for XCode 8.2
I'm developing an app in objective-c using Xcode 8. (because old computer)
Currently, my only options for the NSView's appearance are (Default) Aqua, and Aqua.
However, in SDKs starting in 10.14, ...
1
vote
1
answer
597
views
ionic cordova speech recognition plugin works well on android but fails on ios
I have created ionic app and used cordova-plugin-speechrecognition for speech to text conversion.
The Code used in the apps is as follows:
initSpeech() {
this.speechRecognition....
1
vote
1
answer
647
views
clicking on a button with no link in webview swift
I had written a code to auto login a website that I usually login everyday.
the j3 command is not working and it doesn't click on the button and doesn't navigate to the next page but the rest of the ...
4
votes
2
answers
3k
views
MacOS App Local Notification Not Showing when testing with XCode
I have tried to add a banner notification generator to my macOS swift app and the banner does not appear when test running in XCode and neither are there any new notifications visible in the ...
1
vote
1
answer
62
views
Set title color of all UIbuttons on button click
I set title color of button
button.setTitle("Print 0", for: UIControl.State.normal)
but I have many buttons how can I set it at once set radius and border working but set title have some issues
@...
0
votes
0
answers
268
views
flutter ios app not working in real device
Developing a Flutter app in the XCode. Testing the iOS not having any error and working perfectly in iOS simulator but in my real device it's not running, it's just showing a white screen and exiting. ...
0
votes
1
answer
107
views
location disabled from Privacy->Location Services -> off in iPhone
How to add custom message if location disabled from Privacy->Location Services -> off. I am using iPhone11 and getting apple issues as to add description about application if disabled also. Please ...
0
votes
2
answers
439
views
Unable to trigger didReceive notification delegate when you bring the app from background to foreground
I have implemented push notification for ios10. Tapping on the notification alert would trigger "didReceive" delegate, were i save the notification in coredata or silent notification if i m in ...
0
votes
1
answer
345
views
How to fix 'struct does not refer to a value'
in my project there are 2 structures, one of which relates to a binary tree, the second to students data
in ' int main ' I can’t access the add function GETDATA
' 'ZKR' does not refer to a ...
0
votes
0
answers
379
views
Cordova iOS app using phonegap-plugin-push not registering or requesting authorization
I have a Cordova (vers 9) app that uses phonegap-plugin-push (v2.3.0) on cordova-ios (v4.5.1) that does not register for notifications when run on an iOS device, (iPad mini iOS 9.3.5). I am using ...
0
votes
0
answers
68
views
Does react native supports Mac os version 10.11.6
HI I have mac mini on which I have 10.11.6 installed I am unable to update mac os to 10.13. so wanted to use react native on this version can any one help me out
Thanks in advance
0
votes
2
answers
175
views
can not load image from xcassets by using code, but xib can
Previous developer using R.swift to load resources.
And I delete it from Cocoapods, then I using
let image = UIImage.init(named: "testimage")
to load image from xcassets, and it return nil.
And ...
0
votes
1
answer
131
views
How to check if an instance of a struct is itself an instance of another struct
I have two struct in Swift of the following type and I would like to visualize the values of the array related to the Appartamento struct that were instantiated in the struct Palazzo but my abilities ...
-1
votes
1
answer
122
views
Get the user data from firebase cloud-based database and convert into dictionary
I am new to swift and I am trying to get the data from the firebase cloudbase database and trying to assign them in dictionary.
I have tried putting them on a dictionary and printing the values but ...
1
vote
1
answer
380
views
Why does my Polyline only draw a point and not draw a line?
I have a problem drawing a Polyline on my MapKit map, I am supposed to be trying to draw a line where the user is going, the problem is that when I move the user's position it only draws a point in ...
0
votes
1
answer
470
views
XCUITest : Is it possible to tap on element not using static texts present but identifier?
I am currently trying to automate tests with XCUITest framework for a parking mobile app. The thing is, each time I click on a button, I don't want to click on the static text associated to the ...
0
votes
1
answer
26
views
When i run my program the simulator only shows the "people" section but not the "videos" section
Hi I'm new to coding and I am trying to display some information onto the simulator but unfortunately when i run the program the simulator only displays the people section of the program but not the ...
0
votes
1
answer
20
views
how do I link a button to the webview of another controller having a link that changes based on the cell pressed?
I have a button that needs to open a web view on another controller in modally. currently the button executes the code you see below. I would like the button to open the webview directly. the link ...
1
vote
1
answer
220
views
install Xcode 8.3.3 beside Xcode 10.2.1 in macOS mojave
I have installed Xcode 8.3.3 that I need for an old project with swift 3.3
and when I try to lunch Xcode 8.3.3 I have this error message
Application Specific Information:
dyld: launch, loading ...
1
vote
2
answers
200
views
I can't upgrade Xcode. What can I do?
I have Xcode version 8.3
macOS: 10.12.6 (I can´t upgrade)
rect-native: 0.59.5
watchman: 4.9.0
I can't upgrade because my Mac is too old and the project that comes with the react native is for the ...
0
votes
1
answer
2k
views
Load Navigation Bar in Swift with .xib file
I am learning to program in Swift 4, and I have no problems with the code, but I am working on a project using MVC with XIB design files. A NavigationBar is added to a view, but it does not load the ...
3
votes
6
answers
11k
views
Error at new SubprocessError in ionic cordova build ios
I'm going to build ios platform on Mac and I have this problem.
I use macOS 10.12, Xcode 8 and Ionic 4. I've tried "ionic cordova platform rm ios" and "ionic cordova platform add ios" and build but ...
-2
votes
1
answer
102
views
How do You Install a Private Key on an iPhone Distribution Certificate?
When I try to validate my app after archiving, at the end it would say that I need a private key for a certificate.
I am a beginner with swift and I'm trying to complete my first app, and I tried to ...
0
votes
2
answers
141
views
constraints are not applied to UITextField inside Cell of UITableViewController
Trying to set the constraint for my UITextfield inside a cell of a tableview to be like in the image below
my constraints are:
When running the app on my simulator the uitextfield appear on the ...
0
votes
0
answers
682
views
Xcode command line build failed
I am using ionic 3 for IOS app development while trying build on command line am getting following error.I am new to MAC(IOS development)
ionic version:3
Xcode version :8.2.1
The following build ...
0
votes
0
answers
26
views
ObjectiveC using XIB cell using in tableview and shifting of views programmatically for arabic from left to right
[small box is view1 and big Box is view2]
[these are the simple constraint with these views]
1ObjectiveC IDE : I already make my all cell for english but for arabic instead of making new cell class ...
1
vote
1
answer
31
views
making sprite move on swift using spritekit
I am very new to using swift and Xcode in general. I wish to create a very simple game and I am trying to figure out why my ball only goes down once rather than go up and down twice when the screen is ...
1
vote
0
answers
63
views
Push Notification using FCM in-between web and App
I have tried to implement push Notification in-between from C#.Net(MVC) Web to React Native (Android and IPhone). No Error showing in my code but not show notification in App.
I have tried as ...
0
votes
1
answer
622
views
Override properties for Custom TabBar?
I have a custom Tab Bar class. It is shown below. In main.storyboard, I set the class of my tab bar to be CustomTabBar:
class CustomTabBar: UITabBar {
override var items: [UITabBarItem]? //[...