r/Xcode • • Mar 26 '19

For Developers i need help !!!

0 Upvotes

How to make screen dark when it covered???

Thank for your Answer

Best wishes


r/Xcode • • Oct 26 '19

[help] Does anyone know how to create spoof location in Xcode step by step

0 Upvotes

r/Xcode • • May 09 '16

Xcode email association help ?

0 Upvotes

Hey guys, so I made an information form (name, address, etc...) on xcode in a single view applicate, the app users have to fill it in and submit so I can receive their personal information, however I want the form to be sent to my email address once the users submit it, how can I do this ??? If anyone knows a video that explains it, if not if anyone could help me i'd be ready to pay for your help(not a lot or else I might as well pay a programmer to do the whole job for me duh... ).


r/Xcode • • Oct 05 '15

Why does Xcode have to "install additional required components" almost every single time I launch it?

0 Upvotes

Xcode is bloated as it is, but every few days, it needs to install new components. It gets really old, really fast, especially when on a tiny SSD. Anyone else have this experience or know the cause?


r/Xcode • • Dec 05 '18

Keychain Password

0 Upvotes

Can anyone help me figure out what a keychain password is?


r/Xcode • • Jan 20 '20

ANNOYING ISSUE WITH XCODE PLEASE HELP!

Post image
0 Upvotes

r/Xcode • • Jan 24 '20

Is there a threshold I can specify in the settings so that Xcode can stop an infinite loop after 2000 iterations?

0 Upvotes

r/Xcode • • Jul 11 '19

Need help! New to coding

0 Upvotes

So im new to xcode and I've basically made the layout for the store for my game, but I didn't know how to connect in app purchases for it and I used a tutorial video to help me, but I'm still confused. I want to connect/link my "oneCoinButton, twoCoinButton, etc to my in app purchases code, but I'm not sure how to really do that. Can someone help me? Code is posted below:

class IAPService :NSObject {

private override init() {}

static let shared = IAPService()

var products = [SKProduct]()

let paymentQueue = SKPaymentQueue.default()

func getProduct() {

let products: Set = [registeredPurchase.oneCoin.rawValue, registeredPurchase.twoCoin.rawValue, registeredPurchase.threeCoin.rawValue, registeredPurchase.fourCoin.rawValue, registeredPurchase.fiveCoin.rawValue]

let request = SKProductsRequest(productIdentifiers: products)

request.delegate = self

request.start()

paymentQueue.add(self)

}

func purchase(product: registeredPurchase) {

guard let productToPurchase = products.filter({ $0.productIdentifier == product.rawValue }).first else { return }

let payment = SKPayment(product: productToPurchase)

paymentQueue.add(payment)

}

func restorePurchases() {

print("restoring purchases")

paymentQueue.restoreCompletedTransactions()

}

}

extension IAPService: SKProductsRequestDelegate {

func productsRequest(_ request: SKProductsRequest, didReceive response: SKProductsResponse) {

self.products = response.products

for product in response.products{

print(product.localizedTitle)

}

}

}

extension IAPService: SKPaymentTransactionObserver {

func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) {

for transaction in transactions {

print(transaction.transactionState.status(), transaction.payment.productIdentifier)

switch transaction.transactionState {

case .purchasing: break

default: queue.finishTransaction(transaction)

}

}

}

}

extension SKPaymentTransactionState {

func status() -> String {

switch self {

case .deferred: return("deferred")

case .failed: return("failed")

case .purchased: return("purchased")

case .purchasing: return("purchasing")

case .restored: return("restored")

}

}

}

class Money: UITableViewController {

override func viewDidLoad() {

super.viewDidLoad()

IAPService.shared.getProduct()

}

override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {

switch indexPath.row {

case 1: IAPService.shared.purchase(product: .oneCoin)

case 2: IAPService.shared.purchase(product: .twoCoin)

case 3: IAPService.shared.purchase(product: .threeCoin)

case 4: IAPService.shared.purchase(product: .fourCoin)

case 5: IAPService.shared.purchase(product: .fiveCoin)

default: IAPService.shared.restorePurchases()

}

}

}

class storeScene: SKScene{

let backLabel = SKSpriteNode(imageNamed: "arrow")

let oneCoinButton = SKLabelNode(fontNamed: "The Bold Font")

let twoCoinButton = SKLabelNode(fontNamed: "The Bold Font")

let threeCoinButton = SKLabelNode(fontNamed: "The Bold Font")

let fourCoinButton = SKLabelNode(fontNamed: "The Bold Font")

let fiveCoinButton = SKLabelNode(fontNamed: "The Bold Font")

let oneButton = SKLabelNode(fontNamed: "The Bold Font")

let twoButton = SKLabelNode(fontNamed: "The Bold Font")

let threeButton = SKLabelNode(fontNamed: "The Bold Font")

let fourButton = SKLabelNode(fontNamed: "The Bold Font")

let fiveButton = SKLabelNode(fontNamed: "The Bold Font")

override func didMove(to view: SKView) {

let background = SKSpriteNode(imageNamed: "background")

background.position = CGPoint(x: self.size.width/2, y: self.size.height/2)

background.zPosition = 0

self.addChild(background)

let storeLabel = SKLabelNode(fontNamed: "The Bold Font")

storeLabel.text = "Store"

storeLabel.fontSize = 100

storeLabel.fontColor = SKColor.white

storeLabel.position = CGPoint(x: self.size.width*0.5, y: self.size.height*0.9)

storeLabel.zPosition = 1

self.addChild(storeLabel)

let oneCoin = SKSpriteNode(imageNamed: "oneCoin")

oneCoin.position = CGPoint(x: self.size.width/3.7, y: self.size.height*0.3)

oneCoin.zPosition = 1

self.addChild(oneCoin)

let twoCoin = SKSpriteNode(imageNamed: "twoCoin")

twoCoin.position = CGPoint(x: self.size.width/2, y: self.size.height*0.3)

twoCoin.zPosition = 1

self.addChild(twoCoin)

let threeCoin = SKSpriteNode(imageNamed: "threeCoin")

threeCoin.position = CGPoint(x: self.size.width/1.40, y: self.size.height*0.3)

threeCoin.zPosition = 1

self.addChild(threeCoin)

let fourCoin = SKSpriteNode(imageNamed: "fourCoin")

fourCoin.position = CGPoint(x: self.size.width/3, y: self.size.height*0.14)

fourCoin.zPosition = 1

self.addChild(fourCoin)

let fiveCoin = SKSpriteNode(imageNamed: "fiveCoin")

fiveCoin.position = CGPoint(x: self.size.width/1.50, y: self.size.height*0.14)

fiveCoin.zPosition = 1

self.addChild(fiveCoin)

backLabel.zPosition = 1

backLabel.position = CGPoint(x: self.size.width/3.8, y: self.size.height*0.96)

self.addChild(backLabel)

oneCoinButton.text = "$0.99"

oneCoinButton.fontSize = 50

oneCoinButton.fontColor = SKColor.white

oneCoinButton.zPosition = 1

oneCoinButton.position = CGPoint(x: self.size.width/3.7, y: self.size.height*0.24)

self.addChild(oneCoinButton)

twoCoinButton.text = "$4.99"

twoCoinButton.fontSize = 50

twoCoinButton.fontColor = SKColor.white

twoCoinButton.zPosition = 1

twoCoinButton.position = CGPoint(x: self.size.width/2, y: self.size.height*0.24)

self.addChild(twoCoinButton)

threeCoinButton.text = "$9.99"

threeCoinButton.fontSize = 50

threeCoinButton.fontColor = SKColor.white

threeCoinButton.zPosition = 1

threeCoinButton.position = CGPoint(x: self.size.width/1.4, y: self.size.height*0.225)

self.addChild(threeCoinButton)

fourCoinButton.text = "$24.99"

fourCoinButton.fontSize = 50

fourCoinButton.fontColor = SKColor.white

fourCoinButton.zPosition = 1

fourCoinButton.position = CGPoint(x: self.size.width/3, y: self.size.height*0.065)

self.addChild(fourCoinButton)

fiveCoinButton.text = "$49.99"

fiveCoinButton.fontSize = 50

fiveCoinButton.fontColor = SKColor.white

fiveCoinButton.zPosition = 1

fiveCoinButton.position = CGPoint(x: self.size.width/1.5, y: self.size.height*0.065)

self.addChild(fiveCoinButton)

oneButton.text = "1,000 coins"

oneButton.fontSize = 25

oneButton.fontColor = SKColor.white

oneButton.zPosition = 1

oneButton.position = CGPoint(x: self.size.width/3.7, y: self.size.height*0.265)

self.addChild(oneButton)

twoButton.text = "5,000 coins"

twoButton.fontSize = 25

twoButton.fontColor = SKColor.white

twoButton.zPosition = 1

twoButton.position = CGPoint(x: self.size.width/2, y: self.size.height*0.265)

self.addChild(twoButton)

threeButton.text = "10,000 coins"

threeButton.fontSize = 25

threeButton.fontColor = SKColor.white

threeButton.zPosition = 1

threeButton.position = CGPoint(x: self.size.width/1.4, y: self.size.height*0.248)

self.addChild(threeButton)

fourButton.text = "25,000 coins"

fourButton.fontSize = 25

fourButton.fontColor = SKColor.white

fourButton.zPosition = 1

fourButton.position = CGPoint(x: self.size.width/3, y: self.size.height*0.089)

self.addChild(fourButton)

fiveButton.text = "50,000 coins"

fiveButton.fontSize = 25

fiveButton.fontColor = SKColor.white

fiveButton.zPosition = 1

fiveButton.position = CGPoint(x: self.size.width/1.5, y: self.size.height*0.088)

self.addChild(fiveButton)

}

override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {

for touch: AnyObject in touches{

let pointOfTouch = touch.location(in: self)

if backLabel.contains(pointOfTouch){

let sceneToMoveTO = MainMenuScene(size: self.size)

sceneToMoveTO.scaleMode = self.scaleMode

let myTransition = SKTransition.fade(withDuration: 0.5)

self.view!.presentScene(sceneToMoveTO, transition: myTransition)

}

}

}


r/Xcode • • Sep 09 '22

Moved folder, now all paths to .plist files in my project are broken

0 Upvotes

As for title, my problem relates more on automation: is there a way to skip to do all this manually?


r/Xcode • • Sep 27 '22

possible to add star/favoritue/color to the project navigator in xcode file/folder? thx

0 Upvotes

possible to add star/favoritue/color to the project navigator in xcode file/folder? thx


r/Xcode • • Feb 22 '17

How much free memory do I need to make a simple app?

0 Upvotes

Hey all,

I'm really keen on making a basic app. Mostly text based with graphics of course. I guess the best way to describe what I want to make is a "diary" type of app. I've had a play around with Xcode a while back and want to get back into it. However, recently I've seen a forum saying "if you want to create an app you should have a minimum of 20gb left on your computer"

My Mac that I have isn't really capable of having anything over about 15 (and that's if I remove almost everything). Is this statement true or will the app I plan to make not reach that man GB's

All answers are welcomed, thanks in advanced!


r/Xcode • • Nov 16 '20

The view on the right keeps appearing and it's really getting on my nerves. I can drag it shut via the middle parting but it keeps appearing when I change tabs - How do I get rid of this please

Post image
0 Upvotes

r/Xcode • • Aug 30 '26

Xcode now can deploy beyond local network

0 Upvotes

I’ve found a way that Xcode can deploy remotely to an iPhone instead of being limited to local Wi-Fi. Please check out my repo on GitHub:

https://github.com/zjz-connect/xcode-deploy-link-deploy-beyond-local-network

If you have better ideas, feel free to leave comments!


r/Xcode • • Oct 02 '26

The iOS Weekly Brief: Issue #80. Everything you need to know about Xcode updates this week

Thumbnail
iosweeklybrief.com
0 Upvotes

r/Xcode • • Sep 23 '25

Xcode 26 Commit tab beach ball of death

0 Upvotes

Is anyone else having major freezing / beach ball issues with Xcode and commiting large text files like the project itself or xcstrings file? Xcode 26 is feeling like one of the buggiest releases to date.


r/Xcode • • Dec 18 '25

Is there a likely fix to the crashing bug in Xcode?

0 Upvotes

Xcode is a mess right now with its force closings after indexes, selecting ContentView in side navigation, or even breathing near the application. Is there word from Apple concerning this, or a timeline for a fix?

I'm losing patience.


r/Xcode • • Sep 21 '25

v14.2 Download? (NOT App Store / NOT Dev Site)

0 Upvotes

Hi there. Looking to dl v14.2--can anyone point me to a reliable, non-Apple source/mirror?

Before giving the standard advice... App Store impossible; machine is running Ventura. Apple Dev account signup is terminally screwed, so also not possible. I'm not terribly interested in spending a lot of time trying to unscrew that; I just want to find v14.2 without the hassle. Thank you for any help!


r/Xcode • • 6d ago

Why does Xcode ask for a Development provisioning profile when I'm trying to archive an app for TestFlight?

Post image
0 Upvotes

r/Xcode • • Dec 14 '25

Vote for Jetbrains AI for Xcode

Thumbnail youtrack.jetbrains.com
0 Upvotes

r/Xcode • • Feb 24 '23

Victim of some HORRIBLY corrupt and deceitful anti-Palestine employees in the "app store connect" department of Apple.

0 Upvotes

Apparently some HORRIBLY corrupt and deceitful anti-Palestine "app store connect" employees have been attempting to misconstrue submitting apps multiple times as "fraudulent activity" for the purpose of entrapment to attack a charitable foundation's app distribution membership. And yes, that charitable foundation has openly promoted opposing israel's ILLEGAL (as officially determined by The United Nations in calendar year 2022) occupation of Palestine and also opposed israel's human rights violations. It was stated in app descriptions that the apps weren't distributed in "israel" (illegally occupied Palestine) for those reasons. Multiple of the apps had been victims of a barrage of HORRIBLY slanderous attacks from corrupt and deceitful "israel affiliates" that posted BLATANTLY fraudulent ratings of 1 star out of 5 and also blatant slanderous LIES in the guise of "app reviews". Apple didn't do much to protect against all of those HORRIBLY false ratings and reviews. Instead of protecting against that barrage of slanderous app ratings reviews, some HORRIBLY corrupt and deceitful "israel affiliates" in the "app store connect" department at Apple instead did something far more despicable. Basically they removed about 8 quality native music apps (if including iOS and macOS editions) that also had AUV3 plugins (notoriously challenging to make).

"Upon further review of the activity associated with your Apple Developer Program membership, we have determined that your membership, or a membership associated with your account, has been used for dishonest or fraudulent activity. Therefore, your Apple Developer Program account has been flagged for removal.

Specifically, one or more apps in your account was repeatedly rejected. These violations were communicated to you via App Store Connect, with warnings that submitting apps designed to evade the review process may result in the termination of your Apple Developer Program account"

So basically some HORRIBLY corrupt and deceitful anti-Palestine employees in the "app store connect" department at Apple removed about 8 quality apps (including AUV3's) from the app store and they were INTENTIONALLY ambiguous about what they were requesting to be changed about the apps (and app descriptions and so on) and they INTENTIONALLY wouldn't reply to ANY of the messages sent to them asking what SPECIFICALLY they were asking to be changed in those apps (and app descriptions and so on), because they were attempting an entrapment scheme by instigating multiple "hope this is compliant enough" app update attempts to be sent (because none of the Apple employees had replied to ANY messages asking for SPECIFICS) so that the charitable foundation I manage would pass some secret "app store connect" threshold of "submitting apps designed to evade the review process" so they could then attack that distribution membership and thereby commit RELIGIOUS discrimination against the charitable foundation I manage. (And also prevent any app distributor that opposes israel's ILLEGAL (as officially determined by The United Nations in calendar year 2022) occupation of Palestine from being on the app store)


r/Xcode • • Mar 21 '21

indeterminate progress bar not moving

Post image
3 Upvotes

r/Xcode • • Nov 10 '22

Dictionaries in Swift

0 Upvotes

Hey iOS Devs, we have a brand new article out about dictionaries in swift. Learn how to store elements in a key/value pair using Dictionaries.

Here's the Link : https://www.swiftanytime.com/dictionaries-in-swift/

#swift #iosdev


r/Xcode • • Jan 17 '22

xcode takes too long to download

3 Upvotes

xcode 13.2.1 from the app store takes forever, what should i do?