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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

xcrun "iphonesimulator" error after running toolchain build kivy

I'm building a mobile app with Python and Kivy and I want to compile it for iOS. I have: kivy-ios installed Python 3.9 Xcode 13.2 Xcode command line tools macOS 11.7.10 I followed the guidelines in ...
Maks's user avatar
  • 1
0 votes
1 answer
29 views

Can't iterate filtered Dictionary in Swift

I'm currently developing an app in SwiftUI for the first time and I've run into an issue I don't quite understand. What I'm ultimately trying to achieve is to fetch data from a backend API I've ...
F4LS3's user avatar
  • 153
-4 votes
0 answers
24 views

Simple scriptable macOS Xcode Swift App example please [closed]

Does anyone have a simple example for a scriptable App in Swift in Xcode for macOS? I've checked several examples like here. But for me they get me confused about whether they are accessing the actual ...
StanW's user avatar
  • 83
0 votes
0 answers
9 views

Xcode Command CodeSign failed with a nonzero exit code

i am facing a problem with my Xcode and my visual studio code if i want to create a new project the simulator and the code runs and works but when i tried to open an old projects it shows me this ...
Wessam Aljelekh's user avatar
-4 votes
0 answers
16 views

Endoscope camera access via cable in Swift5 [closed]

I want to access endoscope camera lighting port via cable from swift code in iPhone. Please help me on this.
Gauri Shankar's user avatar
0 votes
0 answers
17 views

Exporting models from Maya to SceneKit with animation

I am trying to use my animated model in XCode with SceneKit. I exported my model from Maya with Animation Data in .usd format, then converted it to .usdz with Reality Converter. When I open it in ...
Levent Akdağ's user avatar
0 votes
0 answers
15 views

SwiftUI - Problems exporting a list of images with .fileExporter()

I'm trying to generate some images from SwiftUI views, and then export them to the filesystem. I've looked online and can't seem to get things to work. Tapping the file export button does nothing. ...
Mark's user avatar
  • 7,207
1 vote
0 answers
25 views

Writing Exposure Bias in Xcode isn't returning the expected result

I am trying to use Xcode and SwiftUI to write Exif data. When writing in the exposure bias image property kCGImagePropertyExifExposureBiasValue It seems to work just fine for all values I've tried ...
miothethis's user avatar
0 votes
0 answers
33 views

KMM Multiplatform Project won't run on IOS

I have built a Kotlin Multiplatform Mobile application, which runs on Android, but when I try to build the project on IOS device, I am facing the following error: Compilation failed: Server returned ...
Hridoy Chowdhury's user avatar
0 votes
1 answer
16 views

Getting a 'module flutter_native_splash' not found error while I see it in pubspec?

Getting a 'module flutter_native_splash' not found error in Xcode when I try to build and run the code, while I see it in the pubspec file. I have installed it, created it again, I see the assets but ...
Johan's user avatar
  • 905
0 votes
0 answers
8 views

getting Invalid Signature while uploading app to appstore from xcode

Getting below error when uploading app to appstore from xcode. Invalid Signature. Code object is not signed at all. The file at path “Runner.app/Frameworks/App.framework/flutter_assets/assets/drawable/...
Smart Indian's user avatar
-4 votes
0 answers
21 views

UITextField has background even thought it's set to clear [closed]

I am editing a ViewController in my Main.storyboard, and when I add a UITextField with a clear background, I still get a slightly different color than my background. I'll show a picture to illustrate:
Joel Hager's user avatar
  • 3,054
0 votes
0 answers
37 views

Audio Error in Xcode: "[UIViewController play:]: unrecognized selector sent to instance" occurring in AppDelegate?

I am trying to make a button that when clicked plays audio. This is the code I have for that button and they appear to be connected fine (both the play and stop buttons): import Foundation import ...
Rebecca Sweigart's user avatar
0 votes
0 answers
10 views

xcode build failing while building app - 'Debug-iphonesimulator/App.framework' failed: No such file or directory (2)

getting this error while building the app - rsync: link_stat "/Users/gowtham/Library/Developer/Xcode/DerivedData/myProject/Build/Products/Debug-iphonesimulator/App.framework" failed: No such ...
Somya goyal's user avatar
-1 votes
0 answers
10 views

Set xcode version to use in a MacOS launchd plist file

I have a self developed service that runs as a daemon on macos13 that requires Xcode 14.x. It is launched from a .plist file under /Library/LaunchDaemons and runs as a non-root user This service ...
ChrisP's user avatar
  • 67
-1 votes
0 answers
8 views

Haptic vibrations disappeared in Xcode storyboard

I have faced with strange problem in Xcode. Previously when I was working in storyboard and defining the sizes of the objects, I was receiving haptic vibration from the touchpad, who I was reaching ...
ValehJr's user avatar
2 votes
0 answers
46 views

App rejected Guideline 2.5.4 - Performance - Software Requirements

Im trying to publish my app to the App Store and im keep on getting the app rejected don't know what is the issue please find the attached image for my info.plist file Guideline 2.5.4 - Performance - ...
Eleanor Thompson's user avatar
0 votes
0 answers
8 views

getting error - 'ERR_OSSL_EVP_UNSUPPORTED' while running app on xcode 15

I'm trying to run my app on xcode 15 but getting this below error in metro terminal - Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported { ...
Somya goyal's user avatar
-1 votes
0 answers
10 views

"must rebuild it with bitcode enabled" error when archiving unity project with ironsource in Xcode

Even though I tried every way, I can't get the build from Xcode. IronSource mediation is installed in my game. Without SDK's it works without any problems. I get this error: /Users/user/Desktop/unity/...
Onur Özülkü's user avatar
-1 votes
0 answers
17 views

I m getting error on Xcode 15 The item at Canicom GPS.app is not a valid bundle. Domain: com.apple.dt.CoreDeviceError

When I try to run my project on Xcode using an iPhone 13, I'm facing an issue. I've set the bundle name in the info file, but it's not working as expected. To figure out what's going wrong, I check a ...
Radhika bajaj's user avatar
0 votes
0 answers
19 views

Command PhaseScriptExecution failed with a nonzero exit code - Operation not permitted(Xcode 15)

While building Unity project on Xcode 15.0.1, facing this issue. Here is the error line from project log /Users/Library/Developer/Xcode/DerivedData/Unity-iPhone-bxhcpbteoqoprmegtvmvbluhwtqd/Build/...
Sourav Das's user avatar
0 votes
0 answers
48 views

How do I implement a Picker to pick one or more items from an array of local file URLs

I'm using macOS 14 and Xcode 15 and am new at Swift/SwiftUI. I have been trying to implement a Picker for the last few days that will allow more than one item to picked in the same manner that Finder ...
Nate Lockwood's user avatar
0 votes
0 answers
20 views

Installing MongoDB onto an existing Xcode project? [closed]

I am trying to run MongoDB on my Xcode app for a leaderboard. I was trying to follow this tutorial: https://www.mongodb.com/docs/atlas/app-services/tutorial/swiftui/ However, it seems like I would ...
Rebecca Sweigart's user avatar
0 votes
0 answers
25 views

flutter xcode module firebase_core not found

i´m try to publish an app for testfllight on ios but i keep getting the following error with try to archive my app in xcode 15 "module firebase_core not found". I already have done deleted ...
felipe 's user avatar
0 votes
1 answer
37 views

How to use different versions of local Swift Package?

I would like to create a local Swift Package to share code between different projects. Creating and adding the package to a project was no problem. However, other with third party packages I have no ...
Andrei Herford's user avatar
0 votes
0 answers
15 views

can you use Azure Core library/package in swift 5 and above for blob storage? [closed]

can you use Azure Core Swift package for blob storage, git URL: https://github.com/Azure/azure-sdk-for-ios/tree/main/sdk/core/AzureCore and how is there any documentation available for the same to ...
Pratik Wadekar's user avatar
0 votes
0 answers
11 views

Package not being recognized by XCode on Unity Build

I added the package AppAuth to the Unity build on XCode. I can see it, yet XCode says the file AppAuth.h does not exist. The error itself I honestly don't know what to do. I've tried updating the ...
Carlos Istúriz's user avatar
0 votes
1 answer
35 views

Flutter IOS - device not supported on Iphone 15 / IOS 17

I am developing an application with flutter and when my client tries to install it on Iphone 15 / IOS 17, he cannot do it with the error "Device not supported". Device not supported error ...
Andriantseheno's user avatar
0 votes
0 answers
45 views

NSLog( @"%d", 123456) produces 123,456

Objective C, Xcode 15.0.1 Is there a way to eliminate the pretty comma? "%i" doesn't help.
vonlost's user avatar
  • 875
-2 votes
0 answers
16 views

Unreal engine 4.27 on Mac device, Import provisions and certificates buttons disabled for IOS packaging

In project settings -> IOS -> Import provision and Import certificate both buttons are disabled, under there is a text mentioning XCode. I have setten up provisions and certificate in apple ...
Maan Sharma's user avatar
0 votes
1 answer
45 views

Not getting didregisterdevice getting called with UIapplication.registerforemotenotification, for this I have to get user permission to get it called

I am trying to APNS get device token in iOS without a prompt for user permission. But only with UIapplication.registerforemotenotification in didfinsih launch I am not getting did register delegate ...
Harsh Thakur's user avatar
-4 votes
0 answers
39 views

How to make the user choose which icon he wants to put in the application in Swift? [closed]

I found an application that allowed you to exchange the icon for any other icon, as long as it is an icon from an app available in the App Store, it asked you to paste the application link (example: ...
moitinho's user avatar
-1 votes
0 answers
8 views

Xcode Simulator isn't Rendering App Project

My Xcode simulator isn't rendering an app - the app icon doesn't appear on the screen. I'm unsure about the cause, though I deleted an app icon of a past project, and since, new project app icons aren'...
user20987120's user avatar
-3 votes
0 answers
49 views

How can I test an app in iOS 13.7 and Xcode 11.7 on a Macbook Pro M2 MacOS Ventura?

I have installed Xcode 11.7 using "Xcodes", and I start it with the following command line: open /Applications/Xcode.app/Contents/MacOS/Xcode But I cannot install iOS 13.7 using Xcodes because it ...
Fernando C.G.'s user avatar
0 votes
0 answers
18 views

Firebase installation for IOS devices

A final year software engineering student, I felt like building an iPhone application that manages the weekly shopping list at the supermarket. I installed xcode on a new macOS sonoma OS. The ...
Arik_man's user avatar
0 votes
1 answer
20 views

No Team Found in Archive

I have recently updated my mac and this weird issue has come up at the time of creating archive. I am getting "No team found in archive" error, after clicking "Distribute App" ...
Shweta's user avatar
  • 231
0 votes
2 answers
54 views

I want to move the height to fit the contents inside. This CollectionView after every cell has been rendered

I want to move the height to fit the contents inside. This CollectionView after every cell has been rendered. this is screen app -> enter image description here I want to move the height to fit the ...
Semon's user avatar
  • 9
-2 votes
1 answer
88 views

How to make a button on Xcode

I'm new at Xcode and swift UI I need help how to create a button Why is it more complicated than Android? I have view that call Profileview and I want to Navigation to NewOrderview, I know I need to ...
Tamir Yosef's user avatar
0 votes
0 answers
39 views

Xcode 14.3.1 hangs at "Attaching to (app name)" while running on Device iOS 17.1.2

While Xcode 14 cannot run device iOS 17, i installed XCode 15 in order to my XCode 14 can run my iOS17 device, and now my XCode 14 can run device iOS 17 (Core Device) but while i run the program to ...
Seishin Okigaru's user avatar
0 votes
0 answers
14 views

Upgraded from react-native-firebase to @react-native-firebase but still getting an error: RNFirebase core module was not found natively on iOS

I moved from using react-native-firebase to @react-native-firebase but i am getting an error with regards to RNFirebase. I am also using XCode 15. Also, when i do react-native run-ios in the terminal, ...
Patrishey Manan's user avatar
0 votes
0 answers
19 views

Xcode Build Failure: "React Native Build Issues on iOS. Xcode Error Code 65 and AppDelegate.m Selector Error"

Context: USING MERN STACK. I have a React Native project that was initiated in 2021. It used to run without issues using npm install, npx pod-install, and npm run ios. However, since May 2023, I've ...
Diego Bolanos's user avatar
1 vote
2 answers
45 views

SwiftUI List with Selection and onTapGesture Interfering with Each Other

I'm working on a SwiftUI app where I have a List that needs to support both selection of items and handling double tap gestures on those items. However, I'm facing an issue where enabling onTapGesture ...
Mane Manero's user avatar
  • 3,236
-1 votes
0 answers
19 views

SQL Error State:IM004, Native Error Code: 0, ODBC Error

I made an Obj-C app many years ago and it ran good until Mac OS 13.3 or around there. The app connects to a FileMaker database uses ODBCKit.framework. The DSN connection is causing the error when it ...
FlameCoder's user avatar
-1 votes
0 answers
45 views

Xcode EXC_BREAKPOINT (code=1, subcode=..) when delete Category and included expenses details

I am leaving a question for the first time. I am Korean, and I started developing it on my own a while ago. I am in a bind due to an ongoing issue recently. I am not even sure how many codes I need to ...
Kenta's user avatar
  • 1
0 votes
0 answers
13 views

How to build test project unity for ios. when opened project on Xcode and i dont see simulator ios

I have the problem of not being able to build unity project on iOS simulator. When opening xcode, the iphone and ios virtual machine devices still don't appear. How to build, please help. i hope ...
Trung Ho's user avatar
0 votes
1 answer
40 views

How to correctly add local Swift Package to Xcode 15 project to see and use its content?

I would like to create my first Swift Package to reuse code in different projects. Creating the Package was no problem. However, when adding as dependency to another project, I can neither see nor use ...
Andrei Herford's user avatar
0 votes
0 answers
36 views

How to know and change Swift version when compiled Xcode?

I am using the same Xcode to build a .framework file and a new Swift project. However, after successfully building the .framework file and incorporating it into the new project, I received the ...
Quang Anh's user avatar
0 votes
0 answers
15 views

XCFramework as Swift Package binary target "Cannot open file handle for file" error

I added a Swift package dependency to my Xcode project. Package contains a XCFramework binary target. Package resolutions works as expected. When I try to build the project, the process fails with ...
hungrxyz's user avatar
  • 805
0 votes
0 answers
52 views

How to use Apple's Screen Time API in React Native?

I would like to add a feature to my React Native project that controls the apps available to the user while my app is open. I think I can do this using Apple's Screen Time API, but I couldn't find any ...
Kaan Genis's user avatar
0 votes
1 answer
24 views

Error when reading '../../../../.pub-cache/hosted/pub.dev/meta-1.10.0/lib/meta.dart': Permission denied

Device: Apple M1 Max macOs Sonoma v14.1.2 Fresh install of flutter, flutter SDK is currently in the following location: users/scott/documents/SDKs/flutter When I create a new flutter create ...
Code Ratchet's user avatar
  • 5,811

1
2 3 4 5
3185