Questions tagged [xcode]

Xcode is Apple's integrated development environment (IDE). USAGE NOTE: Use this tag only for questions about the Xcode IDE itself, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [iOS] or [Swift] for iOS programming questions.

xcode
Filter by
Sorted by
Tagged with
-1 votes
0 answers
27 views

Linker command failed when trying to use Framework in iOS projectI

I am getting the following error Building for 'iOS-simulator', but linking in dylib (/Users/.../ios/Carthage/Build/iOS/AppAuth.framework/AppAuth) built for 'iOS' Linker command failed with exit code ...
four-eyes's user avatar
  • 11.6k
0 votes
0 answers
23 views

React Native: Fata Error - AmplifyRTNCore/AmplifyRTNCore.modulemap not found

I am trying to build a react native application and get it ready for submission through apple developer portal. When I try to build it in X-code, I get the following error: /Users/omarjandali/Library/...
ojandali's user avatar
  • 153
1 vote
1 answer
73 views

I'm encountering an issue with my Xcode build pipeline for VisionOS app in Azure Pipelines

I'm encountering an issue with my Xcode build pipeline in Azure Pipelines. When attempting to build my Xcode project using the Xcode task, I'm receiving the following error: xcodebuild: error: Found ...
DAVID NTAMAKEMWA's user avatar
-1 votes
0 answers
42 views

Xcode build gets failed with Firebase with Command PhaseScriptExecution failed with a nonzero exit code error

I have integrated Firebase crashlytics into my app through the package manager. I was able to build and archive my project using Xcode 15.0. But my teammate's system build is failing with an error /...
Joice George's user avatar
0 votes
0 answers
24 views

XCFramework include additional public headers with xcodebuild

I do have a fairly large obj-c static library I have converted to XCFramework and for the base that works great. Thing is, the old library compiled differently based on xcodebuild defines and created ...
user3740240's user avatar
-2 votes
0 answers
14 views

Getting error "An SSL error has occurred and a secure connection to the server cannot be made."? what does it mean [duplicate]

Code: import UIKit class ViewController: UIViewController{ var DataFromApi : DataFromAPIC = DataFromAPIC(recipes: [], total: 0, skip: 0, limit: 0) override func viewDidLoad() { super....
sairaj pawar's user avatar
0 votes
0 answers
36 views

'Flutter/Flutter.h' file not found IOS

I am currently developing a Flutter app for IOS and Android but I suddenly started having this error : I already tried removing ios folder and do a flutter create like said in this question : error: &...
swann.wlm's user avatar
0 votes
2 answers
44 views

Multitude of bugs using iMessage Sticker Pack App in Xcode 15.3

I'm trying to create a sticker pack app for iMessage using Xcode 15.3 and nothing seems to be working. The attribute editor does not show up when selecting sticker assets. This makes it impossible to ...
eewee's user avatar
  • 11
-1 votes
0 answers
12 views

Getting Error: Member not found: 'VideoPlayerController.networkUrl'. in dash_chat_2-0.0.20/lib/src/widgets/message_row/video_player.dart:31:44

My project was working fine, but now its giving this error after updating the Xcode to latest 15.3 The error is here: Could not build the precompiled application for the device. Error (Xcode): ../../.....
Muhammad Usama Ashraf's user avatar
0 votes
0 answers
50 views

Swift A script of macOS is not running on the M2 chip?

I am making a macOS app using SwiftUI, app is working fine on mac Intel chip, mac Apple M1 chip but not working on the mac M2 chip. Below is the following code which is crashing on M2 chip for force ...
Muhammad Danish Qureshi's user avatar
2 votes
1 answer
50 views

How are Swift and Obective-C interoperable despite having different runtimes?

As I understand it, Swift and Objective-C are interoperable. A project predominantly written in Swift can use Objctive-C libraries (or even C and C++ libraries) and vice versa. I know that Java and ...
Elon Tusk's user avatar
  • 141
-2 votes
0 answers
19 views

Mass Localization of data stored in a database for xcode swiftui

I have a database that has a table with id, name, content. There are about 100 rows of data in it. I will connect it to my SwiftUI Xcode app. I want the name attribute in the db to be localized into ...
Yousif Ismat's user avatar
0 votes
1 answer
39 views

Content of metal-cpp window is not shown on startup

I'm trying to follow the metal-cpp tutorials I've found at https://developer.apple.com/metal/sample-code/?q=learn The program seems to be launching correctly (I can see the menu bar and interact with ...
Peach_7's user avatar
  • 21
0 votes
0 answers
12 views

The specified item could not be found in the keychain Xcode 15

I get this error when running app on my local device, since i have reseted my keychain. I have no certificates in my keychain and tried singing out of Xcode( removing account). When I tried running ...
Eliška Pavlů's user avatar
0 votes
1 answer
33 views

How to refrain SwiftUI unnecessary refreshing when using ObservableObject

import SwiftUI class ViewModel:ObservableObject{ @Published var test = false var timer:Timer! init(){ } func loadTimer(){ timer = Timer.scheduledTimer(withTimeInterval: 0.1,...
Perry Wang's user avatar
-1 votes
0 answers
21 views

Error opening an existing project in Xcode

I am unable to open an existing (expo) React Native application that I developed in VSCode, in Xcode. This is the error I get: I have seen answers saying to open the .xcworkspace file in the iOS ...
user985216's user avatar
-1 votes
0 answers
16 views

Swift package for executable. Run results in file permission error

I was going through the Swift Macro tutorial, which makes you create a Swift executable package. It goes through creating a program that can be run from the command line, and the program requires a ...
funct7's user avatar
  • 3,497
0 votes
0 answers
14 views

How to change App Store language and how to check before upload to app store?

I'm using Xcode and added ja_JP (Japanese) to Default location of Info.plist but the App Store only displays en. Please explain how to fix App Store language to display ja (Japanese).
Ko Ye's user avatar
  • 3
-1 votes
0 answers
25 views

Referencing PODS_ROOT in Header Search Paths

I'm trying to set up Header Search Paths for a library I just installed which reference ZXingObjC folder in my Pods folder I managed to build the app when I reference the full path, but I don't want ...
nms_243's user avatar
  • 21
0 votes
0 answers
18 views

-undefined dynamic_lookup is deprecated on iOS

Since an unknown time I'm getting the warning: -undefined dynamic_lookup is deprecated on iOS in Xcode. As a backend I have Firebase, anyone have any idea how to resolve or investigate this? This ...
IT-Guy007's user avatar
0 votes
0 answers
20 views

I am getting lots of errors when building react native app in Xcode

I have got the code for a react native app, and want to publish this to appstore. After importing into Xcode, opening the ios folder I am running into over 200 Yellow warnings and 15 Red warning. I ...
Krish Parikh's user avatar
0 votes
0 answers
23 views

Xcode commits (possibly outside of any branch) disappeared, how to get them back?

This could be something I overlooked, that the commit is not actually under any branch, and now it cannot be seen under Xcode -> Source Control navigator -> Repositories The only place that ...
chdsl007's user avatar
-1 votes
0 answers
19 views

Can't run built SFML project from Xcode template

I've downloaded SFML-2.6.1 and created Xcode project from template on my M1 Mac. Although project is building, it can not run, raising this error in the Xcode terminal: dyld[7793]: Library not loaded: ...
zolars's user avatar
  • 67
-4 votes
0 answers
39 views

Postal Framework crash in iPhone but runs successfully in simulator

I have integrated the Postal framework in my sample iOS application for IMAP functionality. There is no other functionality - it's just a iOS app with Framework added to it. It uses only one method. ...
Karamjeet Singh's user avatar
-1 votes
0 answers
32 views

how to install xcode on macos hight sierra without apple account [closed]

I am working on python programming language when I want to convert .py to .ipa (ios) but I don't have an apple account and I am missing ios sdk in xcode I tried searching for xcode on the forums and ...
あきらすめらぎ's user avatar
-1 votes
0 answers
32 views

Xcode: Can't Attach to process

After I plugged my iPhone into my mac, I started debugging my app. For the first few days, it all seemed smooth. But after a few days, things changed. The Debug -> Attach to process menu is empty, ...
someuser's user avatar
-1 votes
1 answer
28 views

Lost Info.plist in Apple Watch App project

I am running into an issue where I have tested my Apple Watch app on many simulators in Xcode and on my personal devices, but when I submitted to Apple for review, they are telling me that it will not ...
James S's user avatar
0 votes
0 answers
20 views

There are no active runners online GitLab

I have a problem with GitLab it won't run my UI tests from an Xcode project. I get an error: This job is stuck because of one of the following problems. There are no active runners online, no runners ...
Stefa's user avatar
  • 23
1 vote
1 answer
150 views

My project code not running in Xcode(15.3) but the same code running in Xcode 14.2 in swift how to fix in xcode 15.3?

I have project which is perfectly running in Xcode 14.2 but the same code not running in Xcode 15.3 . but to make it run i tried below changes in Xcode 15.3 as per its error suggestions. initially i ...
Swift's user avatar
  • 1,160
-2 votes
1 answer
43 views

How to press and hold in Xcode simulator

I’m developing a flutter app using vs code and the Xcode simulator and I want to test a function where I have to press and hold. It’s not working how can I test it? I tried the shift and left click ...
NMK's user avatar
  • 7
1 vote
0 answers
43 views

Memory management for image data storing and retrieving with SwiftData (or CoreData) [closed]

I know how to work with Data type in SwiftData (or CoreData). But the one question I feel missed is what is the correct way to care about memory management in different cases. For example, I have the ...
Ihor M.'s user avatar
  • 314
0 votes
0 answers
18 views

Error: spawn flutter ENOENT in flutter build_runner

The project is the flutter default app and on macOS when I try to run build runner using (command+shift+b) I face this error on output: Running flutter pub run build_runner build --delete-conflicting-...
saeed z's user avatar
  • 43
0 votes
0 answers
19 views

Can a project using Crashlytics have a GoogleService-Info.plist file renamed to something else?

I have a project with one target. This target has a few schemes for different purposes and each scheme has their own GoogleService-Info.plist. One of them needs 2x GoogleService-Info.plist for 2x ...
Icare's user avatar
  • 1,323
0 votes
1 answer
48 views

What changed from xcode 13.2.1 to 14.2 that would affect an app's entitlements?

We have a Xamarin iOS app that is building in DevOps pipeline using the XamariniOS@2 task. This worked quite fine for many years until a number of months ago when we changed vm image so we could ...
webwires's user avatar
  • 1,857
4 votes
1 answer
157 views

Package.resolved gets deleted on branch switching

Sometimes after executing git checkout branch or git reset another-branch (while Xcode is open) I find out that the Package.resolved file gets mysteriously deleted. I can easily restore it from git or ...
Alexander Vasenin's user avatar
0 votes
0 answers
35 views

How do I animate values of a Shape with multiple different animation transactions simultaneously?

I'm trying to animate a sine wave made out of a Shape struct. To do this, I need to animate the phase of the wave as a continuous looping animation - and then animate the frequency and strength of the ...
Filibustr's user avatar
-1 votes
1 answer
39 views

unity project with simulator sdk checked can not run in xcode,reported "a build only xxx" error.unity 22.3.17 and xcode 15.2

I'm a fresh user for xcode,and this my first time to try to public my unity game to ios. I make a empty unity project, set the simulator sdk option true in unity, export the project to xcode,but I can'...
BoysheO's user avatar
-1 votes
1 answer
12 views

JSON::ParserError on trying to run Flutter Project on iOS

So I am new to mac. I installed Flutter, Android Studio, XCode, CocoaPods (with sudo gem install cocoapods) and every other required packages. The app ran successfully on Android but I get this error ...
Quwaysim's user avatar
  • 369
-1 votes
0 answers
26 views

How to set value the descriptor of iOS BLE in Objective-C?

How can I convert this Android BLE code to Objective-C? public void setCharacteristicNotification(BluetoothGattCharacteristic characteristic, boolean enabled) { boolean bleRes = tstBluetoothGatt....
이준진's user avatar
0 votes
0 answers
9 views

Any problem with creating provisioning profile with old Iphone?

I have quite an old IPhone available (first edition SE) that I want to use to make a provisioning profile together with a Mac computer. Will there be an issue using such an old IPhone for this purpose?...
CJ7's user avatar
  • 23k
4 votes
1 answer
1k views

Why Apple keeps warning even after I handled the new privacy manifest rule?

Apple's message: ITMS-91053: Missing API declaration - Your app’s code in the “{app name}” file references one or more APIs that require reasons, including the following API categories: ...
Toru's user avatar
  • 671
0 votes
1 answer
32 views

Xcode: Could not attach to pid: "####"

I am trying to build an iOS app into the actual device and I get this error. The app seems to be stuck at the launch screen. I have tried restarting Xcode but it still didn't work. I have already open ...
Panha Bot's user avatar
1 vote
0 answers
62 views

No exact matches in reference to static method 'buildExpression'

I'm trying to create a Settings module using SwiftUI. I have the following hierarchy Settings (struct) Section (struct) Subsection (struct) ButtonRow: Row Subsection (struct) ButtonRow: Row ...
Felipe Vidal's user avatar
0 votes
0 answers
34 views

Streaming multiple payloads through a response on swift Vapor 4

I need a way to send data to my client ios app from vapor backend on stream. I'm using openAI chat complation. I used these code on my vapor backend, but these just retrieve reponse on a single ...
جواد فقیه's user avatar
0 votes
0 answers
68 views

Multiple Commands Produce error - Xcode 15.2 Archiving

I am new to programming, and I am building an app. As I want to upload it to TestFlight, I try to Archive it. However, when doing so, I get this error: error: Multiple commands produce .../...
baccio galletti's user avatar
3 votes
0 answers
87 views

How to add a package from Swift Package Manager by build configuration? (workaround)

Is there any workaround to add a package from Swift Package Manager like in Cocoapods: pod 'PonyDebugger', :configurations => ['Debug', 'Beta'] pod 'PonyDebugger', :configuration => 'Debug' I ...
Izabella Melo's user avatar
0 votes
0 answers
28 views

How can I provide a signed iOS app IPA file to an organization for MDM distribution?

I have developed an app for a company that will deploy it to their devices for internal use on an MDM managed device. They have asked me to provide a signed IPA file to them. I am a small company ...
alionthego's user avatar
  • 9,139
-1 votes
0 answers
20 views

Flutter App IOS Xcode - seeing lage project logo before storyboard

When the app is loading, the initial time between the app window opening and the storyboard graphics loading I see what appears to be the app icon in full screen mode. This is clipping out of the ...
Delmontee's user avatar
  • 2,150
0 votes
1 answer
79 views

Showing a dynamic List in SwiftUi using data models from kotlin via kotlin multiplatform

I am currently building a mobile app with Kotlin Multiplatform and i'm stuck at the addressbook. I build a data model and the Backend / Database Calls in the shared module of Kotlin (Code below) and i'...
Andy's user avatar
  • 63
-1 votes
2 answers
95 views

React native iOS build failed Xcode

I have developed a React Native project and attempted to execute the iOS build through Xcode. However, each attempt results in a failure with the error message "Command PhaseScriptExecution ...
Jasleen Kaur's user avatar