Is there a way to get xcode code from the App that was already in the store? have lost the original file on my MAC.

So I upgraded my MAC and lost my xcode directory strucuture along with the code.. is there a way to get the code back from the binary that's uploaded in to the store? BTW: currently don't have active developer membership.. But when I login to my account, I do see the app there.

MacBook Pro 13″, 10.15

Posted on Aug 29, 2023 1:30 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 29, 2023 3:18 PM

"is there a way to get the code back from the binary that's uploaded in to the store?"


No, the binary does not have the source code.


You should place your projects under version control so you don't lose your code. The following free book shows you how to use version control with Xcode:


Swift Dev Journal’s Guide to Version Control


3 replies
Question marked as Top-ranking reply

Aug 29, 2023 3:18 PM in response to babuajay

"is there a way to get the code back from the binary that's uploaded in to the store?"


No, the binary does not have the source code.


You should place your projects under version control so you don't lose your code. The following free book shows you how to use version control with Xcode:


Swift Dev Journal’s Guide to Version Control


Aug 29, 2023 3:09 PM in response to babuajay

Xcode support tends to be fairly tied to macOS versions.


Xcode from the Mac App Store does not require membership in the developer program, but your old macOS version (10.15) means you'll need an Xcode version older than what is usually available via the app store, if your Mac can't get to macOS 13.


If the Mac App Store is where you got it, check your Previous Purchases, and see if you can download Xcode there.


You might get access to downloads of older Xcode versions with the free developer tier developer program enrollment, but I have no way to check that.


According to the XcodeReleases website, you're looking for Xcode 12.4, if you're limited to macOS 10.15 on that Mac. There are links to Apple downloads included at that XcodeReleases website, but I don't know if you'll have access to those downloads.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Is there a way to get xcode code from the App that was already in the store? have lost the original file on my MAC.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.