777 questions
0
votes
1
answer
231
views
Updating iOS MLKit/Translate to 7.0.0 creates many undefined symbols on linking
I have a published iOS App using MLKit/Translate, working fine under iOS 17.5. When I updated the pod to MLKit 7.0.0, and targeting iOS 15.5, the pod fails to link with more than 20 undefined symbols....
-2
votes
1
answer
134
views
Why is trying to animate UIView to sync with keyboard popup not working?
I am trying to get a UIView to move up in sync with my keyboard when it is opened so the typing field remains in the display when the keyboard is up. However, while it does seem like the frame of the ...
0
votes
0
answers
26
views
Cannot activate the Run function in Product menu on Xcode 12
I am very new to coding, above all else =)
So I created new project and a C++ file to work on. After writing my code I tried to run it (cmd+R), but nothing happened. I saw in Product menu that several ...
0
votes
0
answers
172
views
xcode cannot resolve the entered keypath
Using Xcode 12, and starting with the default XIB-based swift desktop app, I add a Model class, descended from NSObject with a single stringValue property. In the XIB file I instantiate the Model ...
-1
votes
1
answer
642
views
Swift - How do I show Data in Swift View from Data.swift file?
In a separate data file called data.swift I have this code
struct Response: Decodable {
var data: Data
}
struct Data: Decodable {
var search: search
}
struct search: Decodable {
var ...
0
votes
1
answer
40
views
WKWebKit browser not loading website (macOS)
I can't seem to get a website to load on my macOS web browser app. This is the code am using:
@IBOutlet weak var web: WKWebView!
let purl = URL(string: "https://www.google.com&...
30
votes
5
answers
18k
views
Xcode(version 13.3.1) doesn’t support iOS 15.6 [duplicate]
I updated my iPhone to iOS 15.6 yesterday and I wanted to build in Xcode (version 13.3.1). But in Xcode it is showing 'iPhone (unsupported OS version)'.
The Xcode release notes are not showing this ...
0
votes
2
answers
1k
views
React native ios xcode producing corrupt archives
I have an app being built with React Native. When I go to archive it, the organizer doesn't open, but I can see it in finder at "/Users/user182072/Library/Developer/Xcode/archives". When I ...
-1
votes
2
answers
390
views
Xcode 12 broke multiline guard indentation in swift?
With one line guard Xcode 12 make right indentation:
guard let contentName = vod.name else {
Log.fault("No data.")
return
}
but with multiline, the indentation is broken:
guard let ...
3
votes
1
answer
2k
views
How can I copy build settings from one target to another
I'm building a project with many individual test programs in it; each test program is its own target.
There are a number of settings that each target in "Build Settings" such as several ...
2
votes
4
answers
2k
views
Value of type 'UITableView' has no member 'sectionHeaderTopPadding'
Why I am getting build error from Xcode 12.4 (simulator ios 14.x) for the following code?
if #available(iOS 15.0, *) {
myTableView.sectionHeaderTopPadding = 0.0 // error here
}
The ...
0
votes
1
answer
262
views
Xcode 12+ Simulator not attaching while running - Error
For some reason, while running xcode12 ++, unable to attach the simulator for debugging. Its disconnecting after installing.
7
votes
2
answers
5k
views
Unable to install cocoapods on Catalina
I have catalina OS 10.15.7 and XCode Version 12.4 (12D4e)
I am trying to install cocoapods using gem:
sudo gem install cocoapods
And I am getting this error:
ERROR: While executing gem ... (Gem::...
0
votes
3
answers
695
views
Unable to create a Build due to CoreData: API Misuse when there's no Core Data in the App, and the app builds for all Simulators
I am trying to create a build (Any iOS Device (arm64)), and I get an error:
/.../CoreData:1:1: API Misuse: Attempt to serialise store access on non-owning coordinator (PSC = 0x60000381b8e0, store ...
6
votes
1
answer
1k
views
xcode Firebase Crashlytics Command PhaseScriptExecution failed with a nonzero exit code
I have an application that I wrote with swift. I want to see crash reports of the app after the release. I want to add Firebase Crashlytics for this. I do everything in this link. but during ...