Skip to main content
The 2024 Developer Survey results are live! See the results

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.

0 votes
0 answers
5 views

Using SwiftUI previews on real device within SPM package code

I am trying to modularize my iOS project and extract a feature as a module using SPM. This module contains some SwiftUI code that I want to test with Xcode Previews on a real device. The preview works ...
Alex Fox's user avatar
2 votes
1 answer
26 views

How can I identify and delete dead code in Xcode Swift

Is there a way to get Xcode to show a warning/error for unused functions and properties? I have some dead dummy code left over from refactoring but no way to easily identify and delete it. I'm in a ...
etayluz's user avatar
  • 16.3k
-1 votes
0 answers
12 views

I want to create a feature on my ipa which allows people to go onto the files of the ipa and import their own .json file which appears in the app

I don't know how to do this I have not tried anything yet, I don't even know where to start to be honest I am new to coding and was curious to see how this would work, if someone can put me in the ...
Trendy Trooper's user avatar
0 votes
0 answers
9 views

Unity - How detect dynamic island in Apple phones?

How detect dynamic island in Apple phones? Or do automatic offset, setup in Unity or Xcode? I found a similar problem here but it's probably directly for coding in Xcode. In Xcode, I can only manage ...
Lukáš Hotárek's user avatar
0 votes
0 answers
18 views

While genrating Archive build for my react native No Expo project I get error

XCODE Error I already tried delete the DerivedData folder: but its not work. error: unable to open dependencies file (/Users/codecrewinfotech/Library/Developer/Xcode/DerivedData/panchal_application-...
kaumil patel's user avatar
-1 votes
0 answers
19 views

Xcode Beta strange animation / transition between my navigation

Transition gif Since I downloaded the Xcode beta version, a strange process has occurred with the views with my navigation. I couldn't find anything online about this, I've also searched for ...
Jojo Who's user avatar
0 votes
0 answers
23 views

This App Needs To Be Updated By The Developer To Work On This Version Of iOS

I am trying to run the MAUI application in Visual Studio MAC on iPhone Pro Max (17.5) Simulator. I am getting the below error while running the application on the simulator. The aplication is getting ...
Smit Rathod's user avatar
1 vote
1 answer
13 views

iOS returns an error regarding React-Codegen from project Pods Explicit dependency on target 'React-Codegen' in stopped

When I run the command  npx react-native run-ios --simulator "iPhone 15 Pro" in my terminal on my Mac M1 receive this error PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/databasket/...
Shyam Laishram's user avatar
0 votes
1 answer
19 views

Provisioning profile doesn't include the com.apple.developer.arkit.main-camera-access.allow entitlement

I was using my "Personal Team" for automatic signing. I was able to run on my device without any issue. then I added com.apple.developer.arkit.main-camera-access.allow into my project....
Randi's user avatar
  • 665
0 votes
0 answers
6 views

Is removing 'Info.plist' file the right solution to 'Multiple commands produce '/Info.plist' duplicate output file'?

I duplicated one of my xcode projects where I was using CoreData to explore it's functionality with other database options, I changed the name on the duplicate and left the original file as it was. ...
JulioTrujilloH's user avatar
-1 votes
0 answers
12 views

How to fix the iOS app build error on Xcode v15?

I am using Mac M2, Xcode v15, and trying to run an iOS project but am getting the error as in the picture. Can someone help me fix it?. Thanks! enter image description here I searched and tried to run ...
Hieutm1908's user avatar
0 votes
1 answer
25 views

Simulators gone after XCode update

I am running Version 15.4 (15F31d). Yesterday I installed an update, opened XCode again and there was a message like "Simulator needs update". I clicked OK, nothing happened. Now, all my ...
four-eyes's user avatar
  • 12k
0 votes
0 answers
20 views

Leak of memory Swift, XCode

I am trying to detect a memory leak in my app. And I found a mark in the memory graph that i have a leak in NSMallocBlock. But I don't know if this is my mistake or not. enter image description here ...
Dmitriy's user avatar
0 votes
0 answers
13 views

how to round corners of path line SwiftUI [duplicate]

when using the CGRect path how can I round the corners, is it possible to round out the bend so the change of the angel is not sharp? struct Line: Shape { var angleHeight: CGFloat = 10 var ...
ProtonFission's user avatar
-5 votes
2 answers
35 views

How to create a singleton class for amplitude?

I have the following amplitude code that initializes amplitude import AmplitudeSwift let amplitude = Amplitude( configuration: Configuration( apiKey: "YOUR-API-KEY" ) ) ...
Rue Vitale's user avatar
  • 1,767